clumsycomputer
Show HN: Power tools for publishing quality curations to the web
Howdy Ho HN!I've been working diligently to provide y'all with the tools you need to share your world the way it deserves!To begin your transmission, head over to https://github.com/stews-io/toolkit#readmeTo get inspired check out the examples below:https://clumsycomputer.stews.iohttps://prettylights.stews.iohttps://bakedgoods.stews.io
Ask HN: p(react): Classical .vs Functional? or wrong question?
i gotta say i've got implementing react-style functional components down to a science with a sprinkle of art and am just so pleased with how formulaic it feels when going about building :) with that said there is still room for improvement and wouldn't mine having some conversation around different paths forwardi gotta say that i've got implementing react-style functional components down to a...
either way this is awesome, and thanks for sharing
typescript react ui ux
Colorado
laid out in the link above is a number of concepts dealing with the generation and analysis of discrete rhythms.
there is also a reference implementation of these concepts written in typescript
this has been a labor of love and curiosity, which started out with the goal of helping generate algorithmic art. along the way it has become an art in itself, and believe there are many applications outside of art where this can be applied. i most interested to hear from others how this might be used within cryptography and data encoding
if anyone has the the time to look through these concepts and chat, id be grateful
clumsy-math: a library / system for generating and analyzing discrete rhythms
https://github.com/clumsycomputer
location: colorado
remote: yes
relocate: yes
i'm a balanced frontend developer who has worked on a variety of products across several companiesmy free time is focused on developing, maintaining, and sharing open-source software that assists developers in their creative pursuits. you can checkout the packages i've released at https://www.clumsycomputer.com/software/packages
i'm happiest when collaborating with others, and really enjoy the process of iterating on a problem until an effective/understandable solution is realized
im not really sure how feasible that would be though since its essentially just a a bunch of links sourced from a variety of music services, the most prominent being youtube
perhaps it would be possible to extract the audio data from the video stream, compute the key in a web worker, and then queue up a transition
anyhow this is tight
bravo
was looking for a simple way to explore and play with signal generation, and think that creating wav files is the most straightforward and robust way to go about doing just that. in order to scratch that itch i've implemented a function that takes a sample rate and channels data (mono or stereo), and returns an ArrayBuffer of the corresponding structured wav file.
implementing this package was a quick and fun process, which gave me the opportunity to learn about packing bits in the browser. whenever time allows in the future (some amount of years, hopefully not decades), i look forward to implementing a similar function for png files
Show HN: Simple library for generating .wav file data in TypeScript
you can use a rhythm's slot weights to set a wave's amplitude, phase, or frequency. just need to decide on some continuous <=> discrete mapping
euclidean rhythms are also great for generating / selecting musical scales and chords among other things
gracias
linear search in angle i believe, though depending on the use case i hold onto the index of the last matched point making the next search O(1)
thanks for introducing me to the secant method. at the very least it will help me think about it differently
i don't have much formal math training, but have used scipy a handful to times successfully for other problems. optimize is new to me, but ill throw some things into and see what comes out
my only worry about curve fitting is that the recommended function won't generalize to other loop configurations
the animation is something i constructed in order to help facilitate discussion and get help :)
i've outlined the computations more detail in a reply below
by constant time i mean O(1)
computing the white dot currently requires me to sweep the already computed loop points which isn't a big deal in a lot of use cases, but with audio its a show stopper
the white dot is also the key to a much more complex computation that im using
the computation i've outlined in the animation is also just a small but very important piece of a much more complex computation
this white dot is my bottle neck