Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: joint stereo (Read 19786 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

joint stereo

Reply #25
Quote
Quote
Quote
Mono uses the half data from a stereo stream
Joint stereo how much?(an average)
Joint stereo will use 75% on average.
[a href="index.php?act=findpost&pid=370669"][{POST_SNAPBACK}][/a]
Are you serious ?
You can't compute the average case by averaging the worst and the best case.

Sebi
Not particularly, no.

As we all know, the term "average" is in itself vague, and I was simply taking the two stats that were provided and finding the mean.  Apologies if my flippancy confused the issue.

The answer, in reality, requires a good deal of testing to find the true median.  Testing, it seems, that no-one has previous records of, or is prepared to undertake.  With a maximum of 100% and a minimum of 50%, until such testing is done then an estimate of 75% needs disproving.

Given kjoonlee's statement above, is it that unrealistic?
I'm on a horse.

joint stereo

Reply #26
Quote
Quote
Does joint stereo still do bad thing with pro logic etc on receivers?

Probably on mp3s encoded with Fraunhofer's encoder which used intensity Joint-stereo (downmixing some high trebles to mono or somehting like that). That was really terrible.
[a href="index.php?act=findpost&pid=371005"][{POST_SNAPBACK}][/a]


This used to be a debatable subject here not long ago. Yes, with LAME.
And the answer is actually that yes, it does "bad things" to prologic encoded signals, IF we understand bad things as the rear channels, listened alone, being distorted/artifacted.

The encoder cannot know if a signal contains pro-logic encoded audio. Either one would have to tell it so, or the encoder always assume that it is, and then, decreasing the encoder efficiency with the rest of the encodings.

I don't know, but i think that it isn't trivial to add such option.

joint stereo

Reply #27
LAME uses lossless (mid/side) joint stereo though, how could it affect Prologic? Or is it something else that's destroying the DPLII info?

joint stereo

Reply #28
Although M/S is just a lossless mapping an mp3 encoder could starve the "difference channel" (S). That probably leads to the rear channels sounding awful after DPL decoding.

Try the search function. IIRC there have been users stating that -ms sounds better after DPL decoding than -mj (with LAME!). I'm not saying use -ms or -mj since I havn't checked it for myself nor I'm sure if what those guys said is still true. OTOH I'm not really convinced that current LAME versions do not starve the S channel. Better try for yourself. I do remember though that Gabriel keeps saying S is not starved by LAME.

Sebi

joint stereo

Reply #29
Quote
I do remember though that Gabriel keeps saying S is not starved by LAME.

Well, not intentionnally starved, at least.

Reminder for the pro-logic fans: listening to rear speakers in isolation is not a normal listening condition.

joint stereo

Reply #30
Quote
Either way it increases encoding efficiency which is what counts. If files are smaller or of higher quality or a bit of both is really an implementation issue. By disabling channel coupling in the Vorbis code for example you'll get pretty much the same audio signal after decoding (at -q6 and above) but the files with disabled CC will be larger.

Sebi
[a href="index.php?act=findpost&pid=371225"][{POST_SNAPBACK}][/a]



Oookkaaaayyyyy...

Let's take the rate that is just transparent for the left channel in mono. Let's encode the left channel at that rate.

Let's take the rate that's just transparent for the right channel in mono. Let's encode the right channel at that rate.

Let's do this to "Tom's Diner".

Ok, what happens when we listen to both left and right channels in a stereo presentation, either headphones or speakers?
-----
J. D. (jj) Johnston

joint stereo

Reply #31
You made it look like the outcome of this experiment (whatever it may be) would be able to disprove my statement. I don't see that. (BTW: By implementation issue I referred to the bit allocation code.)

Sebi

joint stereo

Reply #32
Quote
Quote
I do remember though that Gabriel keeps saying S is not starved by LAME.

Well, not intentionnally starved, at least.

Reminder for the pro-logic fans: listening to rear speakers in isolation is not a normal listening condition.
[a href="index.php?act=findpost&pid=371455"][{POST_SNAPBACK}][/a]

ms representation is equivalent to lr representation, but a few weeks ago I wondered what is actually done to the side part when encoded.

Is it treated exactly the same way as is done to the mid part (or the left and right part in lr representation)?

In case it is I'm a bit afraid that using the psy model on the difference signal may be inappropriate in certain situations because the difference signal has other characteristics towards masking effects.
Is this fear foolish?
lame3995o -Q1.7 --lowpass 17

joint stereo

Reply #33
Quote
You made it look like the outcome of this experiment (whatever it may be) would be able to disprove my statement. I don't see that. (BTW: By implementation issue I referred to the bit allocation code.)

Sebi
[a href="index.php?act=findpost&pid=371672"][{POST_SNAPBACK}][/a]


Well, what this shows is that two good monophonic coders do not make a good stereophonic coder.  While the statement that you get to use less bits is true of properly utilized M/S coding, I argue that that is different than it "saves you bits" by providing coding gain. I would argue that it allows you to use the coding gain, or most of it, to avoid having to overcode signals in order to prevent BLMD problems.
-----
J. D. (jj) Johnston

joint stereo

Reply #34
Quote
In case it is I'm a bit afraid that using the psy model on the difference signal may be inappropriate in certain situations because the difference signal has other characteristics towards masking effects.
Is this fear foolish?
[a href="index.php?act=findpost&pid=371724"][{POST_SNAPBACK}][/a]


Well, there is some work (Ferrierra/Johnston) out there that suggests ways to do a proper psychoacoustic model. I believe those results are out of date, but suggestive of the issues involved.
-----
J. D. (jj) Johnston

joint stereo

Reply #35
Quote
Although M/S is just a lossless mapping an mp3 encoder could starve the "difference channel" (S). That probably leads to the rear channels sounding awful after DPL decoding.


Ahh, that does make sense. It sounds like a very possible situation. My knowledge of MP3 and its techniques is limited, so you'll have to forgive me

joint stereo

Reply #36
Quote
Quote
In case it is I'm a bit afraid that using the psy model on the difference signal may be inappropriate in certain situations because the difference signal has other characteristics towards masking effects.
Is this fear foolish?
[a href="index.php?act=findpost&pid=371724"][{POST_SNAPBACK}][/a]


Well, there is some work (Ferrierra/Johnston) out there that suggests ways to do a proper psychoacoustic model. I believe those results are out of date, but suggestive of the issues involved.
[a href="index.php?act=findpost&pid=371781"][{POST_SNAPBACK}][/a]


LAME has had a model based on those results for a long time, so fear in that direction would qualify as unwarranted.

joint stereo

Reply #37
Quote
Quote
You made it look like the outcome of this experiment (whatever it may be) would be able to disprove my statement. I don't see that. (BTW: By implementation issue I referred to the bit allocation code.)

Sebi
[a href="index.php?act=findpost&pid=371672"][{POST_SNAPBACK}][/a]


Well, what this shows is that two good monophonic coders do not make a good stereophonic coder.  While the statement that you get to use less bits is true of properly utilized M/S coding, I argue that that is different than it "saves you bits" by providing coding gain. I would argue that it allows you to use the coding gain, or most of it, to avoid having to overcode signals in order to prevent BLMD problems.
[a href="index.php?act=findpost&pid=371780"][{POST_SNAPBACK}][/a]


The cause for the confusion between you two is that you wouldn't notice that in Vorbis because the lower frequencies are overcoded no matter what stereo (or mono) mode is being used.

So effectively using M/S (or in the context of Vorbis, square polar stereo) will produce a coding efficiency improvement without BMLD ever explicitly factoring in. Conversely you won't get BMLD artifacts when using Vorbis with stereo files.

As far as I understand, the reason the low frequencies are overcoded is reportedly related to combatting blocking artifacts.

This leads to the obvious wondering whether BMLD is really blocking artifacts, whether those blocking artifacts are really BMLD, or whether both are correct and both sides of the argument were lucky to accidentally fix a problem they didn't know about when fixing another.

Ah, the difference between science and engineering.

joint stereo

Reply #38
Quote
This leads to the obvious wondering whether BMLD is really blocking artifacts,

Obviously not, since one can cause BMLD without any coding at all

Try this:

Take a narrowband noise signal, 1 critical band wide. Put it in both channels. add a sine wave 7dB lower in the middle of that critical band to it.

Put the sine wave both in (one file) and out (the other file) of phase in the two channels.

Listen.

No coding, obvious BMLD.
Quote
whether those blocking artifacts are really BMLD, or whether both are correct and both sides of the argument were lucky to accidentally fix a problem they didn't know about when fixing another.

Ah, the difference between science and engineering.
[a href="index.php?act=findpost&pid=373100"][{POST_SNAPBACK}][/a]


Well "blocking" artifacts are simply frequency-response artifacts related to the coding aperature.

Below 1kHz, especially, overcoding is also a good idea because the ear is not only level sensitive but also waveform sensitive at those frequencies, and a full analysis by synthesis would be the only way to be sure you were 'under threshold' if you don't overcode there.

Different problem.
-----
J. D. (jj) Johnston

joint stereo

Reply #39
Although M/S is just a lossless mapping an mp3 encoder could starve the "difference channel" (S). That probably leads to the rear channels sounding awful after DPL decoding.

Try the search function. IIRC there have been users stating that -ms sounds better after DPL decoding than -mj (with LAME!). I'm not saying use -ms or -mj since I havn't checked it for myself nor I'm sure if what those guys said is still true. OTOH I'm not really convinced that current LAME versions do not starve the S channel. Better try for yourself. I do remember though that Gabriel keeps saying S is not starved by LAME.

Sebi


I actually tried it on a few files with LAME 3.97b2, then set my decoder into Prologic II movie mode, and the rear channels sounded -terrible-. It was the same on the PLII music mode. However, I didn't try it on music or movies encoded with PLII (since I don't have any), just regular music, so I don't know if it would behave any better with proper PLII encoding.

