You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes. I need streaming resampling (48k=>16k) before streaming voice detection.
I want to cache the original (48k) audio, but I don't konw how to set the buffer size. (I implement the soxr_delay,the value is 0)
Activity
dofuuz commentedon Apr 29, 2024
It's not implemented in python-soxr.
May I ask why do you need soxr_delay? It's not needed unless doing low-delay real-time processing with
soxr.ResampleStream.pengzhendong commentedon Apr 29, 2024
Yes. I need streaming resampling (48k=>16k) before streaming voice detection.
I want to cache the original (48k) audio, but I don't konw how to set the buffer size. (I implement the soxr_delay,the value is 0)
How to deal with the consistent? Thanks.
dofuuz commentedon Apr 29, 2024
You should add FIFO buffer to output if you need constant sample size.