Linux command
csound 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Render orchestra and score
csound [orchestra.orc] [score.sco]
Render unified csd file
csound [file.csd]
Output to WAV file
csound -o [output.wav] [file.csd]
Real-time audio output
csound -odac [file.csd]
Set sample rate
csound -r [44100] [file.csd]
Set control rate
csound -k [4410] [file.csd]
说明
csound is a sound synthesis program and audio programming language. It generates audio from text-based scores and orchestras, enabling precise control over sound generation and processing. The system uses two main components: an orchestra defining instruments with synthesis algorithms, and a score specifying when and how to play them. Modern usage typically combines these in CSD (unified) files.
参数
- -o _file_
- Output audio file (use dac for realtime).
- -i _file_
- Input audio file (use adc for realtime).
- -r _rate_
- Sample rate in Hz.
- -k _rate_
- Control rate in Hz.
- -b _size_
- Software buffer size.
- -B _size_
- Hardware buffer size.
- -d
- Suppress displays.
- -m _level_
- Message level (0-231).
- -W
- Create WAV format output.
- -A
- Create AIFF format output.
- --midi-device= _dev_
- MIDI input device.
FAQ
What is the csound command used for?
csound is a sound synthesis program and audio programming language. It generates audio from text-based scores and orchestras, enabling precise control over sound generation and processing. The system uses two main components: an orchestra defining instruments with synthesis algorithms, and a score specifying when and how to play them. Modern usage typically combines these in CSD (unified) files.
How do I run a basic csound example?
Run `csound [orchestra.orc] [score.sco]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -o _file_ do in csound?
Output audio file (use dac for realtime).