references to pitch amended

nix
Pierre Alexandre Tremblay 5 years ago
parent 2d17f4f7fa
commit 2a6e5330b7

@ -11,7 +11,7 @@
~flatbuf = 4.collect{Buffer.new}; ~flatbuf = 4.collect{Buffer.new};
// here we instantiate a loader as per example 0 // here we instantiate a loader as per example 0
~loader = FluidLoadFolder(File.realpath(FluidBufPitch.class.filenameSymbol).dirname.withTrailingSlash ++ "../AudioFiles/"); ~loader = FluidLoadFolder(File.realpath(FluidBufMFCC.class.filenameSymbol).dirname.withTrailingSlash ++ "../AudioFiles/");
// here we instantiate a further slicing step as per example 0 // here we instantiate a further slicing step as per example 0
~slicer = FluidSliceCorpus({ |src,start,num,dest| ~slicer = FluidSliceCorpus({ |src,start,num,dest|

@ -1,5 +1,5 @@
// load a source folder // load a source folder
~loader = FluidLoadFolder(File.realpath(FluidBufPitch.class.filenameSymbol).dirname.withTrailingSlash ++ "../AudioFiles/"); ~loader = FluidLoadFolder(File.realpath(FluidBufMFCC.class.filenameSymbol).dirname.withTrailingSlash ++ "../AudioFiles/");
~loader.play; ~loader.play;
//slightly oversegment with novelty //slightly oversegment with novelty
@ -227,4 +227,4 @@ if (f.isOpen , {
) )
(then open the time-stamped reaper file clusterdslice in the folder tmp) (then open the time-stamped reaper file clusterdslice in the folder tmp)
"open /tmp".unixCmd "open /tmp".unixCmd

@ -62,7 +62,7 @@ code::
//Preliminaries: we want some audio, a couple of FluidDataSets, some Buffers, a FluidStandardize and a FluidMDS //Preliminaries: we want some audio, a couple of FluidDataSets, some Buffers, a FluidStandardize and a FluidMDS
( (
~audiofile = File.realpath(FluidBufPitch.class.filenameSymbol).dirname +/+ "../AudioFiles/Tremblay-ASWINE-ScratchySynth-M.wav"; ~audiofile = File.realpath(FluidMDS.class.filenameSymbol).dirname +/+ "../AudioFiles/Tremblay-ASWINE-ScratchySynth-M.wav";
~raw = FluidDataSet(s); ~raw = FluidDataSet(s);
~standardized = FluidDataSet(s); ~standardized = FluidDataSet(s);
~reduced = FluidDataSet(s); ~reduced = FluidDataSet(s);
@ -152,7 +152,6 @@ w.front;
( (
d = ~reducedarray.flop.deepCollect(1, { |x| x.normalize}); d = ~reducedarray.flop.deepCollect(1, { |x| x.normalize});
e = ~reducedarray2.flop.deepCollect(1, { |x| x.normalize}); e = ~reducedarray2.flop.deepCollect(1, { |x| x.normalize});
w = Window("scatter", Rect(128, 64, 200, 200));
w.drawFunc = { w.drawFunc = {
Pen.use { Pen.use {
d[0].size.do{|i| d[0].size.do{|i|

@ -62,7 +62,7 @@ code::
s.reboot; s.reboot;
//Preliminaries: we want some audio, a couple of FluidDataSets, some Buffers, a FluidStandardize and a FluidPCA //Preliminaries: we want some audio, a couple of FluidDataSets, some Buffers, a FluidStandardize and a FluidPCA
( (
~audiofile = File.realpath(FluidBufPitch.class.filenameSymbol).dirname +/+ "../AudioFiles/Tremblay-ASWINE-ScratchySynth-M.wav"; ~audiofile = File.realpath(FluidBufMFCC.class.filenameSymbol).dirname +/+ "../AudioFiles/Tremblay-ASWINE-ScratchySynth-M.wav";
~raw = FluidDataSet(s); ~raw = FluidDataSet(s);
~standardized = FluidDataSet(s); ~standardized = FluidDataSet(s);
~reduced = FluidDataSet(s); ~reduced = FluidDataSet(s);

Loading…
Cancel
Save