Hi there,
Going through the example file for the SCMIRAudioFile object, I ran into the following problem of finding no features.
e = SCMIRAudioFile(Platform.resourceDir +/+ "sounds/a11wlk01.wav", [[MFCC, 13], [Chromagram, 12]]);
try{e.extractFeatures()}; // returning nil
I’m running Supercollider 3.12.1 on a Windows 10 version 20H2, 64bit machine.
Hi @hogobogobogo,
Sorry this is not a direct answer to your question, but you might check out the FluCoMa extension. It’ll do this kind of stuff and is well supported.
https://www.flucoma.org/
Cheers,
T
1 Like
Hi Ted,
I know about FluCoMa, didn’t know about the supercollider extension though! Thanks for the tip!
L
1 Like
Is there a class/method in FluCoMa that allows one to extract features which are not part of the main library but are present on SC-Plugins (FFTCrest, FFTFlux, etc) ?
Hi @fmiramar,
You can get these analyses out of FluCoMa.
For FFTCrest, checkout out FluidSpectralShape
's 6th output (zero counting).
For FFTFlux, check out FluidOnsetFeature
with the metric
argument set to 2
and if you want a NRT analysis use FluidBufSpectralShape
and FluidBufOnsetFeature
.
Cheers,
T
1 Like