platinumears ·
This allows each note to be retuned, for historic / non-western temperaments.
http://www.platinumears.com/MicrotonalTuner.zip
The base tuning can be either equal tempered or Pythagorean, and the units of detune can be cents, syntonic commas, or pythagorean commas.
It strikes me that this arrangement is less efficient than it could be however: the bit in the code component only really needs to run once for each change of pitch, but unless I am mistaken its currently running all the time.. is there any way to get the code to run only when the input changes?
polyin in; monoin C; monoin Cs; monoin D; monoin Ds; monoin E; monoin F; monoin Fs; monoin G; monoin Gs; monoin A; monoin As; monoin B; polyout offset; float tun[12];
float pitch;
pitch=(in>=0)&in+(in<0)&(12+in);
tun[0]=C;tun[1]=Cs;tun[2]=D;tun[3]=Ds;tun[4]=E;tun[5]=F;tun[6]=Fs;tun[7]=G;tun[8]=Gs;tun[9]=A;tun[10]=As;tun[11]=B;
offset=tun[pitch];
Alternatively, any plans to implement polyphonic floats? 😉