colorchord
colorchord copied to clipboard
More than one octave
I'd like to modify colorchord to cover more than 1 octave. As I understand it, it repeats itself for each octave right now. I'd like to change it so that is covers something like three octaves without repeating itself.
From the code it looks like I need something like FIXBPERO=72 and MAXNOTES=36 and would certainly have to replace ECCtoHEX to implement my own note to color translation.
Any thoughts on this ?
Though I believe this kind of defeats the point of ColorChord, I THINK the only change you would need to...
For CC2: make is to modify notefinder.c:230 That is where it folds the octaves. For CCEmbedded: embeddednf.c:151.
It would be a little jankey, since the term "octave" is confusing, but, should work?
Thanks Charles,
I'll start modding, I'll see where I get :-).
One big note: I highly recommend messing with the desktop version first, then porting your changes to the embedded version. It really is a lot easier (printf,etc.) to debug the desktop version.
Had some success doing a similar mod - pretty messy & ugly code changes at the moment, but can upload if it's of use to anyone - to light up a single LED per detected semitone across 4 octaves. for application on a harp with 27 strings (110-1397Hz).
Maybe I misunderstood. It's not until the DFT folds that the octave information is ridded. Without any modifications hardly at all you could get the data from all the octaves. The problem it looks like @markusb was running into was that he wanted to change the fold-size.