From c660156912d1d4883f910cdc10de2c441b855de0 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 12 Oct 2024 15:39:55 -0400 Subject: [PATCH] examples.cfg/md : Minor changes. --- examples/examples.cfg | 10 +++++----- examples/examples.md | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/examples.cfg b/examples/examples.cfg index 7937ffe..ce45ef2 100644 --- a/examples/examples.cfg +++ b/examples/examples.cfg @@ -9,12 +9,12 @@ ex_00_rt_sine: { - dur_limit_secs:5.0, + //dur_limit_secs:5.0, network: { 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"} } } } @@ -61,7 +61,7 @@ dur_limit_secs:5.0, preset: "a", - network: { + network: { procs: { 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 } }, b: { lfo: { hz:2.0, dc:220 }, osc: { gain:0.75 } }, - c: { lfo: a880 }, - d: [ a,b,0.5 ] + c: { lfo: a880 }, // apply a the sine_tone class preset 'a880' + d: [ a,b,0.5 ] // apply a dual preset by interpolating midway between preset 'a' and 'b'. } } diff --git a/examples/examples.md b/examples/examples.md index 0339f93..36491f5 100644 --- a/examples/examples.md +++ b/examples/examples.md @@ -901,8 +901,9 @@ user_defined_proc_12 : { } ``` +### Example 13: Global Variables - +See the sampler wavetable.