[Csnd] Reload a table from .wav file
Date | 2017-12-08 22:45 |
From | Roger 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?
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
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. |
Date | 2017-12-09 09:39 |
From | Rory Walsh |
Subject | Re: [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:
|
Date | 2017-12-10 19:14 |
From | Roger Kelly |
Subject | Re: [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:
|
Date | 2017-12-10 19:26 |
From | Rory Walsh |
Subject | Re: [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:
|
Date | 2017-12-11 08:42 |
From | Victor Lazzarini |
Subject | Re: [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 |
Date | 2017-12-13 17:07 |
From | Roger Kelly |
Subject | Re: [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 |