From 7de8702d3feb4f005b78e4e1b44c8514da3c27b1 Mon Sep 17 00:00:00 2001 From: Stephane Letz Date: Sun, 6 Aug 2023 10:00:30 +0200 Subject: [PATCH] MIDI documentation in RNBO tutorial(2). --- docs/index.html | 2 +- docs/manual/syntax/exfaust122/exfaust122.dsp | 5 + docs/manual/syntax/exfaust122/exfaust122.svg | 72 +++++++++++++ docs/rail/3-syntax/Rule.js | 4 + docs/rail/3-syntax/abstraction.js | 4 + docs/rail/3-syntax/access.js | 4 + docs/rail/3-syntax/application.js | 4 + docs/rail/3-syntax/argtype.js | 4 + docs/rail/3-syntax/bitwise.js | 4 + docs/rail/3-syntax/comparison.js | 4 + docs/rail/3-syntax/component.js | 4 + docs/rail/3-syntax/delay.js | 4 + docs/rail/3-syntax/diagcomposition.js | 4 + docs/rail/3-syntax/diagiteration.js | 4 + docs/rail/3-syntax/diagramexp.js | 4 + docs/rail/3-syntax/diffequation.js | 4 + docs/rail/3-syntax/digit.js | 4 + docs/rail/3-syntax/envexp.js | 4 + docs/rail/3-syntax/environment.js | 4 + docs/rail/3-syntax/explicitsubst.js | 4 + docs/rail/3-syntax/exponent.js | 4 + docs/rail/3-syntax/float.js | 4 + docs/rail/3-syntax/folder.js | 4 + docs/rail/3-syntax/foreignexp.js | 4 + docs/rail/3-syntax/funnames.js | 4 + docs/rail/3-syntax/includefile.js | 4 + docs/rail/3-syntax/insouts.js | 4 + docs/rail/3-syntax/int.js | 4 + docs/rail/3-syntax/label.js | 4 + docs/rail/3-syntax/lambdaabstraction.js | 4 + docs/rail/3-syntax/letrecexpression.js | 4 + docs/rail/3-syntax/library.js | 4 + docs/rail/3-syntax/math.js | 4 + docs/rail/3-syntax/numiter.js | 4 + docs/rail/3-syntax/path.js | 4 + docs/rail/3-syntax/patternabstraction.js | 4 + docs/rail/3-syntax/primitive.js | 4 + docs/rail/3-syntax/progexp.js | 4 + docs/rail/3-syntax/signature.js | 4 + docs/rail/3-syntax/time.js | 4 + docs/rail/3-syntax/type.js | 4 + docs/rail/3-syntax/waveform.js | 4 + docs/rail/3-syntax/withexpression.js | 4 + docs/sitemap.xml.gz | Bin 127 -> 127 bytes docs/tutorials/rnbo/exfaust1/exfaust1.dsp | 11 ++ docs/tutorials/rnbo/exfaust1/exfaust1.svg | 108 +++++++++++++++++++ 46 files changed, 357 insertions(+), 1 deletion(-) create mode 100644 docs/manual/syntax/exfaust122/exfaust122.dsp create mode 100644 docs/manual/syntax/exfaust122/exfaust122.svg create mode 100644 docs/rail/3-syntax/Rule.js create mode 100644 docs/rail/3-syntax/abstraction.js create mode 100644 docs/rail/3-syntax/access.js create mode 100644 docs/rail/3-syntax/application.js create mode 100644 docs/rail/3-syntax/argtype.js create mode 100644 docs/rail/3-syntax/bitwise.js create mode 100644 docs/rail/3-syntax/comparison.js create mode 100644 docs/rail/3-syntax/component.js create mode 100644 docs/rail/3-syntax/delay.js create mode 100644 docs/rail/3-syntax/diagcomposition.js create mode 100644 docs/rail/3-syntax/diagiteration.js create mode 100644 docs/rail/3-syntax/diagramexp.js create mode 100644 docs/rail/3-syntax/diffequation.js create mode 100644 docs/rail/3-syntax/digit.js create mode 100644 docs/rail/3-syntax/envexp.js create mode 100644 docs/rail/3-syntax/environment.js create mode 100644 docs/rail/3-syntax/explicitsubst.js create mode 100644 docs/rail/3-syntax/exponent.js create mode 100644 docs/rail/3-syntax/float.js create mode 100644 docs/rail/3-syntax/folder.js create mode 100644 docs/rail/3-syntax/foreignexp.js create mode 100644 docs/rail/3-syntax/funnames.js create mode 100644 docs/rail/3-syntax/includefile.js create mode 100644 docs/rail/3-syntax/insouts.js create mode 100644 docs/rail/3-syntax/int.js create mode 100644 docs/rail/3-syntax/label.js create mode 100644 docs/rail/3-syntax/lambdaabstraction.js create mode 100644 docs/rail/3-syntax/letrecexpression.js create mode 100644 docs/rail/3-syntax/library.js create mode 100644 docs/rail/3-syntax/math.js create mode 100644 docs/rail/3-syntax/numiter.js create mode 100644 docs/rail/3-syntax/path.js create mode 100644 docs/rail/3-syntax/patternabstraction.js create mode 100644 docs/rail/3-syntax/primitive.js create mode 100644 docs/rail/3-syntax/progexp.js create mode 100644 docs/rail/3-syntax/signature.js create mode 100644 docs/rail/3-syntax/time.js create mode 100644 docs/rail/3-syntax/type.js create mode 100644 docs/rail/3-syntax/waveform.js create mode 100644 docs/rail/3-syntax/withexpression.js create mode 100644 docs/tutorials/rnbo/exfaust1/exfaust1.dsp create mode 100644 docs/tutorials/rnbo/exfaust1/exfaust1.svg diff --git a/docs/index.html b/docs/index.html index 4fe6487f55..6838570d1c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -464,5 +464,5 @@ diff --git a/docs/manual/syntax/exfaust122/exfaust122.dsp b/docs/manual/syntax/exfaust122/exfaust122.dsp new file mode 100644 index 0000000000..d561abf046 --- /dev/null +++ b/docs/manual/syntax/exfaust122/exfaust122.dsp @@ -0,0 +1,5 @@ + +import("stdfaust.lib"); +freq = vslider("freq[tooltip:The frequency of the oscillator]",440,50,1000,0.1); +process = os.sawtooth(freq); + diff --git a/docs/manual/syntax/exfaust122/exfaust122.svg b/docs/manual/syntax/exfaust122/exfaust122.svg new file mode 100644 index 0000000000..01575707fa --- /dev/null +++ b/docs/manual/syntax/exfaust122/exfaust122.svg @@ -0,0 +1,72 @@ + + + + + + + +2 + + + + + + +p + + + + +* + + + + + + + +1 + + + +- + + + + + + + + + + +process + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/rail/3-syntax/Rule.js b/docs/rail/3-syntax/Rule.js new file mode 100644 index 0000000000..a70ddf16a2 --- /dev/null +++ b/docs/rail/3-syntax/Rule.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence ('(', OneOrMore (NonTerminal('pattern'), ','), ')', "=>", NonTerminal('expression'), ';') +).addTo() + diff --git a/docs/rail/3-syntax/abstraction.js b/docs/rail/3-syntax/abstraction.js new file mode 100644 index 0000000000..a5b2099396 --- /dev/null +++ b/docs/rail/3-syntax/abstraction.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, NonTerminal('lambdaabstraction'), NonTerminal('patternabstraction')) +).addTo() + diff --git a/docs/rail/3-syntax/access.js b/docs/rail/3-syntax/access.js new file mode 100644 index 0000000000..aec5d5725b --- /dev/null +++ b/docs/rail/3-syntax/access.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), '.', NonTerminal('ident')) +).addTo() + diff --git a/docs/rail/3-syntax/application.js b/docs/rail/3-syntax/application.js new file mode 100644 index 0000000000..1bf01af735 --- /dev/null +++ b/docs/rail/3-syntax/application.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), '(', OneOrMore (NonTerminal('expression'), ','), ')') +).addTo() + diff --git a/docs/rail/3-syntax/argtype.js b/docs/rail/3-syntax/argtype.js new file mode 100644 index 0000000000..c157100bca --- /dev/null +++ b/docs/rail/3-syntax/argtype.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, 'int', 'float', 'any') +).addTo() + diff --git a/docs/rail/3-syntax/bitwise.js b/docs/rail/3-syntax/bitwise.js new file mode 100644 index 0000000000..35f5ad1910 --- /dev/null +++ b/docs/rail/3-syntax/bitwise.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), Choice (0, NonTerminal('|'), NonTerminal('&'), 'xor', '<<', '>>'), NonTerminal('expression')) +).addTo() + diff --git a/docs/rail/3-syntax/comparison.js b/docs/rail/3-syntax/comparison.js new file mode 100644 index 0000000000..d7564e9307 --- /dev/null +++ b/docs/rail/3-syntax/comparison.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), Choice (0, '<', '<=', '>', '>=', '==', '!='), NonTerminal('expression')) +).addTo() + diff --git a/docs/rail/3-syntax/component.js b/docs/rail/3-syntax/component.js new file mode 100644 index 0000000000..db19e94280 --- /dev/null +++ b/docs/rail/3-syntax/component.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence ('component', '(', NonTerminal('filename'), ')') +).addTo() + diff --git a/docs/rail/3-syntax/delay.js b/docs/rail/3-syntax/delay.js new file mode 100644 index 0000000000..794f25574e --- /dev/null +++ b/docs/rail/3-syntax/delay.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, Sequence (NonTerminal('expression'), NonTerminal('@'), NonTerminal('expression')), Sequence (NonTerminal('expression'), NonTerminal('''))) +).addTo() + diff --git a/docs/rail/3-syntax/diagcomposition.js b/docs/rail/3-syntax/diagcomposition.js new file mode 100644 index 0000000000..096d8ecbe7 --- /dev/null +++ b/docs/rail/3-syntax/diagcomposition.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), Choice (0, NonTerminal('~'), ',', ':', '<:', ':>'), NonTerminal('expression')) +).addTo() + diff --git a/docs/rail/3-syntax/diagiteration.js b/docs/rail/3-syntax/diagiteration.js new file mode 100644 index 0000000000..2528b147e7 --- /dev/null +++ b/docs/rail/3-syntax/diagiteration.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, Sequence ("par", '(', NonTerminal('ident'), ',', NonTerminal('numiter'), ',', NonTerminal('expression'), ')'), Sequence ("seq", '(', NonTerminal('ident'), ',', NonTerminal('numiter'), ',', NonTerminal('expression'), ')'), Sequence ("sum", '(', NonTerminal('ident'), ',', NonTerminal('numiter'), ',', NonTerminal('expression'), ')'), Sequence ("prod", '(', NonTerminal('ident'), ',', NonTerminal('numiter'), ',', NonTerminal('expression'), ')')) +).addTo() + diff --git a/docs/rail/3-syntax/diagramexp.js b/docs/rail/3-syntax/diagramexp.js new file mode 100644 index 0000000000..64e972bcfd --- /dev/null +++ b/docs/rail/3-syntax/diagramexp.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, NonTerminal('diagcomposition'), NonTerminal('diagiteration')) +).addTo() + diff --git a/docs/rail/3-syntax/diffequation.js b/docs/rail/3-syntax/diffequation.js new file mode 100644 index 0000000000..0586c7e12c --- /dev/null +++ b/docs/rail/3-syntax/diffequation.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('''), NonTerminal('ident'), '=', NonTerminal('expression'), ';') +).addTo() + diff --git a/docs/rail/3-syntax/digit.js b/docs/rail/3-syntax/digit.js new file mode 100644 index 0000000000..b96d065ae7 --- /dev/null +++ b/docs/rail/3-syntax/digit.js @@ -0,0 +1,4 @@ +ComplexDiagram( + "0--9" +).addTo() + diff --git a/docs/rail/3-syntax/envexp.js b/docs/rail/3-syntax/envexp.js new file mode 100644 index 0000000000..6c375ef397 --- /dev/null +++ b/docs/rail/3-syntax/envexp.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, Sequence (NonTerminal('expression'), 'with', NonTerminal('{'), NonTerminal('definition+'), NonTerminal('}')), Sequence (NonTerminal('expression'), 'letrec', NonTerminal('{'), NonTerminal('diffequation+'), Choice (0, Skip(), Sequence ('where', NonTerminal('definition+'))), NonTerminal('}')), Sequence ('environment', NonTerminal('{'), NonTerminal('definition+'), NonTerminal('}')), Sequence (NonTerminal('expression'), '.', NonTerminal('ident')), Sequence ('library', '(', NonTerminal('filename'), ')'), Sequence ('component', '(', NonTerminal('filename'), ')'), Sequence (NonTerminal('expression'), '[', NonTerminal('definition+'), ']')) +).addTo() + diff --git a/docs/rail/3-syntax/environment.js b/docs/rail/3-syntax/environment.js new file mode 100644 index 0000000000..7ed43421d6 --- /dev/null +++ b/docs/rail/3-syntax/environment.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence ('environment', NonTerminal('{'), NonTerminal('definition+'), NonTerminal('}')) +).addTo() + diff --git a/docs/rail/3-syntax/explicitsubst.js b/docs/rail/3-syntax/explicitsubst.js new file mode 100644 index 0000000000..c37a13f302 --- /dev/null +++ b/docs/rail/3-syntax/explicitsubst.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), "[", NonTerminal('definition+'), "]") +).addTo() + diff --git a/docs/rail/3-syntax/exponent.js b/docs/rail/3-syntax/exponent.js new file mode 100644 index 0000000000..8191683fb4 --- /dev/null +++ b/docs/rail/3-syntax/exponent.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence ('e', Optional ( Choice (0, '+', '-')), NonTerminal('digit+')) +).addTo() + diff --git a/docs/rail/3-syntax/float.js b/docs/rail/3-syntax/float.js new file mode 100644 index 0000000000..586d4416f3 --- /dev/null +++ b/docs/rail/3-syntax/float.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (Optional ( Choice (0, '+', '-')), Choice (0, Sequence (NonTerminal('digit+'), '.', NonTerminal('digit*')), Sequence (NonTerminal('digit*'), '.', NonTerminal('digit+'))), Optional ( NonTerminal('exponent'))) +).addTo() + diff --git a/docs/rail/3-syntax/folder.js b/docs/rail/3-syntax/folder.js new file mode 100644 index 0000000000..7ce795c6b5 --- /dev/null +++ b/docs/rail/3-syntax/folder.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, "..", Sequence (Choice (0, "h:", "v:", "t:"), NonTerminal('name'))) +).addTo() + diff --git a/docs/rail/3-syntax/foreignexp.js b/docs/rail/3-syntax/foreignexp.js new file mode 100644 index 0000000000..9235b90ef1 --- /dev/null +++ b/docs/rail/3-syntax/foreignexp.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, Sequence ('ffunction', '(', NonTerminal('signature'), ',', NonTerminal('includefile'), ',', NonTerminal('library'), ')'), Sequence ('fvariable', '(', NonTerminal('type'), NonTerminal('identifier'), ',', NonTerminal('includefile'), ')'), Sequence ('fconstant', '(', NonTerminal('type'), NonTerminal('identifier'), ',', NonTerminal('includefile'), ')')) +).addTo() + diff --git a/docs/rail/3-syntax/funnames.js b/docs/rail/3-syntax/funnames.js new file mode 100644 index 0000000000..0ba24d3e2f --- /dev/null +++ b/docs/rail/3-syntax/funnames.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('identifier'), Optional ( Sequence ('|', NonTerminal('identifier'))), Optional ( Sequence ('|', NonTerminal('identifier')))) +).addTo() + diff --git a/docs/rail/3-syntax/includefile.js b/docs/rail/3-syntax/includefile.js new file mode 100644 index 0000000000..b369804f21 --- /dev/null +++ b/docs/rail/3-syntax/includefile.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, Sequence ('<', NonTerminal('char+'), '>'), Sequence ('"', NonTerminal('char+'), '"')) +).addTo() + diff --git a/docs/rail/3-syntax/insouts.js b/docs/rail/3-syntax/insouts.js new file mode 100644 index 0000000000..66a31c5e56 --- /dev/null +++ b/docs/rail/3-syntax/insouts.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, Sequence ("inputs", '(', NonTerminal('expression'), ')'), Sequence ("outputs", '(', NonTerminal('expression'), ')')) +).addTo() + diff --git a/docs/rail/3-syntax/int.js b/docs/rail/3-syntax/int.js new file mode 100644 index 0000000000..7af46ae2e1 --- /dev/null +++ b/docs/rail/3-syntax/int.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (Optional ( Choice (0, '+', '-')), NonTerminal('digit+')) +).addTo() + diff --git a/docs/rail/3-syntax/label.js b/docs/rail/3-syntax/label.js new file mode 100644 index 0000000000..ade5d62434 --- /dev/null +++ b/docs/rail/3-syntax/label.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('path'), NonTerminal('name')) +).addTo() + diff --git a/docs/rail/3-syntax/lambdaabstraction.js b/docs/rail/3-syntax/lambdaabstraction.js new file mode 100644 index 0000000000..aa8f841383 --- /dev/null +++ b/docs/rail/3-syntax/lambdaabstraction.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('\'), '(', OneOrMore (NonTerminal('ident'), ','), ')', '.', '(', NonTerminal('expression'), ')') +).addTo() + diff --git a/docs/rail/3-syntax/letrecexpression.js b/docs/rail/3-syntax/letrecexpression.js new file mode 100644 index 0000000000..50f1bdeff7 --- /dev/null +++ b/docs/rail/3-syntax/letrecexpression.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), 'letrec', NonTerminal('{'), NonTerminal('diffequation+'), Choice (0, Skip(), Sequence ('where', NonTerminal('definition+'))), NonTerminal('}')) +).addTo() + diff --git a/docs/rail/3-syntax/library.js b/docs/rail/3-syntax/library.js new file mode 100644 index 0000000000..a3d9d49ffb --- /dev/null +++ b/docs/rail/3-syntax/library.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence ('library', '(', NonTerminal('filename'), ')') +).addTo() + diff --git a/docs/rail/3-syntax/math.js b/docs/rail/3-syntax/math.js new file mode 100644 index 0000000000..abe966d84d --- /dev/null +++ b/docs/rail/3-syntax/math.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), Choice (0, '+', '-', '*', '/', '%', NonTerminal('⋀')), NonTerminal('expression')) +).addTo() + diff --git a/docs/rail/3-syntax/numiter.js b/docs/rail/3-syntax/numiter.js new file mode 100644 index 0000000000..82a7b993b3 --- /dev/null +++ b/docs/rail/3-syntax/numiter.js @@ -0,0 +1,4 @@ +ComplexDiagram( + NonTerminal('expression') +).addTo() + diff --git a/docs/rail/3-syntax/path.js b/docs/rail/3-syntax/path.js new file mode 100644 index 0000000000..15cfd71687 --- /dev/null +++ b/docs/rail/3-syntax/path.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (Optional ( '/'), Optional ( OneOrMore (Sequence (NonTerminal('folder'), '/')))) +).addTo() + diff --git a/docs/rail/3-syntax/patternabstraction.js b/docs/rail/3-syntax/patternabstraction.js new file mode 100644 index 0000000000..7f9b6d0399 --- /dev/null +++ b/docs/rail/3-syntax/patternabstraction.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence ("case", NonTerminal('{'), OneOrMore (NonTerminal('rule')), NonTerminal('}')) +).addTo() + diff --git a/docs/rail/3-syntax/primitive.js b/docs/rail/3-syntax/primitive.js new file mode 100644 index 0000000000..72fd28bff9 --- /dev/null +++ b/docs/rail/3-syntax/primitive.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, NonTerminal('number'), NonTerminal('route'), NonTerminal('waveform'), NonTerminal('soundfile'), NonTerminal('cprimitive'), NonTerminal('mathprimitive'), NonTerminal('delayandtables'), NonTerminal('uielements')) +).addTo() + diff --git a/docs/rail/3-syntax/progexp.js b/docs/rail/3-syntax/progexp.js new file mode 100644 index 0000000000..5f80af2aa0 --- /dev/null +++ b/docs/rail/3-syntax/progexp.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, NonTerminal('abstraction'), NonTerminal('application')) +).addTo() + diff --git a/docs/rail/3-syntax/signature.js b/docs/rail/3-syntax/signature.js new file mode 100644 index 0000000000..f8c80ee640 --- /dev/null +++ b/docs/rail/3-syntax/signature.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('type'), NonTerminal('funnames'), '(', OneOrMore (NonTerminal('argtype'), ','), ')') +).addTo() + diff --git a/docs/rail/3-syntax/time.js b/docs/rail/3-syntax/time.js new file mode 100644 index 0000000000..794f25574e --- /dev/null +++ b/docs/rail/3-syntax/time.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, Sequence (NonTerminal('expression'), NonTerminal('@'), NonTerminal('expression')), Sequence (NonTerminal('expression'), NonTerminal('''))) +).addTo() + diff --git a/docs/rail/3-syntax/type.js b/docs/rail/3-syntax/type.js new file mode 100644 index 0000000000..9dfab8fa03 --- /dev/null +++ b/docs/rail/3-syntax/type.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Choice (0, 'int', 'float') +).addTo() + diff --git a/docs/rail/3-syntax/waveform.js b/docs/rail/3-syntax/waveform.js new file mode 100644 index 0000000000..05df3d816e --- /dev/null +++ b/docs/rail/3-syntax/waveform.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence ("waveform", NonTerminal('{'), OneOrMore (NonTerminal('number'), ','), NonTerminal('}')) +).addTo() + diff --git a/docs/rail/3-syntax/withexpression.js b/docs/rail/3-syntax/withexpression.js new file mode 100644 index 0000000000..384c5b4c68 --- /dev/null +++ b/docs/rail/3-syntax/withexpression.js @@ -0,0 +1,4 @@ +ComplexDiagram( + Sequence (NonTerminal('expression'), 'with', NonTerminal('{'), NonTerminal('definition+'), NonTerminal('}')) +).addTo() + diff --git a/docs/sitemap.xml.gz b/docs/sitemap.xml.gz index 006b27cadbb4a9a80ae3cf5b8131272b34933507..2ec7ef5d8e2455cc74f12dc1d25bae3541cc540f 100644 GIT binary patch delta 12 Tcmb=gXOr*d;4llG$W{pe78(Os delta 12 Tcmb=gXOr*d;CSmlk*yK{8Jz?R diff --git a/docs/tutorials/rnbo/exfaust1/exfaust1.dsp b/docs/tutorials/rnbo/exfaust1/exfaust1.dsp new file mode 100644 index 0000000000..5c82308e6f --- /dev/null +++ b/docs/tutorials/rnbo/exfaust1/exfaust1.dsp @@ -0,0 +1,11 @@ + +import("stdfaust.lib"); + +declare options "[midi:on]"; + +vol = hslider("volume [unit:dB] [midi: ctrl 7]", 0, -96, 0, 0.1) : ba.db2linear : si.smoo; +freq1 = hslider("freq1 [unit:Hz][midi: ctrl 1]", 1000, 20, 3000, 0.1); +freq2 = hslider("freq2 [unit:Hz][midi: ctrl 2]", 200, 20, 3000, 0.1); + +process = vgroup("Oscillator", os.osc(freq1) * vol, os.osc(freq2) * vol); + diff --git a/docs/tutorials/rnbo/exfaust1/exfaust1.svg b/docs/tutorials/rnbo/exfaust1/exfaust1.svg new file mode 100644 index 0000000000..ab43aa3310 --- /dev/null +++ b/docs/tutorials/rnbo/exfaust1/exfaust1.svg @@ -0,0 +1,108 @@ + + + + + + + + + + +osc(hslider("...e+03f, 0.1f)) + + + + + + + +vol + + + + +* + + + + + + + + + + +osc(hslider("...e+03f, 0.1f)) + + + + + + + +vol + + + + +* + + + + + + + + + + +vgroup(Oscillator) + + + + + +process + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +