de035a8596
git-subtree-dir: sound_algo git-subtree-mainline:b7940d650fgit-subtree-split:38b17c42a0
16 lines
648 B
Plaintext
16 lines
648 B
Plaintext
// =====================================================================
|
|
// fx/_index.scd -- Auto-glob loader pour tous les FX SynthDef
|
|
//
|
|
// Charge recursivement chaque .scd des sous-dossiers (bus/, insert/,
|
|
// trick/). Ajouter un nouveau FX = juste creer le fichier, pas besoin
|
|
// de modifier ce loader.
|
|
// =====================================================================
|
|
(
|
|
PathName(thisProcess.nowExecutingPath.dirname).deepFiles
|
|
.select { |f| f.extension == "scd"
|
|
and: { f.fileName != "_index.scd" } }
|
|
.sort { |a, b| a.fullPath < b.fullPath }
|
|
.do { |f| f.fullPath.load };
|
|
"=== fx/ loaded ===".postln;
|
|
)
|