|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
string bug, I thinkHello there,
I have recently started using strings and I think I've found one or two bugs, many apologies if these have already been noticed or I'm doing something wrong! First I noticed that while score lines like these: i "snare" 0 1 3 i 1 0 1 3 "a_string" (with the string "a_string" passed to strget in the orc) both work fine, when I tried this: i "snare" 0 1 3 "a_string" (with the string "a_string" passed to strget in the orc) It generated errors and wouldn't play. So then I went back to using non-named instruments, which worked fine until I passed more than one string to the orc like this: i 1 0 1 "string_1" "string_2" "string_3" It seems to only recognise the last string. When I debugged using prints, strget p4, p5, p6 etc. ALL seem to return the last string (in the example - "string_3"). Attached are two csds which demonstrate this behaviour. I assume the same bug (if bug it is) is responsible for both issues... I have tried examples like this on osx (ppc, tiger, csound says it's v5.07) and Debianppc (csound 5.08 I think - the recent debian package), using csound from the command line. I'm right in the middle of working on something for which I would like to use strings in this way, should I give up for the time being? Joe Send bugs reports to this list. To unsubscribe, send email sympa@... with body "unsubscribe csound" <CsoundSynthesizer> ; this CSD file was generated with makecsd v1.1 ; (written by Istvan Varga, Mar 2003) <CsOptions> ; set command line options here </CsOptions> <CsInstruments> instr 1 Stest strget p4 Stest2 strget p5 prints Stest prints Stest2 endin </CsInstruments> <CsScore> i 1 0 1 "Hello, World!" "Hello again, world!" </CsScore> </CsoundSynthesizer> <CsoundSynthesizer> ; this CSD file was generated with makecsd v1.1 ; (written by Istvan Varga, Mar 2003) <CsOptions> ; set command line options here </CsOptions> <CsInstruments> instr stringtest Stest strget p4 prints Stest endin </CsInstruments> <CsScore> i "string" 0 1 "Hello, World!" </CsScore> </CsoundSynthesizer> |
|
|
Re: string bug, I thinkOne one string is possible in a score line; annoying but the case.
==John ff Send bugs reports to this list. To unsubscribe, send email sympa@... with body "unsubscribe csound" |
| Free Forum Powered by Nabble | Forum Help |