laopunk / chordPlayer

WebAudio musical audio chord player
MIT License
5 stars 1 forks source link

Added ability to arbitary note array, additional chords, and explicitly/implicitly determine octaves #4

Closed jag82 closed 2 years ago

jag82 commented 7 years ago

There appear to be many changes, but it's mostly packaging. The only real changes are to src/chordPlayer.js and in there, mostly to one function.

It's now possible to call things like:

//plays Ab4, C5, E5 (order matters!) cp.buildChordPlayer(['Ab', 'C', 'E']).play()

//plays explicitly declared octaves cp.buildChordPlayer(['Ab3', 'C3', 'E2']).play()

//gets parsed to Cmaj cp.buildChordPlayer('B#maj').play

//plays augmented 7th chord cp.buildChordPlayer('Caug7').play()

jag82 commented 2 years ago

Closing because it's stale.