LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

csound

sound synthesis and audio programming language

TLDR

Render orchestra and score to audio
$ csound [orchestra.orc] [score.sco]
copy
Render unified csd file
$ csound [file.csd]
copy
Output to WAV file
$ csound -o [output.wav] [file.csd]
copy
Real-time audio output
$ csound -odac [file.csd]
copy
Set sample rate
$ csound -r [44100] [file.csd]
copy
Set control rate
$ csound -k [4410] [file.csd]
copy

SYNOPSIS

csound [options] files...

DESCRIPTION

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.

PARAMETERS

-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.

INSTALL

sudo apt install csound
copy
sudo pacman -S csound
copy
sudo zypper install csound
copy
brew install csound
copy
nix profile install nixpkgs#csound
copy

CAVEATS

Steep learning curve for synthesis programming. Real-time performance depends on buffer settings. Orchestra errors can be cryptic. Requires audio system configuration.

HISTORY

Csound was developed by Barry Vercoe at MIT in 1986, based on earlier Music N languages dating to 1957. It descends from Max Mathews' MUSIC series at Bell Labs. Csound remains actively developed, used in academic research, electronic music, and multimedia installations.

SEE ALSO

sox(1), supercollider(1), ffmpeg(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid