| Something seems a little amiss with the explicit
warning level command line flags. I'm using
Csound version 5.12 (double samples) Jan 17 2010
First, with no flags, all is as expected (except
for the misguided p-field usage due to passign):
csound -dRWf zith.orc zith.sco -o zith.wav
WARNING: instr 1 uses 3 p-fields but is given 5
B 0.000 .. 10.000 T 10.000 TT 10.000 M: 0.04964 0.04964
WARNING: instr 1 uses 3 p-fields but is given 5
B 10.000 .. 20.000 T 20.000 TT 20.000 M: 0.04993 0.04993
WARNING: instr 1 uses 3 p-fields but is given 5
B 20.000 .. 21.000 T 21.000 TT 21.000 M: 0.04989 0.04989
Now, I can suppress the warnings with the correspsonding
flag, but it seems that --m-colours implies -m-dB:
csound -dRWf --m-warnings=0 --m-colours=1 zith.orc zith.sco -o zith.wav
B 0.000 .. 10.000 T 10.000 TT 10.000 M: -26.08 -26.08 // shows in colour
B 10.000 .. 20.000 T 20.000 TT 20.000 M: -26.03 -26.03
B 20.000 .. 21.000 T 21.000 TT 21.000 M: -26.04 -26.04
Adding an explicit suppression of the dB does not help:
csound -dRWf --m-warnings=0 --m-colours=1 --m-dB=0 zith.orc zith.sco -o zith.wav
B 0.000 .. 10.000 T 10.000 TT 10.000 M: -26.08 -26.08 // in colour
B 10.000 .. 20.000 T 20.000 TT 20.000 M: -26.03 -26.03
B 20.000 .. 21.000 T 21.000 TT 21.000 M: -26.04 -26.04
Looking at the -m flag, I tried:
csound -dRWf -m 513 zith.orc zith.sco -o zith.wav // 1 + 512 (raw amp
all colours)
B 0.000 .. 10.000 T 10.000 TT 10.000 M: 0.04964 0.04964 // raw but no colour
B 10.000 .. 20.000 T 20.000 TT 20.000 M: 0.04993 0.04993
B 20.000 .. 21.000 T 21.000 TT 21.000 M: 0.04989 0.04989
while:
csound -dRWf -m 97 zith.orc zith.sco -o zith.wav
B 0.000 .. 10.000 T 10.000 TT 10.000 M: -26.08 -26.08 // correct;
dB, all colours
B 10.000 .. 20.000 T 20.000 TT 20.000 M: -26.03 -26.03
B 20.000 .. 21.000 T 21.000 TT 21.000 M: -26.04 -26.04
I also noticed that one can not achieve the same things with the long options
as with the integer sum. Color is either on or off, while with the
integer spec,
one can color only for out of range values. Perhaps --m-colour should allow
three values, 0, 1 and 2 for symmetry.
If it is agreed that there is a problem with the flags, perhaps it will not
be considered pressing. In that case I'd be interested in investigating
this under some helpful direction. The sources are quite opaque to me
as yet.
Thanks,
Tobiah
Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |