| |
What is Csound? from Boulanger's Mastering Csound Tutorial
Csound is a programming language designed and optimized for sound rendering and signal processing. The language consists of over 1300 opcodes - the operational codes that the sound designer uses to build "instruments" or patches. Although there are an increasing number of graphical "front-ends" for the language, you typically design and modify your patches using a word processor. Usually, you create two text files - a .orc (orchestra) file containing the "instruments," and a .sco (score) file containing the "notes." In Csound, the complexity of your patches is limited by your knowledge, interest, and need, but never by the language itself. For instance, a 22,050 oscillator additive synthesizer with 1024 stage envelope generators on each is merely a copy-and-paste operation. The same goes for a 1 million voice granular texture! Have you ever dreamed of sounds such as these? Well in Csound you can. And in Csound these dreams can come true!
The 1370 opcodes in the Csound language range in power and complexity from a basic oscil (table-lookup oscillator) and linen (linear envelope generator), to the full-blown waveguide physical modeling family that includes wgbow, wgclar, wgflute, and wgbrass. There are familiar analog modeling opcodes such as adsr, lfo, vco, and even a moogvcf. There are opcodes for reading and processing samples such as soundin, diskin, reverb, and sndwarp and opcodes for doing phase vocoder resynthesis and FFT-based cross-synthesis such as pvoc, pvadd, and pvcross.
Csound Basics: Rendering an Orchestra and Score
To produce or process a soundfile with Csound, or to play a Csound instrument in real-time, one typically selects the orchestra and score through a simple "launcher" and then clicks on the "render" button to start the program compiling. In addition to selecting the orchestra and score, these launchers allow one to use menus, check-boxes, and text-fields to set and store all the command line options. You can specify the name of the output file, the directory for the output file, the output file-type (AIFF or WAVE - 16, 24, or 32-bit). You can tell the program to display graphics, to enable MIDI control or audio input, and to render in real-time to the DAC or write the resulting soundfile to disk.
|
|
What is Csound? from Boulanger's Chapter 1 of The Csound Book
| Csound is an incredibly powerful and versatile software synthesis program. Drawing from a toolkit of over 1300 signal processing modules, one can use Csound to model virtually any commercial synthesizer or multi-effects processor. Csound literally transforms a personal computer into a high-end digital audio workstation an environment in which the worlds of sound-design, acoustic research, digital audio production and computer music composition all join together in the ultimate expressive instrument. However, as with every musical instrument, true virtuosity is literally the product of both talent and dedication. You will soon discover that Csound is the ultimate musical instrument. But you must practice! In return, it will reward your commitment by producing some of the richest textures and uniquely beautiful timbres you have ever heard. In the audio world of Csound, knowledge and experience are the key... and your imagination the only limitation.
What is Csound and How Does it Work?
Csound is a sound renderer. It works by first translating a set of text-based instruments, found in the orchestra file, into a computer data-structure that is machine-resident. Then, it performs these user-defined instruments by interpreting a list of note events and parameter data that the program "reads" from: a text-based score file, a sequencer-generated MIDI file, a real-time MIDI controller, real-time audio, or a non-MIDI devices such as the ASCII keyboard and mouse.
Depending on the speed of your computer (and the complexity of the instruments in your orchestra file) the performance of this "score" can either be auditioned in real-time, or written directly into a file on your hard disk. This entire process is referred to as "sound rendering" as analogous to the process of "image rendering" in the world of computer graphics.
Once rendered, you will listen to the resulting soundfile by opening it with your favorite sound editor and playing it either through the built-in digital-to-analog converter (DAC) on your motherboard or the DAC on your PC Sound Card. |
|
|
|