add examples for usage synths

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

@ -1,14 +1,20 @@
* Bjornmossa DSP algorythms library * Bjornmossa DSP algorythms library
This repo contains SC code for synthesis, processing and analysys algorythms. This repo contains SC code for synthesis, processing and analysys algorythms.
* Installation * Usage
- Put in startup file: "SC_ALGS_PATH".setenv("path to library".standardizePath);
- install NodeDictionary extention
#+BEGIN_SRC sclang #+BEGIN_SRC sclang
( (
var s = (("SC_ALGS_PATH".getenv) +/+ "synths/substractive/sin.instr.scd").load; var sin_dict = BmDspAlgs.getDict("synths/distorted_sin.scd");
var d = NodeDictionary.newFrom(s); 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 #+END_SRC

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

Loading…
Cancel
Save