nix
Owen Green 5 years ago
commit 34b224c713

@ -61,7 +61,7 @@ a.reference_(Array.fill(13,{0.5})); //make a center line to show 0
//run the window updating routine. //run the window updating routine.
( (
~winRange = 200; ~winRange = 20;
r = Routine { r = Routine {
{ {
@ -89,7 +89,7 @@ x = {arg type = 0;
// change the wave types, observe the amplitude invariance of the descriptors, apart from the leftmost coefficient // change the wave types, observe the amplitude invariance of the descriptors, apart from the leftmost coefficient
x.set(\type, 1) x.set(\type, 1)
~winRange = 5; //adjust the range above and below 0 to zoom in or out on the MFCC ~winRange = 40; //adjust the range above and below 0 to zoom in or out on the MFCC
x.set(\type, 2) x.set(\type, 2)
x.set(\type, 0) x.set(\type, 0)
// free this source // free this source

@ -53,7 +53,7 @@ code::FluidNMFMorph:: relies on preexisting NMF analyses to generate variations
code:: code::
//read some audio //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 ~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 ~src2 = Buffer.readChannel(s,~audiopath +/+ "../AudioFiles/Tremblay-SA-UprightPianoPedalWide.wav",channels:[0]);//some piano
@ -91,4 +91,4 @@ code::
//Swap source and target //Swap source and target
~synth.set(\source,~src2Bases,\target,~src1Bases, \autoassign,0); ~synth.set(\source,~src2Bases,\target,~src1Bases, \autoassign,0);
~synth.set(\autoassign,1); ~synth.set(\autoassign,1);
:: ::

Loading…
Cancel
Save