Re: PWM -> Audio



On Dec 6, 2:27 pm, Vladimir Vassilevsky <antispam_bo...@xxxxxxxxxxx>
wrote:
MooseFET wrote:
A small increase in the PWM rate can make quite a large improvement in
the quality of the voice data. If you assume an upper limit on the
bandwidth of the audio of 4KHz, you want to sample at more than twice
the 4KHz.

The Nyquist frequency is the first frequency you can't fully
reepresent and not the last one you can. You want to suppress Nyquist
and above. When Nyquist equals the top of the band, this is
imposible.

PWM is the nonlinear operation, and this makes the things complicated.

How do you conclude it must be non-linear? I can think of ways it can
be but it seems that it needn't be. Even if it is non-linear, since
it is before the filter, you can correct the data to make it produce
the linear result.


The PWM data can have its frequency
responce adjusted to correct for the shape of the filter. This allows
a much simpler filter because the power in the signal decreases
greatly above 1KHz. Your filter could have its 3dB point at 1.5KHz and
the data could be boosted above 1.5KHz.

Furthermore, it is good to apply the preemphasis to the original voice
data and design the output PWM filter slope so it would do the
deemphasis. This improves the quality quite significantly.

In the extreme case, you can apply preemphasis and then do a one bit
output to a comparitor and still understand what is being said.


Vladimir Vassilevsky
DSP and Mixed Signal Design Consultanthttp://www.abvolt.com

.



Relevant Pages

  • Re: PWM -> Audio
    ... improvement in the quality of the voice data. ... responce adjusted to correct for the shape of the filter. ... voice data and design the output PWM filter slope so it would do ... This improves the quality quite significantly. ...
    (sci.electronics.design)
  • Re: Need good quality Audio output through LPC21xx controller [ LPC214x ? ]
    ... if for now we are using filters and a power amplifer We are not able ... Lpc2132 with MMC card interface,High pass filter+ Low pass filter+ ... Good Voice quality annoucement system for Public transport System ...
    (comp.arch.embedded)
  • Re: PWM -> Audio
    ... This is voice audio < 4 kHz sampled at 8 kHz. ... responce adjusted to correct for the shape of the filter. ... For voice data sourced from a server or burned ... I can buy stickers cheap :-) ...
    (sci.electronics.design)
  • Re: Questions about Photoshop CS2....
    ... After I apply a filter change to an image, ... Can I reset filters to their original settings? ... Rotating through 90 degrees for example has no effect on jpg quality Cloning a small area of the image will only cause the pixels around that area to be recompressed. ...
    (alt.photography)
  • Re: New lens for XT ?????
    ... Use a faster exposure time. ... The CoC is larger than one pixel! ... quality by keeping strong lights away from the front element. ... Do _not_ use an UV filter or protective filter of any kind for ...
    (rec.photo.digital.slr-systems)