Skip to main content
6 events
when toggle format what by license comment
May 25, 2023 at 6:49 vote accept adrienbourgeois
May 19, 2023 at 15:22 history edited Matt L. CC BY-SA 4.0
edited body
May 19, 2023 at 1:54 comment added ZaellixA Nice. One note to make here (more of an addition to your answer than anything else) is that very often nowadays most algorithms include an oversampling step before the processing and a downsampling step (to bring the audio back to its original rate) after the process. Before the latter, all high frequencies that would be aliased are filtered and the result is less aliasing in the final product.
May 18, 2023 at 18:03 comment added robert bristow-johnson This is pretty close, Matt. I would suggest flattening the sine more using a high-order smoothstep function. And then we need an LTI filter that has for its step response something like a critical or over-damped 2nd-order response: $$ y(t) = (e^{-t} - e^{-2t}) u(t) $$ It's possible that the OP's algorithm did zero-crossing detection and the output would look the same no matter what periodic waveform went in.
May 18, 2023 at 17:18 history edited Matt L. CC BY-SA 4.0
added 2 characters in body
May 18, 2023 at 17:09 history answered Matt L. CC BY-SA 4.0