examples.cfg/md : Minor changes.

This commit is contained in:
kevin 2024-10-12 15:39:55 -04:00
parent 4fbac29233
commit c660156912
2 changed files with 7 additions and 6 deletions

View File

@ -9,12 +9,12 @@
ex_00_rt_sine: { ex_00_rt_sine: {
dur_limit_secs:5.0, //dur_limit_secs:5.0,
network: { network: {
procs: { procs: {
osc: { class:sine_tone, args:{ hz:100.0 }}, osc: { class:sine_tone, args:{ hz:500.0 }},
aout:{ class:audio_out, in:{ in:osc.out }, args:{ dev_label:"main"} } aout:{ class:audio_out, in:{ in:osc.out }, args:{ dev_label:"main"} }
} }
} }
@ -61,7 +61,7 @@
dur_limit_secs:5.0, dur_limit_secs:5.0,
preset: "a", preset: "a",
network: { network: {
procs: { procs: {
lfo: { class: sine_tone, args:{ hz:3, dc:440, gain:110 }} lfo: { class: sine_tone, args:{ hz:3, dc:440, gain:110 }}
@ -74,8 +74,8 @@
{ {
a: { lfo: { hz:1.0, dc:880 }, osc: { gain:0.95 } }, a: { lfo: { hz:1.0, dc:880 }, osc: { gain:0.95 } },
b: { lfo: { hz:2.0, dc:220 }, osc: { gain:0.75 } }, b: { lfo: { hz:2.0, dc:220 }, osc: { gain:0.75 } },
c: { lfo: a880 }, c: { lfo: a880 }, // apply a the sine_tone class preset 'a880'
d: [ a,b,0.5 ] d: [ a,b,0.5 ] // apply a dual preset by interpolating midway between preset 'a' and 'b'.
} }
} }

View File

@ -901,8 +901,9 @@ user_defined_proc_12 : {
} }
``` ```
### Example 13: Global Variables
See the sampler wavetable.