[Csnd] Problems with gen23 on win
Date | 2014-02-25 15:08 |
From | Andreas Bergsland |
Subject | [Csnd] Problems with gen23 on win |
Attachments | test3.txt |
Hi,
I have some problems with gen23 on win7 with the latest installer of csound6.02. It seems that csound omits some of the numerical character when it reads the values from the text file, making for instance 947.3 into 47.3. Here is the csd, the text file is attached Best, Andreas <CsoundSynthesizer> <CsOptions> -odac1 </CsOptions> <CsInstruments> gitab ftgen 0, 0, 0, -23, "test3.txt" instr 1 ilen tableng gitab kind linseg 0, p3, ilen kindx = int(kind) kout table kindx, gitab printf "index = %i, kvalue = %3.5f\n", kindx, kindx, kout endin </CsInstruments> <CsScore> i1 0 1 </CsScore> </CsoundSynthesizer> |
Date | 2014-02-25 16:10 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Problems with gen23 on win |
This is to do with the line endings (seen as ^M in emacs, forgot what sequence they are), if they’re gone, it works. John might know how to fix it. Victor On 25 Feb 2014, at 15:08, Andreas Bergsland |
Date | 2014-02-25 18:19 |
From | Andreas Bergsland |
Subject | Re: [Csnd] Problems with gen23 on win |
Attachments | andreas_bergsland.vcf |
OK, thanks! Knowing it I can find a workaround until it is fixed. Andreas > This is to do with the line endings (seen as ^M in emacs, forgot what sequence they are), if they’re gone, it works. > John might know how to fix it. > > Victor > On 25 Feb 2014, at 15:08, Andreas Bergsland |
Date | 2014-02-26 13:35 |
From | Andreas Bergsland |
Subject | SV: [Csnd] Problems with gen23 on win |
Attachments | test.txt |
I tried now without new line characters in the text file, but GEN 23 still seems to omit the first numerical character in front of the decimal sign. I really don't know how to work around this. Best, Andreas |