Better HN
topnewbestaskshowjobs
Log inSign up

clumsycomputer

22 karma · joined Aug 6, 2022 (4y ago) · 39 submissions

https://clumsycomputer.com
Submissions

1.

Pl-archive: an extensive catalog of the Pretty Lights musical project(prettylights.stews.io ↗)

1 points · by clumsycomputer · 3y ago · discuss

comment 3y ago · link · parent

Thank you. I've opted to forego data editing in the app for now, but a path exists to make that a reality. My priority is to allow people to experiment and build on the foundations I've laid here however they see fit. One benefit of the current API is that any data source can easily be integrated.

3.

Show HN: Power tools for publishing quality curations to the web

2 points · by clumsycomputer · 3y ago · 2 comments

comment 3y ago · link · parent

ive ejected out of the next ecosystem and work in preact now. some of the optimizations being adopted across react and next had me worried about insurmountable lock-in! with that said vercel's github integration is a beautiful thing that i will continue to use. the automated preview deployments are just too clutch

5.

Ask HN: p(react): Classical .vs Functional? or wrong question?

1 points · by clumsycomputer · 3y ago · discuss

comment 3y ago · link · parent

love these type of optimizations... blurhash seems to be giving me more pleasant results that thumbhash on the few examples i ran through it! thumbhash seems to over emphasize/crystalize parts of the image and results in a thumbnail that diverges from the source in unexpected ways.

either way this is awesome, and thanks for sharing

comment 3y ago · link · parent

this would be fuckin magical

comment 3y ago · link · parent

Looking for product manager / dev role at small startup

typescript react ui ux

Colorado

https://clumsycomputer.com/software/resume

comment 3y ago · link · parent

unfortunately don’t have permission to download, but love the style very much! hopefully i’ll remember to try it out in the future when i get a chance

comment 3y ago · link · parent

for those interested in a typescript / react alternative checkout https://github.com/clumsycomputer/clumsy-graphics

comment 3y ago · link · parent

howdy hn,

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

12.

clumsy-math: a library / system for generating and analyzing discrete rhythms(github.com ↗)

1 points · by clumsycomputer · 3y ago · 1 comment

comment 3y ago · link · parent

https://www.clumsycomputer.com/software/resume

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 companies

my 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

comment 3y ago · link · parent

“A Day in the Park” is beautiful

comment 3y ago · link · parent

i would love to add this type of functionality to my own music collection over at https://www.clumsycomputer.com/curations/music

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

comment 4y ago · link · parent

howdy y'all,

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

17.

Show HN: Simple library for generating .wav file data in TypeScript(github.com ↗)

4 points · by clumsycomputer · 4y ago · 1 comment

comment 4y ago · link · parent

i love charts like these

comment 4y ago · link · parent

typescript, my favorite piece of tech!! thank you typescript team :)

comment 4y ago · link · parent

my pleasure, feel free to reach out with any questions

comment 4y ago · link · parent

not really an FFT approach, but you can take a euclidean rhythm or really any discrete rhythm for that matter and compute its slot weights. checkout https://github.com/clumsycomputer/clumsy-math#rhythm-slot-we... for more details.

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

comment 4y ago · link · parent

this is great

comment 4y ago · link · parent

ive been fascinated by euclidean rhythms for the past 10 years or so, and while playing with the pattern ended up coming across a more general flexible abstraction built upon euclidean rhythms that can generate every rhythm, which ive laid out over at https://github.com/clumsycomputer/clumsy-math#recursive-eucl....

euclidean rhythms are also great for generating / selecting musical scales and chords among other things

comment 4y ago · link · parent

having worked with engineers, can confirm not an engineer yet the titles say differently... indirection sucks most of the time

comment 4y ago · link · parent

that sounds like something i haven't tried and may yield results

gracias

comment 4y ago · link · parent

its at least cubic, but the loop here is generalized farther where the sub circle can be phase. so i don't know???

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

comment 4y ago · link · parent

thank you for the pointers

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

comment 4y ago · link · parent

awesome thanks for the recommendation

my only worry about curve fitting is that the recommended function won't generalize to other loop configurations

comment 4y ago · link · parent

hi gus

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

comment 4y ago · link · parent

i have an implementation that does something along those lines, which suffices for graphics but doesn't work well for audio applications. think 48 000 samples per second.

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

12