add examples for usage synths

microsound-explorer
Arseniusz 5 months ago
parent 976d59005a
commit 4b2857f45e

@ -1,14 +1,20 @@
* Bjornmossa DSP algorythms library
This repo contains SC code for synthesis, processing and analysys algorythms.
* Installation
- Put in startup file: "SC_ALGS_PATH".setenv("path to library".standardizePath);
- install NodeDictionary extention
* Usage
#+BEGIN_SRC sclang
(
var s = (("SC_ALGS_PATH".getenv) +/+ "synths/substractive/sin.instr.scd").load;
var d = NodeDictionary.newFrom(s);
var sin_dict = BmDspAlgs.getDict("synths/distorted_sin.scd");
sin_dict[\postAmp] = true;
sin_dict.makeSourceSynthDef.add();
~synth = ();
~synth[\name] = \synth;
d.makeSourceSynthDef();
Ndef(~synth[\name]).clear;
Ndef(~synth[\name]).ar(2);
Ndef(~synth[\name]).prime(sin_dict[\name]);
Ndef(~synth[\name]).play;
)
#+END_SRC

@ -8,3 +8,4 @@ between my SuperCollider projects
nodes from declarative definitions
- quarks
Quarks and Extentions I usally use for projects

Loading…
Cancel
Save