Skip to content

Commit

Permalink
deploy: 33a830c
Browse files Browse the repository at this point in the history
  • Loading branch information
tjingboem committed Jun 15, 2024
1 parent d83ae6c commit 84ce6f5
Show file tree
Hide file tree
Showing 1,251 changed files with 11,369 additions and 11,034 deletions.
18 changes: 9 additions & 9 deletions C.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,39 +39,39 @@ <h2>
</p>
</div>
<div class="refsect1">
<a id="idm400846"></a>
<a id="idm401207"></a>
<h2>Description</h2>
<p>
This statement switches automatic carrying of missing arguments on or off.
</p>
</div>
<div class="refsect1">
<a id="idm400849"></a>
<a id="idm401210"></a>
<h2>Syntax</h2>
<pre class="synopsis"><span class="command"><strong>C</strong></span> p1</pre>
</div>
<div class="refsect1">
<a id="idm400853"></a>
<a id="idm401214"></a>
<h2>Performance</h2>
<p>
<span class="emphasis"><em>p1</em></span> -- Specifies whether to switch off (value
0) or on (non-zero).
</p>
</div>
<div class="refsect1">
<a id="idm400857"></a>
<a id="idm401218"></a>
<h2>Examples</h2>
<p>
Here is an example of the C statement. It uses the file <a class="ulink" href="examples/b.csd" target="_top"><em class="citetitle">C.csd</em></a>.
</p>
<div class="example">
<a id="idm400862"></a>
<a id="idm401223"></a>
<p class="title">
<strong>Example 1283. Example of the C statement.</strong>
<strong>Example 1285. Example of the C statement.</strong>
</p>
<div class="example-contents">
<div class="refsect1">
<a id="idm400864"></a>
<a id="idm401225"></a>
<pre class="programlisting">
<span class="nt">&lt;CsoundSynthesizer&gt;</span>

