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); } }