[Csnd-dev] csoundGetNamedGEN and csoundIsNamedGEN()..
| Date | 2016-06-26 08:56 |
| From | Rory 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.
|
| Date | 2016-06-26 09:33 |
| From | Guillermo Senna |
| Subject | Re: [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. |
| Date | 2016-06-26 09:45 |
| From | Rory Walsh |
| Subject | Re: [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, |