Expand Down Expand Up @@ -115,14 +115,14 @@ <h2>Examples</h2>
</p>
</div>
<div class="refsect1">
<a id="idm400978"></a>
<a id="idm401339"></a>
<h2>See Also</h2>
<p>
<a class="link" href="ScoreStatements.html" title="Score Statements"><em class="citetitle">Score Statements</em></a>
</p>
</div>
<div class="refsect1">
<a id="idm400983"></a>
<a id="idm401344"></a>
<h2>Credits</h2>
<p>
</p>
Expand Down
12 changes: 6 additions & 6 deletions CsBeats.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h2 class="title"><a id="CsBeats"></a>Csbeats</h2>
standard output.
</p>
<div class="refsect1">
<a id="idm442320"></a>
<a id="idm442681"></a>
<p>
The <span class="emphasis"><em>csbeats</em></span> language is very simple, having
only 5 kinds of statement, and only one of them has any
Expand Down Expand Up @@ -154,7 +154,7 @@ <h2 class="title"><a id="CsBeats"></a>Csbeats</h2>
</div>
</div>
<div class="refsect1">
<a id="idm442373"></a>
<a id="idm442734"></a>
<p>
The opening of Bach's Goldberg variation number 3 can be coded
as:
Expand Down Expand Up @@ -271,21 +271,21 @@ <h2 class="title"><a id="CsBeats"></a>Csbeats</h2>
</p>
</div>
<div class="refsect1">
<a id="idm442423"></a>
<a id="idm442784"></a>
<h2>A Complete Example</h2>
<p>
Here is a simple example of the <span class="emphasis"><em>csbeats</em></span>
score generator. It uses the file <a class="ulink" href="examples/csbeats.csd" target="_top"><em class="citetitle">csbeats.csd</em></a>.
</p>
<div class="example">
<a id="idm442429"></a>
<a id="idm442790"></a>
<p class="title">
<strong>Example 1384. A simple example of csbeats.</strong>
<strong>Example 1386. A simple example of csbeats.</strong>
</p>
<div class="example-contents">
<p>See the sections <a class="link" href="UsingRealTime.html" title="Real-Time Audio"><em class="citetitle">Real-time Audio</em></a> and <a class="link" href="CommandFlags.html" title="Csound command line"><em class="citetitle">Command Line Flags</em></a> for more information on using command line flags.</p>
<div class="refsect1">
<a id="idm442436"></a>
<a id="idm442797"></a>
<pre class="programlisting">
<span class="nt">&lt;CsoundSynthesizer&gt;</span>
<span class="nt">&lt;CsOptions&gt;</span>
Expand Down
12 changes: 6 additions & 6 deletions CscoreCompile.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2 class="title" style="clear: both"><a id="CscoreCompile"></a>Compiling a Csco
<p>
So, to create a standalone program, write a control program as shown in the previous section. Let's assume that you saved this program in a file named <span class="quote"><span class="quote"><span class="emphasis"><em>mycscore.c</em></span></span></span>. Next, you need to compile and link this program with the Csound library and <span class="emphasis"><em>cscoremain.c</em></span> in order to create an exectuable by following the set of directions below that apply to your operating system. It will be helpful to already have some familiarity with the C compiler on your computer since the information below cannot be complete for all possible systems.
</p>
<h3><a id="idm442195"></a>Linux and Unix</h3>
<h3><a id="idm442556"></a>Linux and Unix</h3>
<p>
The following commands assume that you have copied your file <span class="emphasis"><em>mycscore.c</em></span> into the same directory as <span class="emphasis"><em>cscoremain.c</em></span>, that you have opened a terminal to that same directory, and that you have previously installed a binary distribution of Csound that placed a library <span class="emphasis"><em>libcsound.a</em></span> or <span class="emphasis"><em>libcsound.so</em></span> into <span class="emphasis"><em>/usr/local/lib</em></span> and the header files for the Csound API into <span class="emphasis"><em>/usr/local/include/csound</em></span>.
</p>
Expand All @@ -80,14 +80,14 @@ <h3><a id="idm442195"></a>Linux and Unix</h3>
<p>
It is possible that on some Unix systems, the C compiler will be named <span class="emphasis"><em>cc</em></span> or something else other than <span class="emphasis"><em>gcc</em></span>.
</p>
<h3><a id="idm442212"></a>Windows</h3>
<h3><a id="idm442573"></a>Windows</h3>
<p>
Csound is usually compiled on Windows using the MinGW environment that makes GCC -- the same compiler used on Linux -- available using a Unix-like command shell (MSYS). Since pre-compiled libraries for Csound on Windows are built in this way, you may need to use MinGW as well to link to them. If you have built Csound using another compiler, then you should be able to build <span class="emphasis"><em>Cscore</em></span> with that compiler as well.
</p>
<p>
Compiling standalone <span class="emphasis"><em>Cscore</em></span> programs using MinGW should be similar to the procedure for Linux above with library and header paths changed appropriately for where Csound is installed on the Windows system. <span class="emphasis"><em>(Please feel free to contribute more detailed instructions here as the editor has been unable to test Cscore on a Windows machine).</em></span>
</p>
<h3><a id="idm442218"></a>OS X</h3>
<h3><a id="idm442579"></a>OS X</h3>
<p>
The following commands assume that you have copied your file <span class="emphasis"><em>mycscore.c</em></span> into the same directory as <span class="emphasis"><em>cscoremain.c</em></span> and that you have opened a terminal to that same directory. In addition, the Apple-supplied developer tools (including the GCC compiler) should be installed on your system and you should have previously installed a binary distribution of Csound that placed the CsoundLib framework into <span class="emphasis"><em>/Library/Frameworks</em></span>.
</p>
Expand All @@ -104,7 +104,7 @@ <h3><a id="idm442218"></a>OS X</h3>
<div class="informalexample">
<pre class="screen">./cscore test.sco</pre>
</div>
<h3><a id="idm442229"></a>MacOS 9</h3>
<h3><a id="idm442590"></a>MacOS 9</h3>
<p>
You will need CodeWarrior or some other development environment installed on your computer (MPW may work). Download the source code distribution for OS 9 (it will have a name like <span class="emphasis"><em>Csound5.05_OS9_src.smi.bin</em></span>).
</p>
Expand All @@ -114,7 +114,7 @@ <h3><a id="idm442229"></a>MacOS 9</h3>
<p>
Once you have the proper files included in the project window, click the "Make" button and CodeWarrior should produce an application named <span class="quote"><span class="quote"><span class="emphasis"><em>Cscore</em></span></span></span>. When you run this application, it first displays a window allowing you to type in the arguments to the main function. You only need to type in the filename or pathname to the input score -- do not type in "cscore". The input file should be in the same folder as the application or else you will need to type a full or relative pathname to the file. Output will be displayed in the console window. You can use the <span class="emphasis"><em>Save</em></span> command from the <span class="emphasis"><em>File</em></span> menu before quitting if you wish. Alternatively, in the commandline dialog, you can choose to redirect the output to a file by clicking on the <span class="emphasis"><em>File</em></span> button on the right side of the dialog. (Note that the console window can only display about 32,000 characters, so writing to a file is necessary for long scores).
</p>
<h3><a id="idm442244"></a>Making Cscore usable from within Csound</h3>
<h3><a id="idm442605"></a>Making Cscore usable from within Csound</h3>
<p>
To operate from Csound, first follow the instructions for compiling Csound (see <a class="link" href="BuildingCsound.html" title="Building Csound"><em class="citetitle">Building Csound</em></a>) according to the operating system that you are using. Once you have successfully built an unmodified Csound system, then substitute your own <span class="emphasis"><em>cscore()</em></span> function for the one in the file <span class="emphasis"><em>Top/cscore_internal.c</em></span>, and rebuild Csound.
</p>
Expand All @@ -127,7 +127,7 @@ <h3><a id="idm442244"></a>Making Cscore usable from within Csound</h3>
<p>
A simple approach to using a <span class="emphasis"><em>Cscore</em></span> callback via the API would be to modify the standard Csound main program -- which is a simple Csound host -- contained in the file <span class="emphasis"><em>frontends/csound/csound_main.c</em></span>. Adding a call to <span class="emphasis"><em>csoundSetCscoreCallback()</em></span> after the call to <span class="emphasis"><em>csoundCreate()</em></span> but before the call to <span class="emphasis"><em>csoundCompile()</em></span> should do the job. Recompiling this file and linking to an existing Csound library will make a commandline version of Csound that works similarly to the one described above. Don't forget to use the -C flag.
</p>
<h3><a id="idm442268"></a>Notes about score formats and run-time behavior</h3>
<h3><a id="idm442629"></a>Notes about score formats and run-time behavior</h3>
<p>
As stated previously, the input files to <span class="emphasis"><em>Cscore</em></span> may be in original or time-warped and pre-sorted form; this modality will be preserved (section by section) in reading, processing, and writing scores. Standalone processing will most often use unwarped sources and create unwarped new files. When running from within Csound, the input score will arrive already warped and sorted, and can thus be sent directly (normally section by section) to the orchestra. One advantage of this method of using <span class="emphasis"><em>Cscore</em></span> is that all of the syntactical conveniences of the full Csound score language may be used -- macros, arithmetic expressions, carry, ramp, etc. -- since the score will go through the "Carry, Tempo, Sort" phases of score processing before being passed to the user-supplied <span class="emphasis"><em>Cscore</em></span> program.
</p>
Expand Down
20 changes: 10 additions & 10 deletions FLbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2>
</p>
</div>
<div class="refsect1">
<a id="idm101385"></a>
<a id="idm101480"></a>
<h2>Description</h2>
<p>
Plugin opcode in widgets. This opcode is part of the plugin repository and has to be installed separately. These FLTK widgets do not work on the Mac.
Expand All @@ -49,13 +49,13 @@ <h2>Description</h2>
</p>
</div>
<div class="refsect1">
<a id="idm101391"></a>
<a id="idm101486"></a>
<h2>Syntax</h2>
<pre class="synopsis">ihandle <span class="command"><strong>FLbox</strong></span> "label", itype, ifont, isize, iwidth, iheight, ix, iy [, image]</pre>
<pre class="synopsis">ihandle <span class="command"><strong>FLbox</strong></span> istr, itype, ifont, isize, iwidth, iheight, ix, iy [, image]</pre>
</div>
<div class="refsect1">
<a id="idm101397"></a>
<a id="idm101492"></a>
<h2>Initialization</h2>
<p>
<span class="emphasis"><em>ihandle</em></span> -- a handle value (an integer number) that unequivocally references a corresponding widget. This is used by other opcodes that modify a widget's properties (see <a class="link" href="ControlFltkAppearance.html" title="Modifying FLTK Widget Appearance"><em class="citetitle">Modifying FLTK Widget Appearance</em></a>). It is automatically output by <span class="emphasis"><em>FLbox</em></span> and must not be set by the user label. (The user label is a double-quoted string containing some user-provided text placed near the widget.)
Expand Down Expand Up @@ -266,7 +266,7 @@ <h2>Initialization</h2>
</div>
</div>
<div class="refsect1">
<a id="idm101532"></a>
<a id="idm101627"></a>
<h2>Performance</h2>
<p>
<span class="emphasis"><em>FLbox</em></span> is useful to show some text in a window. The text is bounded by a box, whose aspect depends on <span class="emphasis"><em>itype</em></span> argument.
Expand All @@ -276,21 +276,21 @@ <h2>Performance</h2>
</p>
</div>
<div class="refsect1">
<a id="idm101539"></a>
<a id="idm101634"></a>
<h2>Examples</h2>
<p>
Here is an example of the FLbox opcode. It uses the file <a class="ulink" href="examples/FLbox.csd" target="_top"><em class="citetitle">FLbox.csd</em></a>.

