The DejaVU Framework -- hush 3.1
[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?

Manual: CSOUND 1Csound "7 Feb 1991"


[.] [man] man1 man2 man3 man4 man5 man6 man7 man8 man9 manl mann ?

NAME

Csound - digital audio processing and sound synthesis

SYNOPSIS


csound [flags] orchfile scorefile


slide: SYNOPSIS

OVERVIEW


Csound is an environment in which a "scorefile" or external event sequence can invoke arbitrarily complex signal-processing "instruments" to produce sound. Audio may be displayed during its creation, and the resulting sound sent to an on-line audio device or to an intermediate soundfile for later playback. Csound is invoked by a single command, which induces three phases of action: Score sorting Orchestra translation and loading Sound generation (audio processing and synthesis).

Csound audio processing is supported by various score manipulation languages (SCOT, CSCORE, SCSORT, EXTRACT) and by soundfile analysis-synthesis methods including additive synthesis (ADSYN), linear predictive coding (LPC), and phase vocoding (PVOC).

There is no complete on-line manual, but man entries exist for the stand-alone analysis and scoring programs. More complete information can be found in the troff-able "Csound Reference Manual," which provides an overview, tutorial, details of behavior, and step-by-step examples.


slide: OVERVIEW

DESCRIPTION


csound is a command for passing an orchestra file and score file to the Csound environment to generate a soundfile. In the above SYNOPSIS, all flag arguments are optional with set defaults. Flags may appear either separately or bundled; those that take an argument will expect to find it either immediately following or as the next argument. Recognized flags are:

The orchfile is a collection of Instruments which are sequences of Csound statements invoking control-signal and audio-signal processing modules. A simple instrument might appear as follows:

                  instr        3
          k1        linseg        p4, p3, p4/10
          a1        oscil        k1, p5, 1
                  out           a1
                  endin
  
The scorefile is a collection of statements that create stored waveforms or activate orchestra instruments at some specified time. A score statement contains parameter values that are passed to the instrument. The following would create a single stored waveform, then invoke the above instrument to generate two two-beat audio events, with p4 amplitude 1000 and p5 pitches 440 and 522 Hertz:
          f 1        0        256        10        1
          i 3        0        2        1000        440
          i 3        2        2        1000        522
          e
  
.SH The Extract feature:

This feature will extract a segment of a "sorted numeric score" file according to instructions taken from a control file. The control file contains an instrument list and two time points, from and to, in the form: instruments 1 2 from 1:27.5 to 2:2

The component labels may be abbreviated as "i, f" and t. The time points denote the begininng and end of the extract in terms of: [section no.] : [beat no.]. Each of the three parts is also optional. The default values for missing "i, f" or t are: all instruments, begining of score, end of score.

extract reads an orchestra-readable score file and produces an orchestra-readable result. Comments, tabs and extra spaces are flushed, w and a statements are added and an f0 reflecting the extract length is appended to the output. Following an extract process, the abbreviated score will contain all function table statements, together with just those note statements that occur in the from-to interval specified. Notes lying completely in the interval will be unmodified; notes that lie only partly within will their p3 durations truncated as necessary. .SH Independent Preprocessing:

Although the result of all score preprocessing is retained in the file score.srt after orchestra performance (it exists as soon as score preprocessing has completed), the user may sometimes want to run these phases independently. The command scot filename will process the Scot formatted filename, and leave a "standard numeric score" result in a file named score for perusal or later processing. The command scscort < infile > outfile will put a numeric score infile through Carry, Tempo, and Sort preprocessing, leaving the result in outfile. Likewise extract, also normally invoked as part of the perf command, can be invoked as a standalone program: extract xfile < score.sort > score.extract This command expects an already sorted score. An unsorted score should first be sent through scsort then piped to the extract program: scsort < scorefile | extract xfile > score.extract


slide: DESCRIPTION

"SEE ALSO"


hetro(1Csound), lpcanal(1Csound), pvanal(1Csound), "The Csound Reference Manual"


slide: "SEE

AUTHOR

Written by Barry Vercoe, Music and Cognition group of the Media Laboratory at MIT.


[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?
Hush Online Technology
hush@cs.vu.nl
09/24/99