Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Issue with strings in score

Date2017-02-12 15:47
FromSteven Yi
Subject[Csnd-dev] Issue with strings in score
Attachmentsdynamics.csd  
Hi All,

I was working on an example to send on the user's list and I came
across a bug. With the attached CSD, I get:

WARNING: instr Exprion_St not found, assuming insno = -1

I haven't had a chance to research further but thought I'd post it
before I forgot about it.

Thanks,
steven

Date2017-02-12 15:50
FromSteven Yi
SubjectRe: [Csnd-dev] Issue with strings in score
Attachmentsdynamics.csd  
Here's another version that has problems.  Looks like the printed
value in instr 1 is "dynamic" and not "dynamics".

On Sun, Feb 12, 2017 at 10:47 AM, Steven Yi  wrote:
> Hi All,
>
> I was working on an example to send on the user's list and I came
> across a bug. With the attached CSD, I get:
>
> WARNING: instr Exprion_St not found, assuming insno = -1
>
> I haven't had a chance to research further but thought I'd post it
> before I forgot about it.
>
> Thanks,
> steven

Date2017-02-12 16:06
FromEduardo Moguillansky
SubjectRe: [Csnd-dev] Issue with strings in score
Yes, I had this problem before, prints seems to swallow all "s" characters

try:

i1 0 0.1 "0s1s2s3s" 0.25

It will print 0123

On Sonntag, 12. Februar 2017 16:50:52 CET, Steven Yi wrote:
> Here's another version that has problems.  Looks like the printed
> value in instr 1 is "dynamic" and not "dynamics".
>
> On Sun, Feb 12, 2017 at 10:47 AM, Steven Yi  wrote:
>> Hi All,
>> 
>> I was working on an example to send on the user's list and I came
>> across a bug. With the attached CSD, I get:
>> 
>> WARNING: instr Exprion_St not found, assuming insno = -1
>> 
>> I haven't had a chance to research further but thought I'd post it ...
>
>

Date2017-02-12 16:14
FromSteven Yi
SubjectRe: [Csnd-dev] Issue with strings in score
I think it's not prints here, but something deeper, as the warning
comes not from using prints but from the scheduler trying to
instantiate an instrument with name "Exprio_St".  That hints to me
that it's something in the parsing of the string, but I haven't looked
at it deeply.

On Sun, Feb 12, 2017 at 11:06 AM, Eduardo Moguillansky
 wrote:
> Yes, I had this problem before, prints seems to swallow all "s" characters
>
> try:
>
> i1 0 0.1 "0s1s2s3s" 0.25
>
> It will print 0123
>
> On Sonntag, 12. Februar 2017 16:50:52 CET, Steven Yi wrote:
>>
>> Here's another version that has problems.  Looks like the printed
>> value in instr 1 is "dynamic" and not "dynamics".
>>
>> On Sun, Feb 12, 2017 at 10:47 AM, Steven Yi  wrote:
>>>
>>> Hi All,
>>>
>>> I was working on an example to send on the user's list and I came
>>> across a bug. With the attached CSD, I get:
>>>
>>> WARNING: instr Exprion_St not found, assuming insno = -1
>>>
>>> I haven't had a chance to research further but thought I'd post it ...
>>
>>
>>
>>

Date2017-02-12 16:29
Fromjpff
SubjectRe: [Csnd-dev] Issue with strings in score
Thougt I had fixed that; d*mn!


On Sun, 12 Feb 2017, Steven Yi wrote:

> Hi All,
>
> I was working on an example to send on the user's list and I came
> across a bug. With the attached CSD, I get:
>
> WARNING: instr Exprion_St not found, assuming insno = -1
>
> I haven't had a chance to research further but thought I'd post it
> before I forgot about it.
>
> Thanks,
> steven

Date2017-02-12 16:40
Fromjpff
SubjectRe: [Csnd-dev] Issue with strings in score
fixed in git

On Sun, 12 Feb 2017, Steven Yi wrote:

> Hi All,
>
> I was working on an example to send on the user's list and I came
> across a bug. With the attached CSD, I get:
>
> WARNING: instr Exprion_St not found, assuming insno = -1
>
> I haven't had a chance to research further but thought I'd post it
> before I forgot about it.
>
> Thanks,
> steven

Date2017-02-12 17:16
FromSteven Yi
SubjectRe: [Csnd-dev] Issue with strings in score
I just recompiled and things are rendering correctly now. I'll post
the updated CSD to the user list now.

Thanks!
steven

On Sun, Feb 12, 2017 at 11:40 AM, jpff  wrote:
> fixed in git
>
> On Sun, 12 Feb 2017, Steven Yi wrote:
>
>> Hi All,
>>
>> I was working on an example to send on the user's list and I came
>> across a bug. With the attached CSD, I get:
>>
>> WARNING: instr Exprion_St not found, assuming insno = -1
>>
>> I haven't had a chance to research further but thought I'd post it
>> before I forgot about it.
>>
>> Thanks,
>> steven
>>