IPB

Welcome Guest ( Log In | Register )

What's the meaning of "sample rate" in MP3/Vorbis/AAC?, Considering the audio was transformed
sheh
post Oct 7 2012, 03:44
Post #1





Group: Members
Posts: 89
Joined: 3-November 04
Member No.: 17971



What's the meaning of "sample rate" in MP3/Vorbis/AAC? Wouldn't it be meaningless after transform, same as bit depth?

Go to the top of the page
+Quote Post
 
Start new topic
Replies
[JAZ]
post Oct 7 2012, 14:44
Post #2





Group: Members
Posts: 1783
Joined: 24-June 02
From: Catalunya(Spain)
Member No.: 2383



When we say that lossy streams don't have a strictly defined bit depth (as opposed to LPCM streams), it is because the transforms that happen to the signal and the way data is stored make it variable. (Sometimes it's said that for MP3 it is 32bits float, but that's a simplification as well).

Said that, the same is not exactly applicable to sample rate. Even though the frequency bands might or might not have information, the compressed data is specific for one max frequency (so a specific sample rate).


I.e. It is not the same to resample (either from the decoded signal, or by samplerate halving, like older mp3 decoders allowed to do), than to say that the samplerate is not defined for the encoded data.


Two examples:

An MP3 stream can be MPEG1 layer 3, MPEG2 layer 3 and the so-called "MPEG2.5 layer 3". So it can be one of "48Khz, 44.1Khz, 32Khz", "24Khz, 22.05Khz, 16Khz", "12Khz, 11.025Khz, 8Khz". The encoded data is relative to this sample rate, and the decoder (needs and) will use it to generate the decoded stream.

An Opus stream is a 48Khz stream. The encoded data is always at this sample rate, and when decoding, can be resampled to another sample rate. (If the original stream was at 44.1Khz, it can be resampled to that samplerate).

This post has been edited by [JAZ]: Oct 7 2012, 14:46
Go to the top of the page
+Quote Post

Posts in this topic
- sheh   What's the meaning of "sample rate" in MP3/Vorbis/AAC?   Oct 7 2012, 03:44
- - saratoga   No, the transform occurs on sampled data and so th...   Oct 7 2012, 05:05
|- - sheh   I guess the way I put it does seem like a retread....   Oct 9 2012, 05:21
|- - saratoga   QUOTE (sheh @ Oct 9 2012, 00:21) Benski s...   Oct 9 2012, 19:03
- - pdq   Still. since the data are stored as frequencies an...   Oct 7 2012, 14:23
- - [JAZ]   When we say that lossy streams don't have a st...   Oct 7 2012, 14:44
- - jensend   I'm not intimately acquainted with the details...   Oct 7 2012, 16:46
- - benski   fs is part of the MDCT equation. If you didn...   Oct 7 2012, 18:32
|- - sheh   Okay, so the original fs needs to be plugged in so...   Oct 8 2012, 18:33
- - lvqcl   Winamp MP3 decoder still have Full/Half/Quarter qu...   Oct 7 2012, 18:56
|- - benski   QUOTE (lvqcl @ Oct 7 2012, 13:56) Winamp ...   Oct 10 2012, 16:16
- - saratoga   Using a dct means you could easily drop the sample...   Oct 7 2012, 19:00
|- - saratoga   QUOTE (sheh @ Oct 8 2012, 13:33) Okay, so...   Oct 8 2012, 23:41
- - jensend   I still think you're wrong here. Once you...   Oct 7 2012, 19:57
|- - saratoga   QUOTE (jensend @ Oct 7 2012, 14:57) I sti...   Oct 7 2012, 20:16
- - Dynamic   I think one problem is that we're never doing ...   Oct 8 2012, 23:04
- - [JAZ]   Mmm.. the tranformation that (most) lossy codecs d...   Oct 9 2012, 19:03
|- - Dynamic   QUOTE ([JAZ] @ Oct 9 2012, 19:03)...   Oct 9 2012, 22:22
- - pdq   So am I understanding correctly that 99.9% of deco...   Oct 10 2012, 17:12
|- - saratoga   QUOTE (benski @ Oct 10 2012, 11:16) QUOTE...   Oct 10 2012, 17:30
- - [JAZ]   QUOTE (Dynamic @ Oct 9 2012, 23:22) As [J...   Oct 10 2012, 17:52
|- - saratoga   QUOTE ([JAZ] @ Oct 10 2012, 12:52...   Oct 10 2012, 18:20
- - [JAZ]   Winamp with the in-house decoder (i.e. not the fra...   Oct 10 2012, 18:41
|- - saratoga   QUOTE ([JAZ] @ Oct 10 2012, 13:41...   Oct 10 2012, 18:55
- - Dynamic   My recollection is that Winamp 1.7 running under W...   Oct 11 2012, 16:14
- - sheh   So sample rate matters. I suppose without being fa...   Oct 11 2012, 23:20


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th September 2014 - 17:04