This patch serves as a basic wavetable synth, and it introduces a framework for using .scl tuning files to use the intonation system of your choice (12 tone scales only at the moment). IMPORTANT: this will not run on an Organelle using PD version 0.49. It needs the file management functionality added in later versions in order to access the .scl files. Read this forum post for instructions on how to upgrade your organelle M/S to PD 0.54: https://forum.critterandguitari.com/t/update-to-organelles-version-of-pure-data/9821/18
I don’t know if this will work on an OG S MKii, as I don’t have one, so someone please let me know if it does.
Basic layout:
The synth is a basic interpolating wavetable reader with one envelope for a bandpass filter, an ADSR envelope for amplitude, a stereo flanger, and the option to select a random waveform within the current table every time a new note is played. You can swap in your own wavetables, provided they contain 64 single cycle waves. Just put them in the waves folder and follow the naming convention (at some point I will update this so you don’t have to change the name). I have used midi CCs 30 for changing wavetables and 31 for changing waves if anyone wants to automate those with an external LFO.
The main reason I’m uploading this is to update my system for using alternate tunings. No need to put ratios in a text file anymore – just add any 12 tone .scl file to the scales folder. The patch will update the number of files automatically. More exciting is that there is no need to change the file name to the usual organelle convention of just numbers – the patch will create a text file containing the names of all the files and the user can sort through these using knob 1 on the Tunings page. Simply turn the knob all the way to the left to bypass and stick to good old equal temperament.
Some thanks: Wakefield & Taylor’s Generating Sound and Organizing Time for the wavetable architecture, @samesimilar for the flanger and gen~ external wrapper, @baptiste for page/preset architecture, the ELSE library for the SCALA object, and more I’m probably forgetting right now.
Useful links for tuning stuff:
A collection of 21-tone rational scales can be found here, this includes info on many of the scales I have included:
https://en.xen.wiki/w/Gallery_of_12-tone_just_intonation_scales
This is just a directory for the Scala collection of .scl files available for download – it is a useful way to browse through them, since the file names are often somewhat opaque:
https://www.huygens-fokker.org/docs/scalesdir.txt