</p>
<div class="example">
<a id="idm101544"></a>
<a id="idm101639"></a>
<p class="title">
<strong>Example 312. Example of the FLbox opcode.</strong>
<strong>Example 313. Example of the FLbox opcode.</strong>
</p>
<div class="example-contents">
<p>See the sections <a class="link" href="UsingRealTime.html" title="Real-Time Audio"><em class="citetitle">Real-time Audio</em></a> and <a class="link" href="CommandFlags.html" title="Csound command line"><em class="citetitle">Command Line Flags</em></a> for more information on using command line flags.</p>
<div class="refsect1">
<a id="idm101551"></a>
<a id="idm101646"></a>
<pre class="programlisting">
<span class="nt">&lt;CsoundSynthesizer&gt;</span>
<span class="nt">&lt;CsOptions&gt;</span>
Expand Down Expand Up @@ -353,7 +353,7 @@ <h2>Examples</h2>
</p>
</div>
<div class="refsect1">
<a id="idm101719"></a>
<a id="idm101814"></a>
<h2>See Also</h2>
<p>
<a class="link" href="FLbutBank.html" title="FLbutBank"><em class="citetitle">FLbutBank</em></a>,
Expand All @@ -364,7 +364,7 @@ <h2>See Also</h2>
</p>
</div>
<div class="refsect1">
<a id="idm101732"></a>
<a id="idm101827"></a>
<h2>Credits</h2>
<p>Author: Gabriel Maldonado</p>
<p>New in version 4.22</p>
Expand Down
20 changes: 10 additions & 10 deletions FLbutBank.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2>
</p>
</div>
<div class="refsect1">
<a id="idm101747"></a>
<a id="idm101842"></a>
<h2>Description</h2>
<p>
Plugin opcode in widgets. This opcode is part of the plugin repository and has to be installed separately. These FLTK widgets do not work on the Mac.
Expand All @@ -49,13 +49,13 @@ <h2>Description</h2>
</p>
</div>
<div class="refsect1">
<a id="idm101753"></a>
<a id="idm101848"></a>
<h2>Syntax</h2>
<pre class="synopsis">kout, ihandle <span class="command"><strong>FLbutBank</strong></span> itype, inumx, inumy, iwidth, iheight, ix, iy, \
iopcode [, kp1] [, kp2] [, kp3] [, kp4] [, kp5] [....] [, kpN]</pre>
</div>
<div class="refsect1">
<a id="idm101757"></a>
<a id="idm101852"></a>
<h2>Initialization</h2>
<p>
<span class="emphasis"><em>ihandle</em></span> -- a handle value (an integer number) that unequivocally references a corresponding widget. This is used by other opcodes that modify a widget's properties (see <a class="link" href="ControlFltkAppearance.html" title="Modifying FLTK Widget Appearance"><em class="citetitle">Modifying FLTK Widget Appearance</em></a>). It is automatically output by <span class="emphasis"><em>FLbutBank</em></span> and must not be set by the user label. (The user label is a double-quoted string containing some user-provided text placed near the widget.)
Expand Down Expand Up @@ -99,7 +99,7 @@ <h2>Initialization</h2>
</p>
</div>
<div class="refsect1">
<a id="idm101789"></a>
<a id="idm101884"></a>
<h2>Performance</h2>
<p>
<span class="emphasis"><em>kout</em></span> -- output value
Expand Down Expand Up @@ -142,21 +142,21 @@ <h2>Performance</h2>
</p>
</div>
<div class="refsect1">
<a id="idm101829"></a>
<a id="idm101924"></a>
<h2>Examples</h2>
<p>
Here is an example of the FLbutBank opcode. It uses the file <a class="ulink" href="examples/FLbutBank.csd" target="_top"><em class="citetitle">FLbutBank.csd</em></a>.

