DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

information theory?

Started by RichD ●November 1, 2011
Richard Outerbridge wrote:
> In article<MPG.293813d8de181f2098a3b2@hamster.jcbsbsdomain.local>, > "J. Clarke"<jclarkeusenet@cox.net> wrote: > >> In article<j8r3l6$5ha$1@reader1.panix.com>, >> john@please.see.sig.for.email.com says... >>> >>> In sci.math Martin Brown<|||newspam|||@nezumi.demon.co.uk> wrote: >>>> [[snip]] >>>> You could do worse than look for the collected works of Ed Jaynes - it >>>> used to be available online at one time but now it is published. >>>> >>>> http://www.amazon.com/T-Jaynes-Probability-Statistics-Statistical/dp/07923 >>>> 02133 >>> >>> Just curious -- if it was freely available online at one time, >>> and I assume legally at that time, how does later publishing >>> a paper copy retroactively affect online legality? I'd have >>> assumed any originally-legal online info remains legal regardless >>> of who else prints it on paper. Is that wrong? >> >> Don't conflate "free" with "public domain". They aren't the same. A >> copyright holder can make something available for free and later change >> his mind and charge for it. > > Which is why serious licensees will always require free non-exclusive > perpetual licenses from just such copyright owners. Their heirs and > assigns will eventually get things into the public domain.
Says who? Zombie Jimi Hendrix just keeps releasing albums...
> At least > things then stand a higher chance of avoiding silly legal challenges > and patent disputes. > > outer
-- Les Cargill
On Nov 4, Martin Brown <|||newspam...@nezumi.demon.co.uk> wrote:
> > He estimated music contains 40 bits/second entropy. > > How close is MP3 to that? > > >___________________________________ > >I doubt surprised Shannon said that, and if he did its > >somewhere between meaningless and wrong. > > >CD quality mp3s are roughly equivalent to 178 kbps, > >over 4,000 times his estimate. But then you can > >encode a lot of sounds that most people would not > >consider music. And it stereo, so you can halve it > > if Shannon was talking about mono. > > Have you never seen sheet music? That is what > Shannon was estimating - the bitrate for describing > music in the abstract. > There are a finite number of notes, durations and > amplitudes in a classical composition.
I suspect that's the case.
> I suspect 40 bits/sec is still far too tight, > but a midi stream using a high end reconstruction > codec represents a pretty good > example of what is possible by way of compression > for *music* as opposed to voice or a random noise > stream. > > > To get a smaller figure for music, you have to > > define what subsets of sounds are music. Lots of luck.
Not so hard, if you analyze samples of what we label 'music'.
> I think that may have been his intention although > I don't recall seeing the 40 bit/s number > As I said if he did anything I think he was estimating > the information content of music in the already > concise form of an orchestral score.
That appears to be the case.
> I reckon at a bare minimum about 7 to the note, 8 to > amplitude, 6 duration, 5 to the instrument - and it > is already obvious that you cannot encode more than a > single note per second at this bitrate.
You fail to account for the essential concept of correlation.
> Can anyone provide a citation to this alleged paper > on music bitrate?
I found the reference in John Pierce's book. It's not attributed to Shannon. My boner. He claims a humans can absorb information, e.g. reading or music, at 40 bits/second. He also cites a paper where it's claimed that sheet music contains 2.5 bits entropy per note. This supports the MIDI model, as opposed to digitization of a recording. In that case, what is the bit rate? Though the question of chords arises, with much redundancy there. It also raises the possibility that recorded music might be adequately represented by a MIDI stream. -- Rich -- Rich
RichD wrote:
<snip>
> > It also raises the possibility that recorded > music might be adequately represented by a > MIDI stream. >
The people at the History Channel seem to believe that too. they're wrong. ":) Nope. Show me a pinch harmonic in MIDI. I would bet that simply representing all the ways there are to hit a snare drum would take up *a lot* of space. heck, track a peizo on one channel and a mic on the other - of the same acoustic guitar part - and there's significant dis-correlation, or at least the deconvolution is not what you'd expect. Audio ala music has a (for lack of a better term) "fractal" quality at that level. I take Shannon at his word - he's guessing what the "Taylorist" minimum motion set for music is, but that's really not enough. It's kind of fascinating that this is the case, that there's still so much left for humans to do there.
> > -- > Rich > > > -- > Rich >
-- Les Cargill
In article 
<bd7a5bf2-f8be-4dde-82bd-0b8b7d14655c@v31g2000prg.googlegroups.com>,
 RichD <r_delaney2001@yahoo.com> wrote:

