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 + + + +