1. dan mackinlay
  2. sc_learning_diary

Source

sc_learning_diary / phenosynth.scd

(
Sample.dir = "/Users/dan/Library/Application Support/Ableton/Library/Samples/";
~sample = Sample.new("tests/cariboutesque.aif");

s=Server.default;
~globalOuts = Bus.new(\audio, 0, 2);
~control = PSListenSynthController.new(s, ~globalOuts);
~control.playGroup;
~control.server;
~control.outBus;
~ind = PSSynthDefPhenome.newRandom;
~control.playIndividual(~ind);
~ind.identityHash;
~ind.chromosome;
~control.all.do({|a,b,c| [a,b,c].postln;});
)


/* TODO:

* provide a way to unwarp as well as warp chromosomes, and look up values of either.
* support multi-channel listeners (In.ar is hardcoded to 1 channel atm) 

*/