|
|
|
|
@ -53,7 +53,7 @@ code::FluidNMFMorph:: relies on preexisting NMF analyses to generate variations
|
|
|
|
|
code::
|
|
|
|
|
//read some audio
|
|
|
|
|
(
|
|
|
|
|
~audiopath = File.realpath(FluidMelBands.class.filenameSymbol).dirname;
|
|
|
|
|
~audiopath = File.realpath(FluidNMFMorph.class.filenameSymbol).dirname;
|
|
|
|
|
~src1 = Buffer.readChannel(s,~audiopath +/+ "../AudioFiles/Nicol-LoopE-M.wav",channels:[0]); //some drums
|
|
|
|
|
~src2 = Buffer.readChannel(s,~audiopath +/+ "../AudioFiles/Tremblay-SA-UprightPianoPedalWide.wav",channels:[0]);//some piano
|
|
|
|
|
|
|
|
|
|
@ -91,4 +91,4 @@ code::
|
|
|
|
|
//Swap source and target
|
|
|
|
|
~synth.set(\source,~src2Bases,\target,~src1Bases, \autoassign,0);
|
|
|
|
|
~synth.set(\autoassign,1);
|
|
|
|
|
::
|
|
|
|
|
::
|
|
|
|
|
|