tidalcycles / Dirt

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

add dirt/samples directory to path #19

Open guaka opened 10 years ago

guaka commented 10 years ago

I got some errors about dirt not being able to find samples/bd and samples/sn. Now I'm starting it like this:

pushd ~/dirt; ./dirt&
popd

It would be nice if dirt could find its own samples directory regardless from where it was started.

yaxu commented 10 years ago

Or maybe the samples folder should be specifiable on the commandline?

guaka commented 10 years ago

-s|--samples-path is nice but both would be best. Actually I see three possibilities:

  1. use samples-path if it's set
  2. check cwd (and subdirs) for existence of usable samples, use this if yes
  3. find location of dirt and use that as fallback