joint stereo

Reply #40
I'd like to add this comment:
One can read in the Dolby Digital (AC3) specification that adaptive M/S matrixing is used in AC3 also to avoid DPL2 encoded stereo streams to sound awful. They recommend selecting a representation (L/R or M/S) with the lowest value of min(energy(channel1),min(channel2)).

So, M/S matrix is not in general a bad idea when it comes to DPL2. (It depends on what the encoder decides to do)

Sebi

joint stereo

Reply #41
I'd like to add this comment:
One can read in the Dolby Digital (AC3) specification that adaptive M/S matrixing is used in AC3 also to avoid DPL2 encoded stereo streams to sound awful. They recommend selecting a representation (L/R or M/S) with the lowest value of min(energy(channel1),min(channel2)).

So, M/S matrix is not in general a bad idea when it comes to DPL2. (It depends on what the encoder decides to do)

Sebi



You might also check out the old Johnston/Feireirra papers on that.
-----
J. D. (jj) Johnston

joint stereo

Reply #42
I may give the impression that I've access to all that stuff. But I don't.

Sebi

joint stereo

Reply #43
I may give the impression that I've access to all that stuff. But I don't.

Sebi


Drat. It's in an ICASSP paper somewhere, I think. You could check jj's web site for more accuracy.
-----
J. D. (jj) Johnston

