Csound tutorials

From OLPC
Jump to navigation Jump to search

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

Tutorials and Resources

Exploring Csound from the XO Terminal

Downloading with wget

The terminal utility wget downloads files directly from the internet. The following example downloads 4csEditor.zip, a library of approximately 500 Csound csd files:

 wget http://csounds.com/4csEditor.zip

Flags

The following is a list of the most common used flags to be used in Csound-based activities and in the Terminal activity:

  • --help A complete list of 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 Set real time audio to the device alsa
  • -+rtmidi=alsa Set real time MIDI to device alsa

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