Sampling functionality/limitations?

To answer some of the questions about sampling… The default sampling patches (Basic Sampler and Sampler Style for example) load sound files from the USB drive into RAM for playback. This all happens inside Pd, so the process may be customized. In these basic examples, the sound files are stored in the same folder with the rest of the patch files (the patch folder). In Basic Sampler the file is ‘sound.wav’, and in the Sampler Style patch, there are 24 wav files (1.wav, 2.wav… etc) that get mapped to each key.

The naming and location of these files is up to the patch and what it is doing. In these examples they are located in the patch folder, but they could be located anywhere on the USB drive (for example in a Sounds folder, or in another patches folder). Changing this stuff will require editing / creating a patch that does what you have in mind… That said there are some things to try that don’t involve any Pd editing. For example you could copy the Sampler Style patch 4 times (so in the Patches folder of USB drive you would have Sampler Style 1, Sampler Style 2…) and then put different sounds in each one, now you’d have 4 sample playback keyboards…

Some other notes about sound files. The sound files in these examples should be 44.1kHz / 16bit .wav files. Again this is something that can be changed around in the patch itself, but the examples use this format. Since they are being loaded into RAM they should also be on the sorter side (on the order of seconds, not minutes) For longer sound files, there is another group of objects in Pd for reading and writing them directly to disk so space is limited by disk space and not RAM, we’ll be posting some patches of this setup soon.