joint stereo

Reply #44
A somewhat related question.

I happen to end up with 2 MP3 files of the same song, both at 192kbps CBR. But one is "stereo" and the other is "joint stereo" (as declared by fb2k).

Which one do you recommend to keep? My intuitive side of the brain keeps screaming "kill the 'stereo'", but my analytical side of the brain screams "Ask HA".

I know that ideally I should perhaps compare them side-by-side (i.e. using ABX tools), but remembering that these are 192kbps...

joint stereo

Reply #45
A somewhat related question.

I happen to end up with 2 MP3 files of the same song, both at 192kbps CBR. But one is "stereo" and the other is "joint stereo" (as declared by fb2k).

Which one do you recommend to keep? My intuitive side of the brain keeps screaming "kill the 'stereo'", but my analytical side of the brain screams "Ask HA".

I know that ideally I should perhaps compare them side-by-side (i.e. using ABX tools), but remembering that these are 192kbps...


There are many other factors to consider than the "stereo" or "joint stereo" attributes. For example:

1. Version of encoder used.
2. Is there a low pass filter applied? (very likely, use something like foobars spectrum analyser to find out)
3. Algorithm quality (-q in lame is I'm not mistaken)
4. Quality is the ripped track. (What ripper was used for the ripping? Was there error correction or burst mode?)
5. Mastering of the CD? The track can come from different CD's and different compression is likely to been used.

I'm sure I forgot a few things, but as you can see it is an impossible question to answer, without more information. Keep them both. It's just a few megabytes anyway.

If both mp3's where ripped from the same CD and compressed with the same encoder using default settings, I would keep to J/S one. (unless the encoder has a J/S bug...)

/Kef

joint stereo

Reply #46
Quote
A somewhat related question.

I happen to end up with 2 MP3 files of the same song, both at 192kbps CBR. But one is "stereo" and the other is "joint stereo" (as declared by fb2k).

Which one do you recommend to keep? My intuitive side of the brain keeps screaming "kill the 'stereo'", but my analytical side of the brain screams "Ask HA".

I know that ideally I should perhaps compare them side-by-side (i.e. using ABX tools), but remembering that these are 192kbps...


my intuitive side of the brain keeps screaming "buy the cd"