home/ atoms/ superdirt-sample-loading

Loading custom sample packs into SuperDirt requires adding a loadSoundFiles path to the SuperCollider startup file

SuperDirt (the audio engine Tidal sends patterns to) loads samples from directories specified in the SuperCollider startup file. To add a custom sample pack: (1) download and extract the pack somewhere; (2) open the SuperCollider startup file; (3) add a line ~dirt.loadSoundFiles("/path/to/samples/*"); after the existing ~dirt.loadSoundFiles; line; (4) save and restart SuperCollider. The /* wildcard at the path end makes SuperDirt scan all subdirectories. Each subdirectory becomes a named sample set accessible by its folder name in Tidal patterns.

Examples

After adding ~dirt.loadSoundFiles("/home/alex/tidalclub/samples-extra/*"); and restarting, d1 $ sound "break" plays the first break sample.

Assessment

List the four steps to add a custom sample pack to SuperDirt. Why is the /* at the end of the path necessary?

“You'll see a line with `~dirt.loadSoundFiles;`, which loads the default samples”
corpus · tidalcycles-course-1-structured-4-week-course · chunk 2