Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want to try these chord progressions in your browser, check out:

http://wildsparx.com/rhythatom/

Coincidentally I just finished it. Source is here:

https://github.com/wildsparx/rhythatom

In theory it should run in any Chrome/Chromium browser, but I've received several reports of rhythatom failing to play. Would appreciate any help or ideas.

If you look at: https://peterburk.github.io/chordProgressions/ChordProgressi...

There doesn't seem to be any indication of major/minor. One way to interpret that is "always use the diatonic." Which means only use notes in the key, which means chords (1,4,5) are major while (2,3,6) are minor. However songs can have non-diatonic chords.

If you look at Rhyathatom, it defaults to the well-worn 1645 progression - the 6 is explicitly minor, which makes it diatonic. Try making the 6 major and you get a different animal - kind of sinister! That's a non-diatonic chord.

Maybe the author accounted for this elsewhere.



Rhytmatom is really cool! If I knew about it a month ago, I'd probably have used your source code instead of rewriting everything myself.

I like that I can choose the number of beats, unlike Jake Albaugh's arpeggiator (although that has some other interesting features).

https://codepen.io/jakealbaugh/full/qNrZyw


Nice work! Am I crazy or are the pulldowns for accidentals not doing anything?

> There doesn't seem to be any indication of major/minor.

There's a line in there about capital/lowercase of roman numerals not being important, by which I hope the author meant out of scope of the article. So I think they were explicitly just enumerating the chords of the diatonic scale.


Good catch. Will fix the accidentals.


I got this error the first time but worked fine on subsequent refreshes:

  An AudioContext in a cross origin iframe must be created or resumed from a user gesture to enable audio output.
  
  G.snd.init @ (index):98
  init @ (index):464


Thanks for the report; don't know why that happened; no iframes involved.


Sweet! I like that it only plays if the tab is active.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: