From eaf5590406b89ae1c0f7ae93b2b9a8ad4c45485e Mon Sep 17 00:00:00 2001 From: Stephane Letz Date: Wed, 31 Jan 2024 18:22:14 +0100 Subject: [PATCH] Correct tutorials. --- docs/index.html | 2 +- docs/sitemap.xml.gz | Bin 127 -> 127 bytes docs/tutorials/cmajor/exfaust0/exfaust0.svg | 16 ++++++++-------- docs/tutorials/cmajor/exfaust1/exfaust1.dsp | 1 + docs/tutorials/cmajor/exfaust1/exfaust1.svg | 4 ++-- docs/tutorials/cmajor/exfaust2/exfaust2.dsp | 1 + docs/tutorials/cmajor/exfaust2/exfaust2.svg | 4 ++-- docs/tutorials/cmajor/index.html | 2 ++ docs/tutorials/rnbo/exfaust0/exfaust0.svg | 16 ++++++++-------- docs/tutorials/rnbo/exfaust1/exfaust1.svg | 8 ++++---- docs/tutorials/rnbo/exfaust2/exfaust2.svg | 16 ++++++++-------- docs/tutorials/rnbo/exfaust3/exfaust3.dsp | 1 + docs/tutorials/rnbo/exfaust3/exfaust3.svg | 8 ++++---- docs/tutorials/rnbo/exfaust4/exfaust4.dsp | 1 + docs/tutorials/rnbo/exfaust4/exfaust4.svg | 8 ++++---- docs/tutorials/rnbo/index.html | 2 ++ src/tutorials/cmajor.md | 2 ++ src/tutorials/rnbo.md | 3 ++- 18 files changed, 53 insertions(+), 42 deletions(-) diff --git a/docs/index.html b/docs/index.html index c85f69e8ce..3927a46b9e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -465,5 +465,5 @@ diff --git a/docs/sitemap.xml.gz b/docs/sitemap.xml.gz index 32d2d75b84001db8aa89d28ec845e84d29673669..e3fbf10314cab6c351923b70f73d44fba6718ce3 100644 GIT binary patch delta 12 Tcmb=gXOr*d;9zQ;$W{pe70v@v delta 12 Tcmb=gXOr*d;80JV$W{pe77qhi diff --git a/docs/tutorials/cmajor/exfaust0/exfaust0.svg b/docs/tutorials/cmajor/exfaust0/exfaust0.svg index 3f49a88f07..2705f0ff0e 100644 --- a/docs/tutorials/cmajor/exfaust0/exfaust0.svg +++ b/docs/tutorials/cmajor/exfaust0/exfaust0.svg @@ -3,19 +3,19 @@ - + - + osc(hslider("...e+03f, 1.0f)) - + - + vol @@ -27,19 +27,19 @@ - + - + osc(hslider("...e+03f, 1.0f)) - + - + vol diff --git a/docs/tutorials/cmajor/exfaust1/exfaust1.dsp b/docs/tutorials/cmajor/exfaust1/exfaust1.dsp index 5b9e05a8d0..23f76246ee 100644 --- a/docs/tutorials/cmajor/exfaust1/exfaust1.dsp +++ b/docs/tutorials/cmajor/exfaust1/exfaust1.dsp @@ -1,4 +1,5 @@ +declare options "[midi:on][nvoices:8]"; import("stdfaust.lib"); process = organ <: _,_ with { diff --git a/docs/tutorials/cmajor/exfaust1/exfaust1.svg b/docs/tutorials/cmajor/exfaust1/exfaust1.svg index f7dd85bab5..e10dbe0242 100644 --- a/docs/tutorials/cmajor/exfaust1/exfaust1.svg +++ b/docs/tutorials/cmajor/exfaust1/exfaust1.svg @@ -3,11 +3,11 @@ - + - + organ diff --git a/docs/tutorials/cmajor/exfaust2/exfaust2.dsp b/docs/tutorials/cmajor/exfaust2/exfaust2.dsp index a82b7741c0..2c9d8c24a3 100644 --- a/docs/tutorials/cmajor/exfaust2/exfaust2.dsp +++ b/docs/tutorials/cmajor/exfaust2/exfaust2.dsp @@ -1,4 +1,5 @@ +declare options "[midi:on][nvoices:8]"; import("stdfaust.lib"); process = pm.clarinet_ui_MIDI <: _,_; effect = dm.freeverb_demo; diff --git a/docs/tutorials/cmajor/exfaust2/exfaust2.svg b/docs/tutorials/cmajor/exfaust2/exfaust2.svg index dde99fd92c..43e92e153e 100644 --- a/docs/tutorials/cmajor/exfaust2/exfaust2.svg +++ b/docs/tutorials/cmajor/exfaust2/exfaust2.svg @@ -3,11 +3,11 @@ - + - + clarinet_ui_MIDI diff --git a/docs/tutorials/cmajor/index.html b/docs/tutorials/cmajor/index.html index 1b465b9f50..9cae495b77 100644 --- a/docs/tutorials/cmajor/index.html +++ b/docs/tutorials/cmajor/index.html @@ -479,6 +479,7 @@

Using the faust2cmajor tool

``` +declare options "[midi:on][nvoices:8]"; import("stdfaust.lib"); process = organ <: _,_ with { @@ -173,6 +174,7 @@ The following polyphonic ready instrument DSP, with an [integrated effect](https ``` +declare options "[midi:on][nvoices:8]"; import("stdfaust.lib"); process = pm.clarinet_ui_MIDI <: _,_; effect = dm.freeverb_demo; diff --git a/src/tutorials/rnbo.md b/src/tutorials/rnbo.md index 09976fdea7..1c3d74ac22 100644 --- a/src/tutorials/rnbo.md +++ b/src/tutorials/rnbo.md @@ -281,6 +281,7 @@ When the DSP follows the [polyphonic ready instrument](https://faustdoc.grame.fr ``` +declare options "[midi:on][nvoices:8]"; import("stdfaust.lib"); process = vgroup("Organ", voice(freq) * gain * en.adsr(0.1, 0.1, 0.8, 0.3, button("gate"))) * master <: (_,_) @@ -312,6 +313,7 @@ The following polyphonic ready instrument DSP, with an [integrated effect](https ``` +declare options "[midi:on][nvoices:8]"; import("stdfaust.lib"); process = vgroup("Organ", voice(freq) * gain * en.adsr(0.1, 0.1, 0.8, 0.3, button("gate"))) * master <: (_,_) @@ -360,7 +362,6 @@ DSP programs following the polyphonic [freq/gate/gain convention](https://faustd DSP programs following the polyphonic [freq/gate/gain convention](https://faustdoc.grame.fr/manual/midi/#midi-polyphony-support) with and an [integrated effect](https://faustdoc.grame.fr/manual/midi/#audio-effects-and-polyphonic-synthesizer) can be generated using the *Platform = rnbo* and *Architecture = rnbo-poly-effect* export options. The resulting *foo* folder is self-contained, containing the `foo.maxpat`, `foo.rnbopat`and `foo_effect.rnbopat` files (using the `p` abstraction model), with `foo.maxpat` file to be opened with Max/MSP. - ### Generating the RNBO patch from a Faust DSP program found in the web Faust DSP programs found on the Web can also be converted: