I’m digging through the archives as we speak, but there’s not a ton and I wonder if anyone knows of solid tools for my particular use case.
We’re going to be grabbing some time-series data, and I’m not yet sure what the range will be, but here’s my basic plan:
- Scale the range of data to a pleasant range of frequencies.
- Create some way of defining chords that corresponds to notes over that entire scale (could be done programmatically, using a root note and frequency ratios). Maybe an array?
- Quantize each data point to the nearest frequency in the list for the current chord.
- Change chords over time so that it’s musical
I’m hoping to end up with basically an arpeggiator controlled by these data points. It would be approximate – the same data point could yield different notes, depending on the current chord – but you’d get the general sense of the numbers as they fluctuate over time.
Any hints? Libraries, code examples? I’m pretty new to Sonic Pi, so whatever you can give me, I’ll gobble up! Thank you!