Csound Csound-dev Csound-tekno Search About

[Csnd] getting fgens via API

Date2017-09-11 09:21
FromFrancesco Porta
Subject[Csnd] getting fgens via API
Hello All,
i'm trying to write a Lua program for display all tables created in a csd.
Until now i was able to read the ftables in the score section but how can i
read table in the orchestra section i.e. when the GENs are named gens?
How can i retrieve the table number from table name?
And is there a way to reading all tables before executing the csd?

Thanks,
ciao,
francesco.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-09-11 09:29
FromRory Walsh
SubjectRe: [Csnd] getting fgens via API
Tables can be retrieved using csoundGetTable whether they are created in the score or orchestra. You can also work with named channels by using one of the utilities methods presented here:

On 11 September 2017 at 09:21, Francesco Porta <francescoarmandoporta@gmail.com> wrote:
Hello All,
i'm trying to write a Lua program for display all tables created in a csd.
Until now i was able to read the ftables in the score section but how can i
read table in the orchestra section i.e. when the GENs are named gens?
How can i retrieve the table number from table name?
And is there a way to reading all tables before executing the csd?

Thanks,
ciao,
francesco.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here