Csound tutorials: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created Csound tutorials)
 
(Creating a small tutorial/guide for using Csound in the Terminal Activity.)
Line 3: Line 3:
== Exploring Csound from the XO Terminal ==
== Exploring Csound from the XO Terminal ==


=== Flags ===
Wiki entry in progress.

For a list of flags, enter <tt>csound</tt> at the command-line, or <tt>csound --help</tt> for a complete list.

* <tt>--help</tt> A full list supported command-line flags for Csound.
* <tt>-odac</tt> Output audio stream to the [http://en.wikipedia.org/wiki/Digital-to-analog_converter Digital-to-analog_converter], sound card
* <tt>-iadc</tt> Read audio from the [http://en.wikipedia.org/wiki/Analog_to_digital_converter Analog_to_digital_converter], built-in microphone
* <tt>-d</tt> Suppress all displays
* <tt>-m0</tt> Set message level to 0
* <tt>-b2048</tt> Set sample frames per software sound I/O buffer to 2048
* <tt>-B4096</tt> Set samples per hardware sound I/O buffer 20 4096
* <tt>-+rtaudio=alsa</tt> Sets real time audio to the device alsa
* <tt>-+rtmidi=alsa</tt> Sets real time MIDI to device alsa

Revision as of 17:56, 27 March 2008

These Csound tutorials are designed to showcase various aspects of using Csound on an XO computer.

Exploring Csound from the XO Terminal

Flags

For a list of flags, enter csound at the command-line, or csound --help for a complete list.

  • --help A full list supported command-line flags for Csound.
  • -odac Output audio stream to the Digital-to-analog_converter, sound card
  • -iadc Read audio from the Analog_to_digital_converter, built-in microphone
  • -d Suppress all displays
  • -m0 Set message level to 0
  • -b2048 Set sample frames per software sound I/O buffer to 2048
  • -B4096 Set samples per hardware sound I/O buffer 20 4096
  • -+rtaudio=alsa Sets real time audio to the device alsa
  • -+rtmidi=alsa Sets real time MIDI to device alsa