[Csnd] ftgen for GEN01 during performance time
Date | 2020-02-25 17:38 |
From | Richard Knight |
Subject | [Csnd] ftgen for GEN01 during performance time |
The manual says ftgen should only be used globally: are there any options for loading soundfiles to ftables during performance, ie in an instrument? There may be a few other things I could try, the first thing I attempted was to have a ftable created at init time with a fixed size, then write to that ftable later in an instrument, in one k-cycle (ie similar to the FileToPvsBuf udo in the pvsbufread example). However that still had the same issue. Is that something that might be possible to do somehow? |
Date | 2020-02-25 18:40 |
From | Tarmo Johannes |
Subject | Re: [Csnd] ftgen for GEN01 during performance time |
Attachments | None None |
Date | 2020-02-25 19:19 |
From | Michael Gogins |
Subject | Re: [Csnd] ftgen for GEN01 during performance time |
Use ftgenonce within the instr definition, or ftgen to a global variable with a unique name just above the instr definition. On Tue, Feb 25, 2020, 18:38 Richard Knight <richard@1bpm.net> wrote:
|
Date | 2020-02-26 00:54 |
From | Richard Knight |
Subject | Re: [Csnd] ftgen for GEN01 during performance time |
Thanks, this looked great, unfortunately, the same thing still happens though, which is strange as I would have thought the async aspect would have helped. On Tue, 25 Feb 2020 20:40:34 +0200, Tarmo Johannes wrote:
|
Date | 2020-02-26 01:18 |
From | Richard Knight |
Subject | Re: [Csnd] ftgen for GEN01 during performance time |
Thanks, still getting the same issue though. For some background basically I would like to be able to load (fairly large) sound files to ftables during performance, and there are too many possible files to load globally/before performance. On Tue, 25 Feb 2020 20:19:21 +0100, Michael Gogins wrote:
|