Hi there -
I was thinking it would be really useful (for me, at least) to have another function in SC to dump already-loaded buffers into FluComa.
my thought was to start with FluidLoadFolder
to create a FluidLoadBuffer
… Instead of a path, one could enter an array of buffers to be loaded - I’m not sure what the protocol for doing this would be or if something like this already exists in FluCoMa, though.
I hoped that taking out SoundFiles.collect
and replacing
buffer.readChannel(f.path,bufStartFrame:startEnd[i][0], channels:channelMap);
with
buffer.copyData(f, dstStartAt:startEnd[i][0]);
would do the trick, but I think there is more to consider. Any pointers?
Thanks!
You mean to take a load of individual buffers and concatenate them into one big buffer for analysis? Your approach looks like it should work, but note that there’s no real requirement to use a big single buffer for flucoma stuff: you can just as easily loop over the buffers you have and analyse them one by one.
Yes - you’re right. I think the area where I’m running into a little grey area is the use of the OSCFunc/Identity Dictionary, where I’m assuming this is some type of metadata tagging protocol that is used throughout FluCoMa’s implementation.
It’s straightforward enough - but if I omitted “path”, for instance (since the stored buffers might no longer have correlation to a hard disk location), I would like to make sure that I’m not messing up something down the line…
That stuff is just for dispatching the callbacks from the server when processes finish, there’s nothing funky going on with respect to buffers.