tidalcycles/Dirt

Configure samples folder

nullish opened this issue · 5 comments

Hi

I'm using Dirt for Tidal and would like to configure Dirt to point to different file locations for samples. Is there a way of doing this? By default it points to ~/tidal/Dirt/samples

I don't need to change folders mid session. It would just be handy to keep discrete sample sets away from the main samples folder.

Samples path is defined at line 8 of file.h. You can change it there and recompile dirt. I haven't tried it but I guess it should work.

Maybe it would be nice to have a command-line option to specify a custom samples path...

Many thanks munkshr. I will give that a go. Makes sense.

Bit late with this, but I've added my own samples to dirt in a slightly different way - by using symlinks within the default directory pointing at sample directories in my project folders.

Agree with @munshkr that it would be nice to have an option to specify a sample directory on dirt startup, or even be able to configure multiple sample directories.

yaxu commented

Would be happy for this to be a commandline option.
That said the current default is a subfolder called 'samples' to select another one you can just start dirt from a different folder, e.g.
cd ~/other-sample-folder
~/bin/dirt

then it'd look in ~/other-sample-folder/samples/

Just looked at that line 8 - never realised it was specified as a relative path. Good to know :)