Csound Csound-dev Csound-tekno Search About

[Csnd] Reload a table from .wav file

Date2017-12-08 22:45
FromRoger Kelly
Subject[Csnd] Reload a table from .wav file
What is the best and fastest way to reload a table from a .WAV at runtime?

Basically I am sending the filename over OSC and want to have the orchestra reload the same table# at runtime.

I know I can do ftgen..but it looks a bit complex. 
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-12-09 09:39
FromRory Walsh
SubjectRe: [Csnd] Reload a table from .wav file
I normally do this with ftgen and a reinit. It has always worked fine for me.

On 8 December 2017 at 22:45, Roger Kelly <loraxman@gmail.com> wrote:
What is the best and fastest way to reload a table from a .WAV at runtime?

Basically I am sending the filename over OSC and want to have the orchestra reload the same table# at runtime.

I know I can do ftgen..but it looks a bit complex. 
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

Date2017-12-10 19:14
FromRoger Kelly
SubjectRe: [Csnd] Reload a table from .wav file
Is the reinit required? Does this free the original memory allocated by the table?

On Sat, Dec 9, 2017 at 3:39 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
I normally do this with ftgen and a reinit. It has always worked fine for me.

On 8 December 2017 at 22:45, Roger Kelly <loraxman@gmail.com> wrote:
What is the best and fastest way to reload a table from a .WAV at runtime?

Basically I am sending the filename over OSC and want to have the orchestra reload the same table# at runtime.

I know I can do ftgen..but it looks a bit complex. 
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

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-12-10 19:26
FromRory Walsh
SubjectRe: [Csnd] Reload a table from .wav file
I'm not sure, but I believe ftgen will simply overwrite the existing table. 

On 10 December 2017 at 19:14, Roger Kelly <loraxman@gmail.com> wrote:
Is the reinit required? Does this free the original memory allocated by the table?

On Sat, Dec 9, 2017 at 3:39 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
I normally do this with ftgen and a reinit. It has always worked fine for me.

On 8 December 2017 at 22:45, Roger Kelly <loraxman@gmail.com> wrote:
What is the best and fastest way to reload a table from a .WAV at runtime?

Basically I am sending the filename over OSC and want to have the orchestra reload the same table# at runtime.

I know I can do ftgen..but it looks a bit complex. 
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

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

Date2017-12-11 08:42
FromVictor Lazzarini
SubjectRe: [Csnd] Reload a table from .wav file
reinit is only required if you want an instrument to run the init pass again. If ftgen is in a separate instrument, you can just run it and
the table will be rewritten.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 10 Dec 2017, at 19:26, Rory Walsh  wrote:
> 
> I'm not sure, but I believe ftgen will simply overwrite the existing table. 
> 
> On 10 December 2017 at 19:14, Roger Kelly  wrote:
> Is the reinit required? Does this free the original memory allocated by the table?
> 
> On Sat, Dec 9, 2017 at 3:39 AM, Rory Walsh  wrote:
> I normally do this with ftgen and a reinit. It has always worked fine for me. 
> 
> On 8 December 2017 at 22:45, Roger Kelly  wrote:
> What is the best and fastest way to reload a table from a .WAV at runtime?
> 
> Basically I am sending the filename over OSC and want to have the orchestra reload the same table# at runtime.
> 
> I know I can do ftgen..but it looks a bit complex. 
> 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
> 
> 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

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-12-13 17:07
FromRoger Kelly
SubjectRe: [Csnd] Reload a table from .wav file
Ok great. That was my major concern in my case was memory on the table getting reclaimed.

On Mon, Dec 11, 2017 at 2:42 AM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
reinit is only required if you want an instrument to run the init pass again. If ftgen is in a separate instrument, you can just run it and
the table will be rewritten.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 10 Dec 2017, at 19:26, Rory Walsh <rorywalsh@EAR.IE> wrote:
>
> I'm not sure, but I believe ftgen will simply overwrite the existing table.
>
> On 10 December 2017 at 19:14, Roger Kelly <loraxman@gmail.com> wrote:
> Is the reinit required? Does this free the original memory allocated by the table?
>
> On Sat, Dec 9, 2017 at 3:39 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
> I normally do this with ftgen and a reinit. It has always worked fine for me.
>
> On 8 December 2017 at 22:45, Roger Kelly <loraxman@gmail.com> wrote:
> What is the best and fastest way to reload a table from a .WAV at runtime?
>
> Basically I am sending the filename over OSC and want to have the orchestra reload the same table# at runtime.
>
> I know I can do ftgen..but it looks a bit complex.
> 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
>
> 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

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