You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
432 B
22 lines
432 B
BmDspAlgs {
|
|
*initClass {
|
|
Class.initClassTree(NodeDictionary);
|
|
}
|
|
|
|
*getDict {
|
|
| relPath |
|
|
/*
|
|
* TODO:
|
|
* ~d1 = BmDspAlgs.getDict("/synths/bass/saw_bass.scd");
|
|
* will cause an error because of / at start
|
|
* should check file that exists first
|
|
*/
|
|
var path = PathName(relPath.resolveRelative);
|
|
var file = path.fullPath.load;
|
|
/*
|
|
* TODO:
|
|
* load dictionary specs here
|
|
*/
|
|
^NodeDictionary.newFrom(file);
|
|
}
|
|
} |