Add automatic Quarks installation and Quark initialization

microsound-explorer
lambda 5 months ago
parent 0278f19a9d
commit 976d59005a
Signed by: lambda
GPG Key ID: 07006F27729676AE

@ -1,8 +1,22 @@
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);
}
}

@ -1,9 +1,9 @@
(
name: "BmDspAlgs",
name: "bmSClib",
summary: "WIP! Collection of dictionaries, describing synth nodes.",
version: "0.1.0",
schelp: "BmDspalgs",
dependencies: ["NodeDictionary"],
schelp: "bmSClib",
dependencies: [],
license: "GPL",
copyright: "Bjornmossa 2023"
copyright: "Bjornmossa 2025"
)

@ -0,0 +1,20 @@
BmQuarks {
*initClass {
StartUp.add {
var quarks = [
"BatLib",
"Bjorklund",
"crucial-library",
"JITLibExtensions",
"miSCellaneous_lib",
];
quarks.do({
|quarkName|
if(Quarks.isInstalled(quarkName).not, {
Quarks.install(quarkName);
});
});
}
}
}

@ -1,15 +1,4 @@
BatLib
Bjorklund
crucial-library
ddwCommon
ddwGUIEnhancements
ddwMixerChannel
Dirt-Samples
JITLibExtensions
miSCellaneous_lib
quarks
SuperDirt
Vowel
Install all needed Quarks at startup.
ChordSymbol
mi-UGens
TODO:
- find way to install extentions (ChordSymbol, mi-UGens)

@ -1,7 +1,10 @@
* About
* Structure
This repo contains reusable code I often share
between my SuperCollider projects
* Structure
- NodeDictionary
Set of Dictionary class extentions for generating
nodes from declarative definitions
- quarks
Quarks and Extentions I usally use for projects

Loading…
Cancel
Save