Noise Reduction Suggestions?
SuperSawSorcery
Posts: 3
in Propeller 1
Hello. I'm kind of new to these forums. I was playing with the really cool audio demo in the propeller tool and trying to learn from it and noticed that recording audio from the jack on my Activity Board WX is fairly noisy. A lot of background hiss and all that. I was wondering if anyone here has suggestions to alleviate that.
Comments
http://sim.okawa-denshi.jp/en/Fkeisan.htm
And getting the best results means that you select the best (expensive) IC:s you can find!
Enjoy!
Mike
ShiftRight := 0
Accu := Accu - ShiftRight(Accu) + newSample
OutValue := Accu
This is quite senseless if ShiftRight == 0, because you substract Accu from Accu, add NewSample and output newSample. But just another example for a complex solution to a simple problem.
But if ShiftRight == 1, you add to half of the Accumulator the new value what realizes a RC-filter., now you can play with ShiftRight to see, what happens.. Sorry: to hear what happens. We will see what happens November third.
If you used floating point, which I don't recommend due to its complexity and poor performance, it would just look like this:
EDIT: Fixed usage of **.
https://forums.parallax.com/discussion/133173/fir2pasm-automatic-fir-filter-code-generator/p1
-Phil
IntTimP is the time constant, MaxAvrg the highest possible value of the time constant. Take care that the accumulator can not overflow
If so allow the audio to pass straight through from input to output (call this OUT1), and at the same time apply a HIGH-PASS filter to the input and output that as (OUT2). Treat OUT2 as an error correction for OUT1 in a PID loop.
This is one of many tricks used in noise cancellation headphones. Another trick is to use FFT to denote stationary frequencies present in the input and apply that similarly into a PID as well.
Thanks for the reminder!
I already had these calculators bookmarked but forgot about them.
I have been having trouble with stabilising a couple of servo motors, to no avail. Your post prompted me to look at my LPF and wouldn't you know it
My little pack of caps, clearly state 2.2nf and so I checked them with my meter... Whoa, 2.2uf!!!!
I source my parts from a big-name vendor and this is not the first time that this has happened.
I lost a day, playing with my PID and looking for mechanical backlash (position feedback is on the load)
Regards,
Craig
http://forums.parallax.com/discussion/141346/yet-another-wave-player-now-nco-based-and-noise-almost-free
Which output method is used in "really cool audio demo in the propeller tool"? If it is duty mode PWM, the noise may be due to the high intrinsic subharmonic content of that method. The method suggested by PIK33 uses a standard single-frequency PWM with noise shaping.
Also this followup...
http://forums.parallax.com/discussion/148280/prop-sound-quality-question