continued updating the examples

nix
Pierre Alexandre Tremblay 5 years ago
parent b530935484
commit 8962918865

@ -94,10 +94,12 @@ t = Main.elapsedTime;
// extracting whatever stats we want. In this case, mean/std/lowest/highest, and the same on the first derivative - excluding MFCC0 as it is mostly volume, keeping MFCC1-12 // extracting whatever stats we want. In this case, mean/std/lowest/highest, and the same on the first derivative - excluding MFCC0 as it is mostly volume, keeping MFCC1-12
~curated = FluidDataSet(s,\ds10c); (
~curatedW = FluidDataSet(s,\ds10cW); ~curated = FluidDataSet(s);
~curatedW = FluidDataSet(s);
~curator = FluidDataSetQuery.new(s); ~curator = FluidDataSetQuery.new(s);
)
( (
~curator.addRange(1,12,{ ~curator.addRange(1,12,{
~curator.addRange(14,12,{ ~curator.addRange(14,12,{

@ -19,11 +19,11 @@ c = Buffer.alloc(s,1);
( (
Routine{ Routine{
n.do{|i| n.do{|i|
b.set(0,~idx[i]); b.set(0,~idx[i].postln);
c.set(0,~data[i]); c.set(0,~data[i].postln);
~simpleInput.addPoint(i.asString,b,{("Added Input" + i).postln}); ~simpleInput.addPoint(i.asString,b,{("Added Input" + i).postln});
~simpleOutput.addPoint(i.asString,c,{("Added Output" + i).postln}); ~simpleOutput.addPoint(i.asString,c,{("Added Output" + i).postln});
~mappingviz.set((~idx[i]/61).asInteger,~data[i]); ~mappingviz.set((~idx[i]/61.4).asInteger,~data[i]);
s.sync; s.sync;
} }
}.play }.play
@ -57,3 +57,5 @@ Routine{
// look at the interpolated values // look at the interpolated values
~mappingresult.plot ~mappingresult.plot
(31416/61.4).asInteger

Loading…
Cancel
Save