Sign in

username:

password:



Not a member?

Search compdsp



Search tips

comp.dsp by Keywords

Adaptive Filter | ADPCM | ADSP | ADSP-2181 | Aliasing | AMR | Anti-Aliasing | ARMA | Autocorrelation | AutoCovariance | Beamforming | Bessel | Blackfin | Butterworth | C6713 | CCS | Chebyshev | CIC Filter | Circular Convolution | Code Composer Studio | Comb Filter | Compression | Convolution | Cross Correlation | DCT | Decimation | Deconvolution | Demodulation | DM642 | DSP Boards | DSP/BIOS | DTMF | Echo Cancellation | Equalization | Equalizer | ETSI | EZLITE (Ez-kit Lite) | FFT | FFTW | FIR Filter | Fixed Point | FSK | G.711 | G.723 | G.729 | Gaussian Noise | Goertzel | GPIO | Hilbert Transform | IFFT | IIR Filter | Interpolation | Invariance | JTAG | Kalman | Laplace Transform | Levinson | LPC | McBSP | MIPS | Modulation | MPEG | Multirate | Notch Filter | Nyquist | OFDM | Oversampling | Pink Noise | Pitch | PLL | Polyphase | QAM | QDMA | Quantization | Quantizer | Radar | Random Noise | Reed Solomon | Remez | Resampling | RTDX | Sampling | Sharc | TI C6711 | Undersampling | Viterbi | Wavelets | White Noise | Wiener Filter | Windowing | XDS510PP | Z Transform


Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Comp.DSP | Audio Artifacts: WAV vs. WMA

There are 35 messages in this thread.

You are currently looking at messages 0 to 10.


Audio Artifacts: WAV vs. WMA - Curious - 2004-05-28 22:59:00

The quantum of WAV file is a square wave. What is the quantum of a WMA file?
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Jerry Avins - 2004-05-28 23:52:00



Curious wrote:

> The quantum of WAV file is a square wave...

Where did that strange idea come from? For file formats, check out
http://www.wotsit.org/ and http://sox.sourceforge.net/AudioFormats.html.

What you don't know doesn't hurt much. The major trouble comes from the
the falsehoods you believe.

Jerry
-- 
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Erik de Castro Lopo - 2004-05-29 08:19:00

Curious wrote:
> 
> The quantum of WAV file is a square wave. 

No, the quantum of a WAV files is the unit impulse.

> What is the quantum of a WMA file?

WMA files decode to PCM audio which is what you have in standard
WAV files.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  n...@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
A good debugger is no substitue for a good test suite.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Curious - 2004-05-29 13:19:00

Erik de Castro Lopo <n...@mega-nerd.com> wrote in message news:<4...@mega-nerd.com>...
> Curious wrote:
> > 
> > The quantum of WAV file is a square wave. 
> 
> No, the quantum of a WAV files is the unit impulse.
> 
> > What is the quantum of a WMA file?
> 
> WMA files decode to PCM audio which is what you have in standard
> WAV files.
> 
> Erik

Low-bitrate WMA files have a pleasant type of distortion to them.
Couldn't say the same about low-bitrate WAV files.

WMA "noise" tends to be musical while WAV "noise" tends to resemble
square-waves.

I tried encoding to 32 KBPS, 44.1 KHz, mono, decreasing volume to
where it is just recognizable by WMA file, and then amplifying it back
to normal. The arftifacts are kinda interesting there.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Erik de Castro Lopo - 2004-05-29 23:24:00

Curious wrote:
> 
> Low-bitrate WMA files have a pleasant type of distortion to them.
> Couldn't say the same about low-bitrate WAV files.
> 
> WMA "noise" tends to be musical while WAV "noise" tends to resemble
> square-waves.

??????????????
 
> I tried encoding to 32 KBPS, 44.1 KHz, mono, decreasing volume to
> where it is just recognizable by WMA file, and then amplifying it back
> to normal. The arftifacts are kinda interesting there.

The artifacts are are result of the lossy encoding method used by WMA
files. No fruitful comparison can be made between the lossy encoding 
of WMA and low bit rate PCM.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  n...@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
A good debugger is no substitue for a good test suite.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Curious - 2004-05-30 12:57:00

Erik de Castro Lopo <n...@mega-nerd.com> wrote in message news:<4...@mega-nerd.com>...
> Curious wrote:
> > 
> > Low-bitrate WMA files have a pleasant type of distortion to them.
> > Couldn't say the same about low-bitrate WAV files.
> > 
> > WMA "noise" tends to be musical while WAV "noise" tends to resemble
> > square-waves.
> 
> ??????????????
>  
> > I tried encoding to 32 KBPS, 44.1 KHz, mono, decreasing volume to
> > where it is just recognizable by WMA file, and then amplifying it back
> > to normal. The arftifacts are kinda interesting there.
> 
> The artifacts are are result of the lossy encoding method used by WMA
> files. No fruitful comparison can be made between the lossy encoding 
> of WMA and low bit rate PCM.
> 
> Erik

Where -- on the internet -- can I find technical information on WMA
compression?

Most websites that discuss audio compression talk about MPEG, AC-97
and other types of compression. They get very little -- if at all --
into WMAs.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Me - 2004-06-01 08:01:00

Jerry Avins wrote:

