-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,426 changed files
with
13,855 additions
and
20,616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
<chapter id="FaustTop"> | ||
<title>Faust Opcodes</title> | ||
|
||
<para>The Faust opcodes allows access from within Csound to the Faust language. Faust (Functional Audio Stream) is a functional programming language for sound synthesis and audio processing: <ulink url="https://faust.grame.fr/">https://faust.grame.fr/</ulink>. </para> | ||
<para>The following opcodes are available:</para> | ||
|
||
<itemizedlist> | ||
<listitem> | ||
<para><link linkend="faustaudio"><citetitle>faustaudio</citetitle></link> - Instantiates and runs a compiled Faust program.</para> | ||
</listitem> | ||
<listitem> | ||
<para><link linkend="faustcompile"><citetitle>faustcompile</citetitle></link> - Produce a instantiable DSP process from a Faust program.</para> | ||
</listitem> | ||
<listitem> | ||
<para><link linkend="faustdsp"><citetitle>faustdsp</citetitle></link> - Instantiates a Faust program.</para> | ||
</listitem> | ||
<listitem> | ||
<para><link linkend="faustctl"><citetitle>faustctl</citetitle></link> - Adjusts a given control in a Faust DSP instance.</para> | ||
</listitem> | ||
<listitem> | ||
<para><link linkend="faustgen"><citetitle>faustgen</citetitle></link> - Compiles, Instantiates and runs a compiled Faust program.</para> | ||
</listitem> | ||
<listitem> | ||
<para><link linkend="faustplay"><citetitle>faustplay</citetitle></link> - Runs an instantiated Faust program.</para> | ||
</listitem> | ||
</itemizedlist> | ||
|
||
</chapter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<CsoundSynthesizer> | ||
<CsOptions> | ||
-odac --port=7000 | ||
</CsOptions> | ||
<CsInstruments> | ||
0dbfs = 1 | ||
instr 1 | ||
freq:k chnget "freq" | ||
amp:k chnget "amp" | ||
out oscili(0dbfs*amp, p4*freq) | ||
status:k, f:k, mess:S, n:k OSClisten "/in", "fsi" | ||
puts mess, status | ||
printk2 n | ||
printk2 f | ||
status, nums:k[] OSClisten "/ina", "fi" | ||
printk2 nums[0] | ||
printk2 nums[1] | ||
endin | ||
instr 2 | ||
OSCsend 0, "localhost", 7000, "/csound/event/instr", "ffff", 1, 0, 1, 300 | ||
OSCsend 1, "localhost", 7000, "/csound/channel/freq/amp", "ff", p4, p5 | ||
OSCsend 2, "localhost", 7000, "/in", "fsi", p5, "hello", p4 | ||
OSCsend 3, "localhost", 7000, "/ina", "fi", p5, p4 | ||
OSCsend 4, "localhost", 7000, "/csound/event", "s", "i3 4 1" | ||
OSCsend 5, "localhost", 7000, "/csound/compile", "s", "schedule 1,2,2,500" | ||
endin | ||
instr 3 | ||
OSCsend 0, "localhost", 7000, "/csound/stop" | ||
endin | ||
</CsInstruments> | ||
<CsScore> | ||
i2 0 2 1 0.2 | ||
</CsScore> | ||
</CsoundSynthesizer> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.