| Maybe the simplest way to think of this is:
1) it takes 1 hopsize to start getting the data in
2) it takes 1 fftsize to do the complete transform
3) it takes 1 hopsize to start getting the data out
So it comes out as 2 hopsizes + 1 framesize.
For a more detailed answer, you can read the code in pvsanal.c and work it out.
Maybe Richard, who wrote this, would be able to add to this.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland
> On 20 Sep 2021, at 08:55, Jeanette C. wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Hey hey,
> working with the fantastic PVS opcodes again, I experimentally worked out the
> delay to perfectly synchronise the original audio input with the PVS output.
> Using pvsanal and pvsynth respectively, with an FFT and window size of 1024
> and an overlap of 256, I arrived at )1024 + 512) samples delay.
>
> Now why the 512? My intuition was to have the extra 256. Are the other 256
> independent of the analysis parameters or linked to either of the three
> parameters defining the FFT analysis?
>
> I think I asked about this before, but somehow didn't fully appreciate the
> answer. Though that was probably some years ago. :)
>
> Best wishes,
>
> Jeanette
>
> --
> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C98a622aa24aa4378759d08d97c0bf53e%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637677213077331330%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jVHeF9FiiiribRHb7DDDWZw2P%2BdEXjHaJagS1o18iII%3D&reserved=0 - for summer is a state of sound
> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C98a622aa24aa4378759d08d97c0bf53e%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637677213077331330%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aOmGczdwW49s5nhglGz1xo5lG9xLJkgxcqBqEKgzAog%3D&reserved=0
> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C98a622aa24aa4378759d08d97c0bf53e%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637677213077331330%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4eM3xz2pWl%2FuWTWHUmRDO3Xw0BW8XDzBQZPnKtN9hs8%3D&reserved=0
> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C98a622aa24aa4378759d08d97c0bf53e%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637677213077341325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=V751fd6C1jl9Tuxpl8Fl5wNOPEAhAbJI5ziMMpHLICQ%3D&reserved=0
>
> ... About some useless information,
> Supposed to fire my imagination <3
> (Britney Spears)
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C98a622aa24aa4378759d08d97c0bf53e%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637677213077341325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9GomlZO8Cs%2BoV0G3FcNGd%2FebDXH%2FmdMSMuno2Eu0E3Y%3D&reserved=0
> Send bugs reports to
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C98a622aa24aa4378759d08d97c0bf53e%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637677213077341325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=KihCxWT9bVInC38AiwRoA2smJW%2BBWvIHxZyRP3u7zfs%3D&reserved=0
> 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 |