mc.waveform
hi there,
this is both,
- sharing a jsui for displaying multichannel waveforms with optionally displaying a soundfile from disc
and
- a question about how to use task() to put the disk-reading into some deferlow mode:
the reading-from-disc here is done with a hidden buffer~ object (in the patcher) that
reads chunks (600samples) of a (maybe large) soundfile in a loop into a js-array.
i failed to do this in background so that the mouseaction is not blocked while redrawing the waveform.
if someone could have a brief look into my function "drawwf" (section sf-read) that would be outstanding great ;)
cheers
klaus
would love to help with this, I think it needs updating because I couldnt get it to work in Max 9.1.0
It worked for me (Max 9.1.1), but only after loading a file for the second time, so there's probably something wrong in the initialization.
make sure, you are using the latest version:
https://github.com/ppooll-dev/ll_externals
the old jsui prototype from my first post above is a proper max external nowadays.