super dirt sub-folders
How do I reference a sample inside a sub-folder in the sample banks?
You can repeatedly call
~dirt.loadSoundFiles(<some path/*>) to add samples, even at runtime. So you can dig anywhere you like in the folder hierarchy. Just notice that you may override names, or add them to your list of sample numbers, this is an argument of the
Dirt and SuperDirt only support one level of directory depth for samples:
samples/ bd/ my-randomly-named-sample.wav zeds-last-bass-drum-sample.wav sn/ SN0323.WAV
samples is the root directory. subdirectories within Samples banks are ignored.
So if you want to use samples from a subdirectory of a sample bank, the simplest way is to move the subdirectory upwards so that it becomes a sample bank itself.
You can also always choose the samples root directories that get loaded e.g.
SuperDirt.start(path: "~/samples") And
./dirt -s path/to/samples-root.
Asked: 2016-07-09 17:13:48 -0500
Seen: 206 times
Last updated: Jul 21 '16