> Curious wrote:
> 
>> The quantum of WAV file is a square wave...
> 
> Where did that strange idea come from? For file formats, check out
> http://www.wotsit.org/ and http://sox.sourceforge.net/AudioFormats.html.
> 
> What you don't know doesn't hurt much. The major trouble comes from the
> the falsehoods you believe.
> 
> Jerry

I think Radium may be back.

Jim A.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Rob Vermeulen - 2004-06-01 10:43:00

WMA is part of Microsoft's .ASF family. The encoding/decoding algoritms are
concidered "secret" and are known to Microsoft employees only.

I bet you'll find more information about MPEG encoding. This information is
considered free for non-commercial use.

What do you want to achieve with WMA encoding, anyway? You better take a
look at AACplus. That rocks your socks of when it comes to compression on
lower bitrates.

Best regards,
Rob
"Curious" <c...@yahoo.com> wrote in message
news:3...@posting.google.com...
> Erik de Castro Lopo <n...@mega-nerd.com> wrote in message
news:<4...@mega-nerd.com>...
> > Curious wrote:
> > >
> > > Low-bitrate WMA files have a pleasant type of distortion to them.
> > > Couldn't say the same about low-bitrate WAV files.
> > >
> > > WMA "noise" tends to be musical while WAV "noise" tends to resemble
> > > square-waves.
> >
> > ??????????????
> >
> > > I tried encoding to 32 KBPS, 44.1 KHz, mono, decreasing volume to
> > > where it is just recognizable by WMA file, and then amplifying it back
> > > to normal. The arftifacts are kinda interesting there.
> >
> > The artifacts are are result of the lossy encoding method used by WMA
> > files. No fruitful comparison can be made between the lossy encoding
> > of WMA and low bit rate PCM.
> >
> > Erik
>
> Where -- on the internet -- can I find technical information on WMA
> compression?
>
> Most websites that discuss audio compression talk about MPEG, AC-97
> and other types of compression. They get very little -- if at all --
> into WMAs.


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Curious - 2004-06-21 19:32:00

Erik de Castro Lopo <n...@mega-nerd.com> wrote in message news:<4...@mega-nerd.com>...
> Curious wrote:
> > 
> > The quantum of WAV file is a square wave. 
> 
> No, the quantum of a WAV files is the unit impulse.

What does the waveform of a "unit impulse" look like on a graph?

Is this the same as the "impulse wave" on the NCH tone generator
software?

For NCH info:

http://www.nch.com.au/tonegen/

> > What is the quantum of a WMA file?
> 
> WMA files decode to PCM audio which is what you have in standard
> WAV files.
> 
> Erik

What the WMA-equivalent of this "unit impulse" and what does it look
like on a graph?


What interests me is why "WMA noise" consist of pleasant tones while
"WAV noise" just plain boring noise. What in WMA is responsible for
the tones?

I have Adobe Audition 1.0. I generate a silent file. I save it as WMA
20 kbps, 44.1 KHz, mono. I convert file this to WAV and then back to
WMA several times. I make my last conversion to WMA and save it. I
then open this WMA file. Finally I increase the volume of the audio in
the WMA file and play. Intrigueing tones result. These tones are
typical in low bit-rate, high-sample rate WMA files.

If anyone has a valid email address I can send them a WMA file with
the characteristics I am talking about.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Audio Artifacts: WAV vs. WMA - Erik de Castro Lopo - 2004-06-22 03:50:00

Curious wrote:
> 
> Erik de Castro Lopo <n...@mega-nerd.com> wrote in message news:<4...@mega-nerd.com>...
> > Curious wrote:
> > >
> > > The quantum of WAV file is a square wave.
> >
> > No, the quantum of a WAV files is the unit impulse.
> 
> What does the waveform of a "unit impulse" look like on a graph?

ASCII art (ie only make sense with fixed width font):

                             .



      zero  ................. .....................

which each '.' is a time domain sample.

> Is this the same as the "impulse wave" on the NCH tone generator
> software?

Probably. "Unit impulse" is a standard DSP term.
 
> What the WMA-equivalent of this "unit impulse" and what does it look
> like on a graph?

No idea. Maybe you should generate an impuse, encode it as WMA and
then decode it back to WAV.

> What interests me is why "WMA noise" consist of pleasant tones while
> "WAV noise" just plain boring noise. What in WMA is responsible for
> the tones?

WMA is a "perceptual encoder". It analyses audio, figures out
where the tones are and which tones are most important to the
perceieved sound and then stores these while throwing away
the reset.

> I have Adobe Audition 1.0. I generate a silent file. I save it as WMA
> 20 kbps, 44.1 KHz, mono. I convert file this to WAV and then back to
> WMA several times. I make my last conversion to WMA and save it. I
> then open this WMA file. Finally I increase the volume of the audio in
> the WMA file and play. Intrigueing tones result. These tones are
> typical in low bit-rate, high-sample rate WMA files.

Considering how a perceptual encoder works, I do not find this
suprising. I would expect similar results with MP3 and Ogg Vorbis
codecs.

> If anyone has a valid email address I can send them a WMA file with
> the characteristics I am talking about.

My email address is valid, but please do not send me a file.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  n...@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"When your hammer is C++, everything begins to look like a thumb."
-- Steve Haflich, in comp.lang.c++
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

| 1 | 2 | 3 | 4 | next