Hi Jeanette,
I had a quick glance at the inverse sweep you generate and I think the deconvolution with it creates an IR that is rotated by 1/2 frame. So the actual IR starts midway, the first half is a time-aliased version. If you crop the result to 1/2 size by discarding the first part then you should be good to go.
In my Python code, the IR is the first half of the frame, second half is the time-aliased bit.
Prof. Victor Lazzarini
Maynooth University
Ireland
*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.
Hi Victor,
thanks again for your script. The actual convolution is something I'd like to
convert to Csound using its fft/ifft or rfft/rifft functions with a loop.
In my current version, I'm right at the stage where I trim the raw IR. The raw
IR preoduced by convolving the recorded reverb with the inverse/reverse sine
sweep produces a file with a quieter version of the original sine sweep at the
beginning and then goes into the actual IR, as you would expect it.
My approach here is to detect samples crossing a certain onset threshhold,
something like 10% of maximum as a starter. Is that even necessary, or should
I just cut away the length of the original sweep? If the onset threshhold is
the better way: should I look back to the nearest 0-crossing?
Best wishes,
Jeanette
--
* PeerTube: Jeanette C. - MakerTube
* GitHub: jeanette-c · GitHub
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
Csound mailing list
Csound@listserv.heanet.ie
LISTSERV 16.5 - CSOUND List at LISTSERV.HEANET.IE
Send bugs reports to
Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here
The information contained in this email may be confidential and privileged. It is intended only for the addressees stated above. If you are not an addressee any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this email in error, please immediately notify us by email at dataprotection@mu.ie<mailto:dataprotection@mu.ie> and delete this email from your system.
Please note that Maynooth University is subject to Freedom of Information and Data Protection laws. We may be required to disclose the content of emails under the FOI Act 2014, the Data Protection Act 2018 or GDPR.
Is don seolaí / do na seolaithe thuasluaite amháin an ríomhphost seo. D’fhéadfadh an t-eolas atá ann a bheith rúnda agus faoi phribhléid. Mura seolaí tú, tá cosc iomlán ar aon eolas atá sa ríomhphost seo a úsáid, a scaipeadh, a dháileadh, a fhoilsiú nó a chóipeáil. Má fuair tú an ríomhphost seo trí thimpiste, cuir sin in iúl dúinn láithreach trí ríomhphost a chur chuig dataprotection@mu.ie<mailto:dataprotection@mu.ie> agus scrios an ríomhphost seo ó do chóras.
Tabhair faoi deara go bhfuil Ollscoil Mhá Nuad faoi réir dhlíthe um Shaoráil Faisnéise agus um Chosaint Sonraí. D’fhéadfadh ceangal a bheith orainn ábhar ríomhphoist a nochtadh faoin Acht um Shaoráil Faisnéise 2014, faoin Acht um Chosaint Sonraí 2018 nó faoi GDPR.
Registered charity number 20037130
Csound mailing list
Csound@listserv.heanet.ie
Send bugs reports to
Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here