> On Nov 4, Martin Brown <|||newspam...@nezumi.demon.co.uk> wrote: > > > He estimated music contains 40 bits/second entropy. > > > How close is MP3 to that? > > > > >___________________________________ > > >I doubt surprised Shannon said that, and if he did its > > >somewhere between meaningless and wrong. > > > > >CD quality mp3s are roughly equivalent to 178 kbps, > > >over 4,000 times his estimate. But then you can > > >encode a lot of sounds that most people would not > > >consider music. And it stereo, so you can halve it > > > if Shannon was talking about mono. > > > > Have you never seen sheet music? That is what > > Shannon was estimating - the bitrate for describing > > music in the abstract. > > There are a finite number of notes, durations and > > amplitudes in a classical composition. > > I suspect that's the case. > > > I suspect 40 bits/sec is still far too tight, > > but a midi stream using a high end reconstruction > > codec represents a pretty good > > example of what is possible by way of compression > > for *music* as opposed to voice or a random noise > > stream. > > > > > To get a smaller figure for music, you have to > > > define what subsets of sounds are music. Lots of luck. > > Not so hard, if you analyze samples of what we label 'music'. > > > I think that may have been his intention although > > I don't recall seeing the 40 bit/s number > > As I said if he did anything I think he was estimating > > the information content of music in the already > > concise form of an orchestral score. > > That appears to be the case. > > > I reckon at a bare minimum about 7 to the note, 8 to > > amplitude, 6 duration, 5 to the instrument - and it > > is already obvious that you cannot encode more than a > > single note per second at this bitrate. > > You fail to account for the essential concept > of correlation. > > > Can anyone provide a citation to this alleged paper > > on music bitrate? > > > I found the reference in John Pierce's book. > It's not attributed to Shannon. My boner. > He claims a humans can absorb information, > e.g. reading or music, at 40 bits/second. > He also cites a paper where it's claimed that > sheet music contains 2.5 bits entropy per note. > This supports the MIDI model, as opposed to > digitization of a recording. In that case, > what is the bit rate? Though the question of > chords arises, with much redundancy there. > > It also raises the possibility that recorded > music might be adequately represented by a > MIDI stream.
IIRC, it's interesting to note that most modern media compression codecs rely not so much upon what the raw data can absolutely do without as they do upon what the human ear or eye can be fooled by: they leave out what you "cannot" hear or "cannot" see. Really, this is nothing new: all screens of any sort are really just optical illusions of one sort or another. The codecs are just leveraging the limitations of the wiring of the human brain. outer
On 22/12/2011 08:08, Richard Outerbridge wrote:
> In article > <bd7a5bf2-f8be-4dde-82bd-0b8b7d14655c@v31g2000prg.googlegroups.com>, > RichD<r_delaney2001@yahoo.com> wrote: > >> On Nov 4, Martin Brown<|||newspam...@nezumi.demon.co.uk> wrote: >>>> He estimated music contains 40 bits/second entropy. >>>> How close is MP3 to that? >>> >>>> ___________________________________ >>>> I doubt surprised Shannon said that, and if he did its >>>> somewhere between meaningless and wrong. >>> >>>> CD quality mp3s are roughly equivalent to 178 kbps, >>>> over 4,000 times his estimate. But then you can >>>> encode a lot of sounds that most people would not >>>> consider music. And it stereo, so you can halve it >>>> if Shannon was talking about mono. >>> >>> Have you never seen sheet music? That is what >>> Shannon was estimating - the bitrate for describing >>> music in the abstract. >>> There are a finite number of notes, durations and >>> amplitudes in a classical composition. >> >> I suspect that's the case. >> >>> I suspect 40 bits/sec is still far too tight, >>> but a midi stream using a high end reconstruction >>> codec represents a pretty good >>> example of what is possible by way of compression >>> for *music* as opposed to voice or a random noise >>> stream. >>> >>>> To get a smaller figure for music, you have to >>>> define what subsets of sounds are music. Lots of luck. >> >> Not so hard, if you analyze samples of what we label 'music'. >> >>> I think that may have been his intention although >>> I don't recall seeing the 40 bit/s number >>> As I said if he did anything I think he was estimating >>> the information content of music in the already >>> concise form of an orchestral score. >> >> That appears to be the case. >> >>> I reckon at a bare minimum about 7 to the note, 8 to >>> amplitude, 6 duration, 5 to the instrument - and it >>> is already obvious that you cannot encode more than a >>> single note per second at this bitrate. >> >> You fail to account for the essential concept >> of correlation. >> >>> Can anyone provide a citation to this alleged paper >>> on music bitrate? >> >> >> I found the reference in John Pierce's book. >> It's not attributed to Shannon. My boner. >> He claims a humans can absorb information, >> e.g. reading or music, at 40 bits/second.
That sounds way too low. I can flash read this entire page in about second and there are a lot more than 40 bits of data in it. And the processing to do that much text recognition in real time would tax a super computer - that is why Captcha is used to test for humans!
>> He also cites a paper where it's claimed that >> sheet music contains 2.5 bits entropy per note.
Again sounds far too low even when you only allow for pitch, duration and amplitude (plus any changes in amplitude, incidentals, time signature or syncopation). Please can you post the citation? I would only believe this claim iff they can demonstrate a real musical score compressed to the equivalent of 2.5bits/note. That is the acid test. Hand waving arguments and gut feel do not hack it.
>> This supports the MIDI model, as opposed to >> digitization of a recording. In that case, >> what is the bit rate? Though the question of >> chords arises, with much redundancy there. >> >> It also raises the possibility that recorded >> music might be adequately represented by a >> MIDI stream. > > IIRC, it's interesting to note that most modern media > compression codecs rely not so much upon what the raw > data can absolutely do without as they do upon what the > human ear or eye can be fooled by: they leave out what > you "cannot" hear or "cannot" see. Really, this is > nothing new: all screens of any sort are really just > optical illusions of one sort or another. The codecs > are just leveraging the limitations of the wiring of > the human brain.
Absolutely. There is no point in transmitting detail that the ear cannot hear or the eye cannot see. But you do have to be a little bit careful. The UK's new DAB audio bitrate is insufficient to support quality live broadcast of classical music and is distinctly inferior to either FM or off satellite SD or HD digital audio. The problems with DAB are sufficiently bad that it is hampering uptake of new DAB radios. Regards, Martin Brown
Martin Brown <|||newspam|||@nezumi.demon.co.uk> writes:

