An easy way to load a bunch of audio files into easily accessible collections of buffers in Supercollider. Great for sample libraries. This class loads the sound files at the root of a folder into the array, ignoring any subfolders
Supported file types: aiff, wav, wave, riff, sun, next, sd2, ircam, raw, mat4, mat5, paf, svx, nist, voc, w64, pvf, xi, htk, sds, avr, flac, caf, upper and lowercase versions are supported. It will automatically skip all files that are illegal formats.
If the server is not booted, it will wait for hte server to boot before loading the files.
server |
( Server to load the buffers to) |
path |
Path to folder of sound files to load (string) |
channel |
Only load this channel if set to something (the loader will then internally use Buffer.readChannel in stead of Buffer.read). |
normalize |
Set true, all buffers will be normalized. |
actionWhenDone |
a Function that will called when the class is done loading. |
verbose |
Boolean. |
Search this collection of buffers and find all buffers that that contain the string in their filename (without extension).
fileNamesThatContainString |
A string that will be used for fuzzy finding. It is used in a .matchRegexp so it can contain regular expression stuff. |
Open up a gui for this object. The gui allows one to preview sound files and make selections of the buffers contained in this object. A selection action may be registered for custom actions when the user makes a selection.