Menu

#2 Strange error running csound

open
nobody
None
5
2008-01-08
2008-01-08
No

Cabel starts OK, but when I try to run a simple example, some error messages related to CSound appear.

Example:

mahound@magrathea /tmp/tests/cabel $ python cabel.py
Localisation of messages is disabled, using default language.
time resolution is 0.937 ns
BEGAN CppSound::compile()...
BEGAN CppSound::compile(11, 0x87cda00)...
PortAudio real-time audio module for Csound
0dBFS level = 32768,0
Csound version 5.07 beta (float samples) Jan 3 2008
libsndfile-1.0.17
UnifiedCSD: tmp.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname: /tmp/fileTwL1te.orc
scorename: /tmp/fileBvu4NY.sco
rtaudio: ALSA module enabled
orch compiler:
147 lines read
opcode AdsrLinMidi k iiiii
opcode MidiNoteIn kkik iii
opcode SawVco a kk
error: numeric syntax '0.999', line 38:
kshape limit kshape, 0.001, 0.999
error: numeric syntax '0.001', line 38:
kshape limit kshape, 0.001, 0.999
opcode Amp a ak
opcode ControlMultiply k kk
opcode SquareVco a kk
error: numeric syntax '0.999', line 63:
kpw limit kpw, 0.001, 0.999
error: numeric syntax '0.001', line 63:
kpw limit kpw, 0.001, 0.999
opcode Mixer4 a akakakak
opcode MoogVcf a akk
opcode AnalogEcho a aiiii
error: numeric syntax '0.0396', line 95:
atap1 deltapi 0.0396*idelay
error: numeric syntax '0.0662', line 96:
atap2 deltapi 0.0662*idelay
error: numeric syntax '0.1194', line 97:
atap3 deltapi 0.1194*idelay
error: numeric syntax '0.1726', line 98:
atap4 deltapi 0.1726*idelay
error: numeric syntax '0.2790', line 99:
atap5 deltapi 0.2790*idelay
error: numeric syntax '0.3328', line 100:
atap6 deltapi 0.3328*idelay
error: numeric syntax '0.33', line 108:
kfade linsegr 1, 0.01, 1, 0.33*idelay*(1+ifdbk)*(1+iecho), 0
error: numeric syntax '0.01', line 108:
kfade linsegr 1, 0.01, 1, 0.33*idelay*(1+ifdbk)*(1+iecho), 0
opcode PcmMonoOut 0 a
instr 1
error: numeric syntax '0.0', line 131:
aout6 init 0.0
error: numeric syntax '0.2', line 132:
kenv7 AdsrLinMidi 15000.0, 0.01, 0.3, 0.2, 0.2
error: numeric syntax '0.2', line 132:
kenv7 AdsrLinMidi 15000.0, 0.01, 0.3, 0.2, 0.2
error: numeric syntax '0.3', line 132:
kenv7 AdsrLinMidi 15000.0, 0.01, 0.3, 0.2, 0.2
error: numeric syntax '0.01', line 132:
kenv7 AdsrLinMidi 15000.0, 0.01, 0.3, 0.2, 0.2
error: numeric syntax '15000.0', line 132:
kenv7 AdsrLinMidi 15000.0, 0.01, 0.3, 0.2, 0.2
error: numeric syntax '127.0', line 133:
kfrq4, knote4, ivel4, kafttch4 MidiNoteIn 20000.0, 0.0, 127.0
error: numeric syntax '0.0', line 133:
kfrq4, knote4, ivel4, kafttch4 MidiNoteIn 20000.0, 0.0, 127.0
error: numeric syntax '20000.0', line 133:
kfrq4, knote4, ivel4, kafttch4 MidiNoteIn 20000.0, 0.0, 127.0
error: numeric syntax '0.001', line 134:
aout1 SawVco kfrq4, 0.001
error: numeric syntax '0.2', line 135:
kenv5 AdsrLinMidi ivel4, 0.1, 0.2, 0.7, 0.2
error: numeric syntax '0.7', line 135:
kenv5 AdsrLinMidi ivel4, 0.1, 0.2, 0.7, 0.2
error: numeric syntax '0.2', line 135:
kenv5 AdsrLinMidi ivel4, 0.1, 0.2, 0.7, 0.2
error: numeric syntax '0.1', line 135:
kenv5 AdsrLinMidi ivel4, 0.1, 0.2, 0.7, 0.2
error: numeric syntax '0.5', line 137:
kpro9 ControlMultiply kfrq4, 0.5
error: numeric syntax '0.5', line 138:
aout10 SquareVco kpro9, 0.5
error: numeric syntax '1.01', line 139:
kpro13 ControlMultiply kfrq4, 1.01
error: numeric syntax '0.001', line 140:
aout14 SawVco kpro13, 0.001
error: numeric syntax '0.0', line 141:
ain412 = 0.0
error: numeric syntax '1.0', line 142:
aout12 Mixer4 aout1, 0.4, aout14, 0.4, aout10, 0.3, ain412, 1.0
error: numeric syntax '0.3', line 142:
aout12 Mixer4 aout1, 0.4, aout14, 0.4, aout10, 0.3, ain412, 1.0
error: numeric syntax '0.4', line 142:
aout12 Mixer4 aout1, 0.4, aout14, 0.4, aout10, 0.3, ain412, 1.0
error: numeric syntax '0.4', line 142:
aout12 Mixer4 aout1, 0.4, aout14, 0.4, aout10, 0.3, ain412, 1.0
error: numeric syntax '0.5', line 143:
aout6 MoogVcf aout12, kenv7, 0.5
error: numeric syntax '0.169', line 144:
aout15 AnalogEcho aout11, 1.0, 0.839, 0.411, 0.169
error: numeric syntax '0.411', line 144:
aout15 AnalogEcho aout11, 1.0, 0.839, 0.411, 0.169
error: numeric syntax '0.839', line 144:
aout15 AnalogEcho aout11, 1.0, 0.839, 0.411, 0.169
error: numeric syntax '1.0', line 144:
aout15 AnalogEcho aout11, 1.0, 0.839, 0.411, 0.169
40 syntax errors in orchestra. compilation invalid
ENDED CppSound::compile.
ENDED CppSound::compile.

Discussion


Log in to post a comment.