Csound Csound-dev Csound-tekno Search About

[Csnd] problem compiling orchestra and score from theAmsterdam catalogue

Date2009-08-02 13:07
FromStefan Thomas
Subject[Csnd] problem compiling orchestra and score from theAmsterdam catalogue
Dear community,
I've recently downloaded an orchestra and score-file from the amsterdam-catalogue.
When compiling it, I get the error message;
error:  illegal character =, line 20:
inh    = sr/2/ifq
       ^
error:  too many input args, line 20:
inh    = sr/2/ifq
error:  illegal no of output args, line 20:
inh    = sr/2/ifq
error:  input arg 'inh' used before defined, line 24:
   abuzz   gbuzz  kenv, ifq, inh, 1, .9, 5
4 syntax errors in orchestra.  compilation invalid
I don't know how to correct them. I guess, the files in the Amsterdam catalogue are very old and should be updated, is it right?
Here the two files:
The orchestra:
; ************************************************************************
; ACCCI:     50_51_1.ORC
; synthesis: subtractive synthesis(50)
;            spectrum proportional to amplitude(51)
; coded:     jpg 11/93


sr = 44100
kr  =  441
ksmps= 100
nchnls = 1


instr 1; *****************************************************************
idur   = p3
iamp   = p4
ifq    = cpspch(p5)
irise  = .2
idec   = .2
inh    = sr/2/ifq
iscale = .1

   kenv    linen  iamp, irise, idur, idec
   abuzz   gbuzz  kenv, ifq, inh, 1, .9, 5
   a1      reson  abuzz, 0, kenv * iscale, 2
           out    a1

endin

 ;;;;;;; The Score:

; ************************************************************************
; ACCCI:     50_51_1.SCO
; coded:     jpg 11/93

; GEN functions **********************************************************
; envelopes
f5  1   8192  11   1


; score ******************************************************************
t 0 80

;    start idur  iamp   ipch
i1    0     1    4000   7.00
i1    +     .    6000   .
i1    .     .    8000   .
i1    .     .    8000   7.04
i1    .     .    8000   7.07
i1    .     .    .      .
i1    .     .    7000   7.04
i1    .     .    4000   7.00

e




 


Date2009-08-02 13:11
Fromvictor
Subject[Csnd] Re: problem compiling orchestra and score from theAmsterdam catalogue
inh is now an opcode, so you will need to change the variable name to
say 'inhar'
 
Victor
----- Original Message -----
Sent: Sunday, August 02, 2009 1:07 PM
Subject: [Csnd] problem compiling orchestra and score from theAmsterdam catalogue

Dear community,
I've recently downloaded an orchestra and score-file from the amsterdam-catalogue.
When compiling it, I get the error message;
error:  illegal character =, line 20:
inh    = sr/2/ifq
       ^
error:  too many input args, line 20:
inh    = sr/2/ifq
error:  illegal no of output args, line 20:
inh    = sr/2/ifq
error:  input arg 'inh' used before defined, line 24:
   abuzz   gbuzz  kenv, ifq, inh, 1, .9, 5
4 syntax errors in orchestra.  compilation invalid
I don't know how to correct them. I guess, the files in the Amsterdam catalogue are very old and should be updated, is it right?
Here the two files:
The orchestra:
; ************************************************************************
; ACCCI:     50_51_1.ORC
; synthesis: subtractive synthesis(50)
;            spectrum proportional to amplitude(51)
; coded:     jpg 11/93


sr = 44100
kr  =  441
ksmps= 100
nchnls = 1


instr 1; *****************************************************************
idur   = p3
iamp   = p4
ifq    = cpspch(p5)
irise  = .2
idec   = .2
inh    = sr/2/ifq
iscale = .1

   kenv    linen  iamp, irise, idur, idec
   abuzz   gbuzz  kenv, ifq, inh, 1, .9, 5
   a1      reson  abuzz, 0, kenv * iscale, 2
           out    a1

endin

 ;;;;;;; The Score:

; ************************************************************************
; ACCCI:     50_51_1.SCO
; coded:     jpg 11/93

; GEN functions **********************************************************
; envelopes
f5  1   8192  11   1


; score ******************************************************************
t 0 80

;    start idur  iamp   ipch
i1    0     1    4000   7.00
i1    +     .    6000   .
i1    .     .    8000   .
i1    .     .    8000   7.04
i1    .     .    8000   7.07
i1    .     .    .      .
i1    .     .    7000   7.04
i1    .     .    4000   7.00

e




 


Date2009-08-05 14:24
FromAndres Cabrera
Subject[Csnd] Re: Re: problem compiling orchestra and score from theAmsterdam catalogue
Should this kind of things be solved by the new parser?

Cheers,
Andrés

On Sun, Aug 2, 2009 at 7:11 AM, victor <Victor.Lazzarini@nuim.ie> wrote:
inh is now an opcode, so you will need to change the variable name to
say 'inhar'
 
Victor
----- Original Message -----
Sent: Sunday, August 02, 2009 1:07 PM
Subject: [Csnd] problem compiling orchestra and score from theAmsterdam catalogue

Dear community,
I've recently downloaded an orchestra and score-file from the amsterdam-catalogue.
When compiling it, I get the error message;
error:  illegal character =, line 20:
inh    = sr/2/ifq
       ^
error:  too many input args, line 20:
inh    = sr/2/ifq
error:  illegal no of output args, line 20:
inh    = sr/2/ifq
error:  input arg 'inh' used before defined, line 24:
   abuzz   gbuzz  kenv, ifq, inh, 1, .9, 5
4 syntax errors in orchestra.  compilation invalid
I don't know how to correct them. I guess, the files in the Amsterdam catalogue are very old and should be updated, is it right?
Here the two files:
The orchestra:
; ************************************************************************
; ACCCI:     50_51_1.ORC
; synthesis: subtractive synthesis(50)
;            spectrum proportional to amplitude(51)
; coded:     jpg 11/93


sr = 44100
kr  =  441
ksmps= 100
nchnls = 1


instr 1; *****************************************************************
idur   = p3
iamp   = p4
ifq    = cpspch(p5)
irise  = .2
idec   = .2
inh    = sr/2/ifq
iscale = .1

   kenv    linen  iamp, irise, idur, idec
   abuzz   gbuzz  kenv, ifq, inh, 1, .9, 5
   a1      reson  abuzz, 0, kenv * iscale, 2
           out    a1

endin

 ;;;;;;; The Score:

; ************************************************************************
; ACCCI:     50_51_1.SCO
; coded:     jpg 11/93

; GEN functions **********************************************************
; envelopes
f5  1   8192  11   1


; score ******************************************************************
t 0 80

;    start idur  iamp   ipch
i1    0     1    4000   7.00
i1    +     .    6000   .
i1    .     .    8000   .
i1    .     .    8000   7.04
i1    .     .    8000   7.07
i1    .     .    .      .
i1    .     .    7000   7.04
i1    .     .    4000   7.00

e




 




--


Andrés