Let's see what we can do with single board computers (SBC) and DiWhy audio. It's of course a very broad topic.
This time I begin building a modular synthesizer sequencer/control voltage logger based on a Raspberry PI running Python.here.
- Read a PNG file for data input (I am not sure there is another sequencer that does this?).
- Convert the PNG file to a B&W image
- Turn the resulting data into a numpy structure.
- Flip the array its side (270 degrees).
- Y becomes (ultimately) a CV output.
- Create a python list of the Y-data along w/ the Numpy data.
- (To do down the road: Create a bar graph of the output using the amazing matplotlib, which could perhaps be displayed on the sequencer's OLED.)
- Flip the output array to x degrees (to say flip the sequencer's output values, something I always want to be able to do with a traditional sequencer--and easy with python/numpy right?)
- Reduce size of PNG to say 200 x something before processing? Not sure, and not sure if Python can do that, but I figure it probably can--Photoshop can anyway.
- Capture 16x pot analog values to a numpy data structure (and create a PNG image in the process?) and then use that to control the sequencer's output values. Adding or otherwise manipulating data in a numpy structure is easy (good vids for that are here and here) so why not? The pots could augment/change the PNG logged data and/or be used for 16 values at input in the mod synth sequencer traditional manner. Still thinking about this.
- Save some of the data set (perhaps all Y values?) into a sqllite DB. That way manners of sequencer data can be easily stored and retrieved....I can see sqllite being really useful for a ton of stuff we do in the audioDIY world.
- Upload PNGs to the SBC using the web--so make the sequencer an "IOT" device--you can load new data into the sequencer without having to touch its front panel.