Ask Your Question

super dirt sub-folders

asked 2016-07-09 17:13:48 -0500

julio gravatar image

updated 2016-09-06 17:57:34 -0500

lennart gravatar image

Hi guys,

How do I reference a sample inside a sub-folder in the sample banks?

thanks! J

edit retag flag offensive close merge delete


If you are referring to something like the `808` folder, I had the same question.

mitchk gravatar imagemitchk ( 2016-07-10 15:26:52 -0500 )edit

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.

lennart gravatar imagelennart ( 2016-07-11 03:50:34 -0500 )edit

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.

kindohm gravatar imagekindohm ( 2016-07-11 10:20:48 -0500 )edit

... also in order to have access to the updated folders you will have to reload the samples in Super Collider (I simply restarted it).

phlux gravatar imagephlux ( 2016-07-14 18:06:32 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2016-07-21 16:06:42 -0500

telephon gravatar image

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.

edit flag offensive delete link more

answered 2016-07-11 03:49:24 -0500

lennart gravatar image

Dirt and SuperDirt only support one level of directory depth for samples:


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.

edit flag offensive delete link more


Is there a dynamic way to change the root directories? Or is it a one way process? Firs load, then play.

phlux gravatar imagephlux ( 2016-07-15 16:21:09 -0500 )edit

Question Tools


Asked: 2016-07-09 17:13:48 -0500

Seen: 602 times

Last updated: Jul 21 '16