News for hackers. Stuff that matters.
Re:Audio Processing for Dummies by tripzilch on Wednesday November 13, 2019 @05:50AM (#21522764)
Is this a good example of how things are done in Rust, or is it over-engineered?

I'm pretty sure you should be able to code a thing like a noise gate in 10-15 lines of code.

... and then there's this rather odd statement:

> If we want to use the NoiseGate in realtime applications we’ll need to make sure it can handle typical sample rates.

Maybe I just think it's funny. Back in the early 2000s I used to worry about that and even back then, it's... 44100 samples per second. A whole second to process no more than 44100 numbers, maybe twice that if you have stereo. Unless you're doing something really weird (and Rust should be pretty performant, right?) that shouldn't make the machine even blink.

There are no comments on this comment yet.