Csound Csound-dev Csound-tekno Search About

Re: Version 3.50

Date1999-01-15 07:56
FromGabriel Maldonado
SubjectRe: Version 3.50
.csd is the extension of a file type introduced by Michael Gogins, which include the
orchestra, the score and the command line flags in a single text file. It is now
introduced also in DirectCsoud. Here are the specifications:

    The following example is a "csd" text file template. The format of .csd files follows
the
    same principles as SGML, XML, or HTML. Each section of data is prefaced by a start
    (<>) tag and finished with an end () tag, and sections can be nested
hierarchically.
    The Csound tags (boldface) are as follows, with explanatory comments (italics) and
    sample data: 

    
    ; Csound structured data file.
    
    ; Command-line options
    -W
    
    
    ; Orchestra statements.
    sr 44100
    kr 441
    ksmps 100
    nchnls 2
    ; Instrument definitions.
    ; The first comment following on the same line as an instrument number is the name of
the instrument.
    instr 1 ;Toot1
    endin
    instr 2 ;Toot2
    endin
    
    ; Standard Csound function ("f") statements, note ("i") statements, or comments (";").
    f 1 2 3 
    i 1 2 3 4
    
    




pete moss wrote:
> 
> was is this .csd input file?  i dont remember any discussion on this.
> 
> also, is there info on .csoundrc?  can any version use it?  what params can i set?
> 
> thanks
> pete
> 
> jpff@maths.bath.ac.uk wrote:
> 
> > The single file .csd input has been extended for all command-line
> > versions, and possibly for Windows.  It can not decode additional
> > parameters.
> >
> > Id a file .csoundrc exists, it is read to set parameters first, which
> > can be overridden.  It used the .csd form so options are written as on
> > the command line, with optional newlines at appropriate places.  It
> > does not set orc/sco names (as far as i can understand it)

-- 
Gabriel Maldonado