From 8e479188bca134086522b651435b69772a710dc5 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 10 Sep 2024 10:39:39 -0400 Subject: [PATCH] examples.md : experiments with code blocks syntax highlighting --- examples/examples.md | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/examples/examples.md b/examples/examples.md index df6e558..5e11bba 100644 --- a/examples/examples.md +++ b/examples/examples.md @@ -1,17 +1,3 @@ - -:::mermaid - graph LR - A[Christmas] -->|Get money| B(Go shopping) - B --> C{Let me think} - subgraph work - C -->|One| D[Laptop] - C --x|Two| E[iPhone] - C -.->|Three| F[fa:fa-car Car] - C ==> G((Bike)) - C --> J>TV] - end -::: - ### Example 01 - Write a sine signal to an audio file. @@ -20,7 +6,7 @@ In this example the program is contained in the dictionary labeled `sine_file_01 the preceeding fields (e.g. `base_dir`,`proc_dict`,`subnet_dict`, etc.) contain system parameters that the program needs to compile and run the program. -```YAML +``` yaml { base_dir: "~/src/caw/examples", proc_dict: "~/src/caw/examples/proc_dict.cfg", @@ -42,10 +28,6 @@ system parameters that the program needs to compile and run the program. } } } - - - - ``` When executed this program will write a five second sine signal to an audio file @@ -146,7 +128,7 @@ with a gain of 110 (220 peak-to-peak amplitude) and an offset of 440. The LFO output signal is therefore sweeping an amplitude between 330 and 550 which will be treated as frequency values by `osc`. -``` +``` json mod_sine_02: { durLimitSecs:5.0, @@ -202,7 +184,7 @@ In this example four network presets are specified in the `presets` statement and the "a" preset is automatically applied once the network is created but before it starts to execute. -``` +``` JSON presets_03: { durLimitSecs:5.0,