> On 22/12/2011 08:08, Richard Outerbridge wrote: >> In article >> <bd7a5bf2-f8be-4dde-82bd-0b8b7d14655c@v31g2000prg.googlegroups.com>, >> RichD<r_delaney2001@yahoo.com> wrote: >> >>> On Nov 4, Martin Brown<|||newspam...@nezumi.demon.co.uk> wrote: >>>>> He estimated music contains 40 bits/second entropy. >>>>> How close is MP3 to that? >>>> >>>>> ___________________________________ >>>>> I doubt surprised Shannon said that, and if he did its >>>>> somewhere between meaningless and wrong. >>>> >>>>> CD quality mp3s are roughly equivalent to 178 kbps, >>>>> over 4,000 times his estimate. But then you can >>>>> encode a lot of sounds that most people would not >>>>> consider music. And it stereo, so you can halve it >>>>> if Shannon was talking about mono. >>>> >>>> Have you never seen sheet music? That is what >>>> Shannon was estimating - the bitrate for describing >>>> music in the abstract. >>>> There are a finite number of notes, durations and >>>> amplitudes in a classical composition. >>> >>> I suspect that's the case. >>> >>>> I suspect 40 bits/sec is still far too tight, >>>> but a midi stream using a high end reconstruction >>>> codec represents a pretty good >>>> example of what is possible by way of compression >>>> for *music* as opposed to voice or a random noise >>>> stream. >>>> >>>>> To get a smaller figure for music, you have to >>>>> define what subsets of sounds are music. Lots of luck. >>> >>> Not so hard, if you analyze samples of what we label 'music'. >>> >>>> I think that may have been his intention although >>>> I don't recall seeing the 40 bit/s number >>>> As I said if he did anything I think he was estimating >>>> the information content of music in the already >>>> concise form of an orchestral score. >>> >>> That appears to be the case. >>> >>>> I reckon at a bare minimum about 7 to the note, 8 to >>>> amplitude, 6 duration, 5 to the instrument - and it >>>> is already obvious that you cannot encode more than a >>>> single note per second at this bitrate. >>> >>> You fail to account for the essential concept >>> of correlation. >>> >>>> Can anyone provide a citation to this alleged paper >>>> on music bitrate? >>> >>> >>> I found the reference in John Pierce's book. >>> It's not attributed to Shannon. My boner. >>> He claims a humans can absorb information, >>> e.g. reading or music, at 40 bits/second. > > That sounds way too low. I can flash read this entire page in about > second and there are a lot more than 40 bits of data in it. And the > processing to do that much text recognition in real time would tax a > super computer - that is why Captcha is used to test for humans!
But your brain compresses all that data into the memory "sed. shannon > 40 bits". Which with suitable encoding could be less than 40 bits :) [...] -- John Devereux
"Martin Brown" <|||newspam|||@nezumi.demon.co.uk> wrote in message 
news:jcupqt$l1m$3@speranza.aioe.org...
> On 22/12/2011 08:08, Richard Outerbridge wrote: >> In article >> <bd7a5bf2-f8be-4dde-82bd-0b8b7d14655c@v31g2000prg.googlegroups.com>, >> RichD<r_delaney2001@yahoo.com> wrote: >> >>> On Nov 4, Martin Brown<|||newspam...@nezumi.demon.co.uk> wrote: >>>>> He estimated music contains 40 bits/second entropy. >>>>> How close is MP3 to that? >>>> >>>>> ___________________________________ >>>>> I doubt surprised Shannon said that, and if he did its >>>>> somewhere between meaningless and wrong. >>>> >>>>> CD quality mp3s are roughly equivalent to 178 kbps, >>>>> over 4,000 times his estimate. But then you can >>>>> encode a lot of sounds that most people would not >>>>> consider music. And it stereo, so you can halve it >>>>> if Shannon was talking about mono. >>>> >>>> Have you never seen sheet music? That is what >>>> Shannon was estimating - the bitrate for describing >>>> music in the abstract. >>>> There are a finite number of notes, durations and >>>> amplitudes in a classical composition. >>> >>> I suspect that's the case. >>> >>>> I suspect 40 bits/sec is still far too tight, >>>> but a midi stream using a high end reconstruction >>>> codec represents a pretty good >>>> example of what is possible by way of compression >>>> for *music* as opposed to voice or a random noise >>>> stream. >>>> >>>>> To get a smaller figure for music, you have to >>>>> define what subsets of sounds are music. Lots of luck. >>> >>> Not so hard, if you analyze samples of what we label 'music'. >>> >>>> I think that may have been his intention although >>>> I don't recall seeing the 40 bit/s number >>>> As I said if he did anything I think he was estimating >>>> the information content of music in the already >>>> concise form of an orchestral score. >>> >>> That appears to be the case. >>> >>>> I reckon at a bare minimum about 7 to the note, 8 to >>>> amplitude, 6 duration, 5 to the instrument - and it >>>> is already obvious that you cannot encode more than a >>>> single note per second at this bitrate. >>> >>> You fail to account for the essential concept >>> of correlation. >>> >>>> Can anyone provide a citation to this alleged paper >>>> on music bitrate? >>> >>> >>> I found the reference in John Pierce's book. >>> It's not attributed to Shannon. My boner. >>> He claims a humans can absorb information, >>> e.g. reading or music, at 40 bits/second. > > That sounds way too low. I can flash read this entire page in about second > and there are a lot more than 40 bits of data in it. And the processing to > do that much text recognition in real time would tax a super computer - > that is why Captcha is used to test for humans! > >>> He also cites a paper where it's claimed that >>> sheet music contains 2.5 bits entropy per note. > > Again sounds far too low even when you only allow for pitch, duration and > amplitude (plus any changes in amplitude, incidentals, time signature or > syncopation). Please can you post the citation? > > I would only believe this claim iff they can demonstrate a real musical > score compressed to the equivalent of 2.5bits/note. That is the acid test. > Hand waving arguments and gut feel do not hack it. > >>> This supports the MIDI model, as opposed to >>> digitization of a recording. In that case, >>> what is the bit rate? Though the question of >>> chords arises, with much redundancy there. >>> >>> It also raises the possibility that recorded >>> music might be adequately represented by a >>> MIDI stream. >> >> IIRC, it's interesting to note that most modern media >> compression codecs rely not so much upon what the raw >> data can absolutely do without as they do upon what the >> human ear or eye can be fooled by: they leave out what >> you "cannot" hear or "cannot" see. Really, this is >> nothing new: all screens of any sort are really just >> optical illusions of one sort or another. The codecs >> are just leveraging the limitations of the wiring of >> the human brain. > > Absolutely. There is no point in transmitting detail that the ear cannot > hear or the eye cannot see. But you do have to be a little bit careful. > The UK's new DAB audio bitrate is insufficient to support quality live > broadcast of classical music and is distinctly inferior to either FM or > off satellite SD or HD digital audio. The problems with DAB are > sufficiently bad that it is hampering uptake of new DAB radios. > > Regards, > Martin Brown
And here in Australia. The standard allows for 128 kbps or 2 x 64 kbps, in practice most DAB broadcasts are stereo compressed into a single 64 kbps channel. This gives a quality less than the FM radio it is replacing. When everything else is moving to high definition, I have no idea why the new standard for digital sound broadcasts is such low definition. Very shortsighted.