Csound Csound-dev Csound-tekno Search About

[Csnd] Dynamic table size and csoundTableCopyIn()

Date2018-10-04 22:57
FromHector Centeno
Subject[Csnd] Dynamic table size and csoundTableCopyIn()
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 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

Date2018-10-04 23:39
FromVictor Lazzarini
SubjectRe: [Csnd] Dynamic table size and csoundTableCopyIn()
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 <hcengar@GMAIL.COM> 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 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