</p>
<div class="example">
<a id="idm101834"></a>
<a id="idm101929"></a>
<p class="title">
<strong>Example 313. Example of the FLbutBank opcode.</strong>
<strong>Example 314. Example of the FLbutBank opcode.</strong>
</p>
<div class="example-contents">
<p>See the sections <a class="link" href="UsingRealTime.html" title="Real-Time Audio"><em class="citetitle">Real-time Audio</em></a> and <a class="link" href="CommandFlags.html" title="Csound command line"><em class="citetitle">Command Line Flags</em></a> for more information on using command line flags.</p>
<div class="refsect1">
<a id="idm101841"></a>
<a id="idm101936"></a>
<pre class="programlisting">
<span class="nt">&lt;CsoundSynthesizer&gt;</span>
<span class="nt">&lt;CsOptions&gt;</span>
Expand Down Expand Up @@ -212,7 +212,7 @@ <h2>Examples</h2>
</p>
</div>
<div class="refsect1">
<a id="idm102029"></a>
<a id="idm102124"></a>
<h2>See Also</h2>
<p>
<a class="link" href="FLbox.html" title="FLbox"><em class="citetitle">FLbox</em></a>,
Expand All @@ -223,7 +223,7 @@ <h2>See Also</h2>
</p>
</div>
<div class="refsect1">
<a id="idm102042"></a>
<a id="idm102137"></a>
<h2>Credits</h2>
<p>Author: Gabriel Maldonado</p>
<p>New in version 4.22</p>
Expand Down
Loading

0 comments on commit 84ce6f5

Please sign in to comment.