[Csnd] size of table
Date | 2021-05-16 16:40 |
From | tjingboem |
Subject | [Csnd] size of table |
Perhaps cross posting, but i don't know if my message will be read by all if i post on The Csound Forum only... Hi, i have created a pvx file using pvanal. Now i want to use this pvx file as a mask in an instrument, and i have to put it in a table. filelen — Returns the length of a sound file! but not a pvx file |
Date | 2021-05-16 16:57 |
From | john |
Subject | Re: [Csnd] size of table |
Reasing the code it looksas if te sixze must be greater or equal to kalf the (fftsize+1). looking at the problem more widely I cannot see why tis camnot be canged dynamcally to allocate what is needed. Ris isVictor's code so prhaps he sjpuld comment. ==John ff On Sun, 16 May 2021, tjingboem wrote: > > Perhaps cross posting, but i don't know if my message will be read by all if i > post on The Csound Forum only... > > > Hi, > i believe i have a chicken and egg issue here… > > i have created a pvx file using pvanal. > The output is: > analysing 35280 sample frames (0.8 secs) from timepoint 1.0 > frameSize=1024 > 1024 infrsize, 256 infrInc > 135 output frames estimated > pvanal: creating pvocex file > 20 > 40 > 60 > 80 > 100 > 120 > 140 > 160 > > Now i want to use this pvx file as a mask in an instrument, and i have to put > it in a table. > But i do not know the table size, and deferred size is not allowed. > How can i get to know the table size of the pvx file? > > filelen — Returns the length of a sound file! but not a pvx file > ftlen - deferred size for GENs 1, 2, 23, 28 or 49 only, so GEN 43 is not one > of them > tableng - same thing as ftlen > > 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 |
Date | 2021-05-16 20:04 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] size of table |
Sounds like we could use a pvxlen opcode Dr. Richard Boulanger Professor Electronic Production and Design Berklee College of Music On May 16, 2021, at 11:41 AM, tjingboem <magknevel@gmail.com> wrote:
|
Date | 2021-05-16 22:18 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] size of table |
size of table is DFT size divided by 2. So if analysis with N=1024, use at table size of 512. see https://csound.com/docs/manual/GEN43.html size -- number of points in the table, power-of-two or power-of-two plus 1. GEN 43 does not make any distinction between these two sizes, but it requires the table to be at least the fftsize/2. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 16 May 2021, at 16:57, john |