super dirt sub-folders
Hi guys,
How do I reference a sample inside a sub-folder in the sample banks?
thanks! J
Hi guys,
How do I reference a sample inside a sub-folder in the sample banks?
thanks! J
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 loadSoundFiles
message.
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
where 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: 543 times
Last updated: Jul 21 '16
How to use two sample path simultaneously?
How can I immediately play a sample only once?
How do I play samples at random values of a specific scale or chord?
Looping long samples accurately
What are some good sources of sounds?
I want to use my custom samples in my custom path
What's a good source of synth presets for SuperDirt?
If you are referring to something like the `808` folder, I had the same question.
the 808 folder are there for historical reasons and were never directly accessible from dirt (i.e. it's a bit messy). see my answer on how to deal with it.
as a side note, the '808' folder should really be removed or restructured in the Dirt-samples repository. It isn't playable for reasons in @lennart's answer.
... also in order to have access to the updated folders you will have to reload the samples in Super Collider (I simply restarted it).