Ksmagrill, I think you are still confused. Here is how informed decision-making on this process works:
Determine required audio bandwidth (you may wish to re-evaluate this later in the process). Remember, the spectrum above 15 kHz is not going to be heard by older listeners, nor those that do not have high-end speakers.
Select a sample rate
Determine required resolution - odds are you will want 16 bits. You will NOT want to use anything greater than 24 bits since that is simply shooting yourself in the foot.
Determine if mono or stereo is required
Determine the target bit rate.
Calculate the compression ratio
Choose a codec - Here are some typical codec choices for various ratios:
2:1 - Huffman encoding, etc
4:1 - APT-X or MPEG Layer 2, AAC
6:1 - 8:1 MPEG Layer 2, AAC (do not use Layer 3 at ratios less than 8:1)
8:1 - 14:1 MPEG Layer 3, AAC
12:1 to ~18:1 AAC, Layer 3 plus
>/= 18:1 HE-AAC
>/= 30:1 voice-only codecs
If no codec is available for the ratio required, you need to go back and reconsider other factors, or accept artifacts
Of course there are other factors that come into play, but the above is the way to make an informed decision.
TIP - to much bandwidth is frequently an area where poor decisions are made. In many cases the addition of high end will simply push the ratio to a point that is too high for the available codec.
TIP2 - As a rule of thumb, any ratio greater than 7:1 is likely to have issues with cascading. Good practice demands linear source material and eliminating multiple coding passes. (APT-X is a big exception to that rule, but since it only operates at 4:1 the rule still stands)
I hope this is helpful.
Rolf Taylor
Twins Ace Hardware
Kmagrill said:
Goran Tomas said:
Rolf is absolutely correct that lowering the sample rate reduces the "compression" (reduction of data) for a given target bitrate, simply because it reduces the size of the data to begin with!
I was just trying to suggest that there's no specific formula for compression vs sample rate. In other words, I read the earlier post as stating that the sample rate determines the compression ratio, which I would not characterize in that way because it is possible to use high bitrates for low sample settings with no affect. <snip>