I don’t really use samplers. I mean, I use big sample libraries sure. But I’ve not loaded samples into something labeled a sampler in decades. And so the exercise was somewhat freeing, because I decided to keep not loading samples into something labeled a sampler.
So I wrote a bunch of python code which (basically) figured out the fundamental frequency of every 512 sample block of almost every one of the dischoirs (a few really non-pitched ones I excluded). This gave me a complete frequency map where I could pull the samples i wanted by frequency, pick them at random, etc. I did a bit of analytics and rubber banding to make some re-tuned copies to fill in some holes in the frequency space too. The code is all available in my GitHub, although it’s an iPython notebook and as such, a bit of mess. But it makes music!
But In effect, it’s an instrument. When you “play” c4 for some time period, I randomly hunt through the set of samples on a 512-sample block level to find a sample which is roughly 261.63hz, then expand around it to make a long enough sample, then send that out to the stream. Sometimes the frequency detection is wrong; sometimes the note drifts during duration. So it goes!
The bit of music I intended to make was the first prelude from the Well Tempered Clavier, and I actually worked that out and it sounded pretty good. I ended up intersecting with that music several times this week. I won’t bore you with that here, but if that sort of thing interests you I have a tinyletter at tinyletter.com/baconpaul
But then I heard the sad news that Neil Peart had died. That changed my plan some late on Friday night.
And so I’d like to share with you “The Well Tempered Dys-Qyr-Z (disquiet0419)”