{
   "name" : "soundfile playback",
   "author" : "LFSaw",
   "ancestor_list" : [],
   "description" : "automatically playback of all soundfiles in a directory",
   "labels" : [
      "tip",
      "howto",
      "playback",
      "soundfiles"
   ],
   "code" : "(\r\nw = {|pathPattern|\r\nvar soundFiles;\r\n// get sounds\r\nsoundFiles = SoundFile.collect(pathPattern);\r\n\r\n// play back in order of their appearance\r\nPseq(soundFiles.collect{|file| file.cue((\\dur: file.duration))}, 1).play;\r\n}\r\n)\r\n\r\n// adjust path and evaluate the next line\r\nw.value(\"/Volumes/usbImport/PMD620/200804062000/*.WAV\")",
   "is_private" : null,
   "id" : "1-f"
}
