tidalcycles / Dirt

Experimental sample playback
GNU General Public License v3.0
85 stars 24 forks source link

Configure samples folder #13

Closed nullish closed 10 years ago

nullish commented 10 years ago

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.

munshkr commented 10 years ago

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...

nullish commented 10 years ago

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

annybs commented 10 years ago

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 10 years ago

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/

annybs commented 10 years ago

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