DodgyJammers / jammypiece

0 stars 0 forks source link

Do automatic key detection #13

Open arr28 opened 9 years ago

arr28 commented 9 years ago

Definitely not required, but if we end up with time, it could easily fit into a demo.

I imagine it's a case of building up a probability that we're in each key given the notes that have been played so far. (If we frequently get many of the notes that fit in the scale and few that don't, that's good evidence. Also, the opening note should probably carry more weight. Likely to be tonic or 5th.)

rgefryer commented 9 years ago

An interesting problem, but I'm not sure how it would work musically. I'd like to have some harmonic structure in place from the start; having no accompaniment, or a shapeless attempt to fit with whatever the soloist threw at it, wouldn't be musically satisfying.

arr28 commented 9 years ago

I quite like the idea of jammypiece being able to listen for a few bars and then "join in", automatically picking up the key and tempo of the soloist.