[Csnd] Dynamic table size and csoundTableCopyIn()

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] Dynamic table size and csoundTableCopyIn()

hcenteno
Hello,

Is it possible to somehow use csoundTableCopyIn() to load audio at run time into a table and have the table adapt to the size of the new audio data? Is this possible at all using the API or is replacing audio data in a table only doable with the ftgn opcode?

Thanks!

Hector


Csound mailing list [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Dynamic table size and csoundTableCopyIn()

Victor Lazzarini-2
It's possible to use it to copy data into
a table, but not to resize it. The table size
is set on creation through ftgen or
an f-statement.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Oct 2018, at 22:57, Hector Centeno <[hidden email]> wrote:

Hello,

Is it possible to somehow use csoundTableCopyIn() to load audio at run time into a table and have the table adapt to the size of the new audio data? Is this possible at all using the API or is replacing audio data in a table only doable with the ftgn opcode?

Thanks!

Hector


Csound mailing list [hidden email] 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 [hidden email] 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