From b49f3176680c3bd436004e04cf74c02aa43e3cbf Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 10 Sep 2024 11:26:07 -0400 Subject: [PATCH] examples.md : Added SVG image. --- examples/examples.md | 4 +- examples/svg/00_osc_af.svg | 139 +++++++++++++++++++++++++++++++++++++ 2 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 examples/svg/00_osc_af.svg diff --git a/examples/examples.md b/examples/examples.md index 5e11bba..bb7f737 100644 --- a/examples/examples.md +++ b/examples/examples.md @@ -30,6 +30,8 @@ system parameters that the program needs to compile and run the program. } ``` +![blah](svg/00_osc_af.svg) + When executed this program will write a five second sine signal to an audio file named `~/src/caw/examples/sine_file_01/out.wav`. The output file name is formed by joining the value of the system parameter `base_dir` with @@ -159,7 +161,7 @@ Here is the `sample_hold` class description: sample_hold: { vars: { in: { type:audio, flags:["src"], doc:"Audio input source." }, - period_ms: { type:ftime, value:50.0, doc:"Sample period in milliseconds." }, + period_ms: { type:ftime, value:50.0, doc:"Sample period in milliseconds." }, out: { type:sample, value:0.0, doc:"First value in the sample period." }, mean: { type:sample, value:0.0, doc:"Mean value of samples in period." }, } diff --git a/examples/svg/00_osc_af.svg b/examples/svg/00_osc_af.svg new file mode 100644 index 0000000..cd40052 --- /dev/null +++ b/examples/svg/00_osc_af.svg @@ -0,0 +1,139 @@ + + + + + + + + + + + + + osc + out + + + af + in + + + +