Csound Csound-dev Csound-tekno Search About

[Csnd-dev] csoundGetNamedGEN and csoundIsNamedGEN()..

Date2016-06-26 08:56
FromRory Walsh
Subject[Csnd-dev] csoundGetNamedGEN and csoundIsNamedGEN()..
csoundGetNamedGEN works fine for me, but csoundIsNamedGen always returns a 0. For now I can query the length of the name retrieved by csoundGetNamedGen(). Let me know if you see the same problems. Otherwise I'll prepare a sample app. 

Date2016-06-26 09:33
FromGuillermo Senna
SubjectRe: [Csnd-dev] csoundGetNamedGEN and csoundIsNamedGEN()..
Hi Rory,

It works for me. Victor fixed an abs() issue a couple of hours after he
implemented the functions. Is your local copy of Csound recent enough?

Maybe you can try this in Cabbage to check:
        MYFLT* argsPtr;
        int noOfArgs = csoundGetTableArgs(csound->GetCsound(), &argsPtr,
tableNum);
        const int len = csoundIsNamedGEN(csound->GetCsound(),
abs(argsPtr[0]));
 



On 26/06/16 04:56, Rory Walsh wrote:
> csoundGetNamedGEN works fine for me, but csoundIsNamedGen always returns a
> 0. For now I can query the length of the name retrieved by
> csoundGetNamedGen(). Let me know if you see the same problems. Otherwise
> I'll prepare a sample app.

Date2016-06-26 09:45
FromRory Walsh
SubjectRe: [Csnd-dev] csoundGetNamedGEN and csoundIsNamedGEN()..
Thanks Guillermo. It's all working as expected now. 

On 26 June 2016 at 09:33, Guillermo Senna <gsenna@gmail.com> wrote:
Hi Rory,

It works for me. Victor fixed an abs() issue a couple of hours after he
implemented the functions. Is your local copy of Csound recent enough?

Maybe you can try this in Cabbage to check:
        MYFLT* argsPtr;
        int noOfArgs = csoundGetTableArgs(csound->GetCsound(), &argsPtr,
tableNum);
        const int len = csoundIsNamedGEN(csound->GetCsound(),
abs(argsPtr[0]));




On 26/06/16 04:56, Rory Walsh wrote:
> csoundGetNamedGEN works fine for me, but csoundIsNamedGen always returns a
> 0. For now I can query the length of the name retrieved by
> csoundGetNamedGen(). Let me know if you see the same problems. Otherwise
> I'll prepare a sample app.
>