HydrogenAudio

Hydrogenaudio Forum => Validated News => Topic started by: xiphmont on 2013-02-26 15:16:04

Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: xiphmont on 2013-02-26 15:16:04
Xiph Episode 2: Digital Show & Tell (http://video.xiph.org/vid2.shtml) is out!

"The second video from Xiph.Org explores multiple facets of digital audio signals and how they really behave in the real world. Sampling, quantization, dither, band-limiting, and vintage bench equipment all in one video!"

It's a followup in a sense to the 24/192 article of last year. Other videos: http://xiph.org/video/ (http://xiph.org/video/)
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: jensend on 2013-02-26 23:26:52
Congratulations to Monty and the rest of the team on an extremely slick and well-put-together presentation.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: spoon on 2013-02-27 09:55:34
Excellent presentation, tackling miss-conceptions can only be a good thing.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: kritip on 2013-02-27 14:59:13
Is anybody else having issue with the sound stuttering on the video? I have tried it in 360p and 720p. No other issues on the laptop.

Chrome Version 25.0.1364.97m on Windows 8 with Core 2 Duo T9300 (2.5GHz) and 4GB RAM.

Still an interesting video though
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: xiphmont on 2013-02-27 15:03:18
Is anybody else having issue with the sound stuttering on the video? I have tried it in 360p and 720p. No other issues on the laptop.
Chrome Version 25.0.1364.97m on Windows 8 with Core 2 Duo T9300 (2.5GHz) and 4GB RAM.


Have you tried perhaps installing Gentoo?  *ahem* Sorry, couldn't resist.

Are you trying the WebM or the Ogg?  Chrome can unfortunately be a strange beast about both formats, but I can ask if it's a known bug in that version.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: kritip on 2013-02-27 15:17:44
ha  My gentoo days are over, the other system is FreeBSD, but I needed to get too grips with this windows 8 so i can fix others and make some pocket money.

It was the WebM that was skipping. The Ogg plays perfectly having just tried it.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: xiphmont on 2013-02-27 15:20:02
ha  My gentoo days are over, the other system is FreeBSD, but I needed to get too grips with this windows 8 so i can fix others and make some pocket money.

It was with the WebM that was causing the skipping. The Ogg plays perfectly.


I have noted that irony in several versions.  I'll go look into it (though I have no idea if I'll find anything).  At least once it turned out the maxing tool was busted, so I'll check.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: 2Bdecided on 2013-02-27 16:01:31
Beautifully done. It should be required viewing/reading.

Quote
no one ever ruined a great recording by not dithering the final master
You'd "ruin" any digital fade-outs for anyone who chose to turn up the volume to hear them better.

Cheers,
David.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: kritip on 2013-02-27 16:04:08
I have updated the the latest beta Chrome Version 26.0.1410.12 beta-m, same issue. They are only minor audio stutters however. CPU usage is not above 25%

The downloaded 720p WebM plays fine in MPC-HC with no issue at all.

I loaded Firefox 19 .... played perfectly at 720p. CPU usage again about 25%.

I loaded Opera ...... Unwatchable at 720p...massive lagging and skipping and maxing out a CPU core is the cause of this problem.

Sorry if I am taking this thread off topic.

//edit watching http://www.youtube.com/watch?v=XSGBVzeBUbk (http://www.youtube.com/watch?v=XSGBVzeBUbk) on HTML5 enabled youtube highlights the problem greatly in 1080p.....chrome is frame laggy but watchable, firefox is perfect, and opera is again totally unwatchable. It must be my system is not powerful enough, and partly to do with the browser implimentation.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: xiphmont on 2013-02-28 16:18:11
Beautifully done. It should be required viewing/reading.

Quote
no one ever ruined a great recording by not dithering the final master
You'd "ruin" any digital fade-outs for anyone who chose to turn up the volume to hear them better.

Cheers,
David.


I thought it was HA (perhaps another objectivist site) that ran a listening test that found some folks _preferred_ the undithered fades-- they liked that the fade went to black instead of noise.  I could be misremembering badly, since I went back to try to find that test and found no hint of it.  Does anyone else remember this?  It was from several years ago at least.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: 2Bdecided on 2013-02-28 16:25:45
I thought it was HA (perhaps another objectivist site) that ran a listening test that found some folks _preferred_ the undithered fades-- they liked that the fade went to black instead of noise.  I could be misremembering badly, since I went back to try to find that test and found no hint of it.  Does anyone else remember this?  It was from several years ago at least.
I think you're correct, but like you, I can't find it. I seem to recall many people could ABX at 14-bits, a few 15-bits, and maybe one or two 16-bits.

I think it was TPDF without noise shaping. With noise shaping, I don't know if there would have been any preference, or if it would have been reversed.

Cheers,
David.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: krabapple on 2013-02-28 17:09:14
Beautifully done. It should be required viewing/reading.

Quote
no one ever ruined a great recording by not dithering the final master
You'd "ruin" any digital fade-outs for anyone who chose to turn up the volume to hear them better.

Cheers,
David.



This turning up fades to hear them better, is this a common thing to do? 
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: greynol on 2013-02-28 17:35:59
You might miss out on hearing people giggle in the studio.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: xiphmont on 2013-02-28 17:59:12
You might miss out on hearing people giggle in the studio.


My favorite part of the second Muppets CD was hearing the studio folks in the background lose it at Sam The Eagle's performance of Titwillow.

[It ends with Sam asking, "Why are they laughing?", but they cut that part off the CD release for some reason! :-]
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: DonP on 2013-02-28 18:41:39
Is anybody else having issue with the sound stuttering on the video? I have tried it in 360p and 720p. No other issues on the laptop.

Chrome Version 25.0.1364.97m on Windows 8 with Core 2 Duo T9300 (2.5GHz) and 4GB RAM.

Still an interesting video though


FWIW no stuttering on audio or video playing 720p on movie player with a P4 ubuntu and deprecated (gnome ignores any acceleration features) video card.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: 2Bdecided on 2013-03-01 09:48:03
This turning up fades to hear them better, is this a common thing to do? 
When I was 14, yes.  I wanted my favourite songs to last longer. It didn't work with cassettes of course (far too hissy), but it worked amazingly well with some CDs, not so well with others. You had to turn the volume back down very quickly before the next track started though, otherwise OUCH!


I cannot believe I have just admitted to this in a public forum.


On a more practical level, I do not think 16-bits is perfect if you are going to deliver full dynamic range audio, and then compress it for playback. Even then, it will rarely if ever be the limit on the noise floor. I buy the arguments for sticking with 16/44.1 - but if you were designing the system from scratch today, I don't think many would say that 20/48 was wasteful for lossless audio. It gets you properly to the limits of human hearing in all circumstances.

Cheers,
David.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: bennetng on 2013-03-01 13:17:22
Interesting to see the "not stairstep" illustrations. I was a sound engineer in toy design field and needed to compose/arrange music, sound effects and record voice dialogs for several kinds of low-end MCUs. Our customers often complained the sound quality (they don't know what is aliasing, they described the distortion as "metallic noise") but we just explained to them that the speakers (usually about 25 to 40mm diameter) were to blame. We won't tell them the truth.

I generated a sine sweep and digitized the analog output of those MCUs and found that the waveform is even worse than zero order hold, it looks like sawtooth.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: _if on 2013-03-02 23:44:05
Monty, that was a great video. I thoroughly enjoyed it and I really would like to see more. Normally watching all of a 20-minute Internet video feels like a chore to me, but this was really good and even my not-really-techie girlfriend liked it. You should make these more often.

Interesting to see the "not stairstep" illustrations. I was a sound engineer in toy design field and needed to compose/arrange music, sound effects and record voice dialogs for several kinds of low-end MCUs...

Sorry for the off-topic, but this is interesting to me to finally hear. I've long suspected the speakers were not really the primary reason children's toys sound so terrible, since it sounded more like very low quality digital and, weirdly enough, I'd like to hear more about the mechanics of it. It seems the sound quality hasn't gotten much better since the '90s and I've wondered why when you'd think it wouldn't be prohibitively expensive to put a decent chip in.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: Engelsstaub on 2013-03-03 04:49:39
Thanks for your time and the excellent presentation, Monty. I've had some misconceptions about digital audio as well (especially the significance of bit-rates.) A member here recently tried to refer me to your stuff and I had no idea who you were. That video helped me out a lot.

For an engineer with your technical knowledge you certainly know how to teach people in easy-to-understand laymen's terms. I wish I had seen this video sooner. It would have saved me from some headaches due to my lack of knowledge while trying to relate to others my concerns. Sometimes others, while far more knowledgeable on such topics, are far less patient and even confrontational in their approach to helping those that are ignorant of a technical subject. I look forward to seeing more videos like this. This was a valuable video to me and I sincerely appreciate it.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: bennetng on 2013-03-03 08:53:31
I'd like to hear more about the mechanics of it. It seems the sound quality hasn't gotten much better since the '90s and I've wondered why when you'd think it wouldn't be prohibitively expensive to put a decent chip in.


OK I can reveal more facts as I am not working in the toy field anymore and it is not totally off-topic. Those chips use some sorts of DPCM formats and their compression efficiency is extremely low. In order to save space we need to use multiple sample rates manually to store audio data. For example when storing the phrase "It is an apple", consonants with more high frequencies like "t" and "s" are stored in 12khz and other parts are in 8khz. When saying "It is an orange", "It is an" will be reused. When there are any silence parts more than 200ms between the phrases we need to measure then delete the silences in the wave files to save space and manually add the silences back in the MCU's IDE with some sorts of scripting languages. As you can see, I was doing what a modern lossy audio codec can do MANUALLY.

The toy field is affected by the loudness war as well. Because louder sound components are more expensive and need more battery power, we are required to compress and hard-limit the sounds to insane level, of course it will introduce more artifacts but yes, the speakers were to blame. We can also say the cabinet of the product is not acoustic-friendly (train-shaped, hamster-shaped...) therefore they produced odd-sounding harmonics...
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: Kees de Visser on 2013-03-03 09:20:52
I thought it was HA (perhaps another objectivist site) that ran a listening test that found some folks _preferred_ the undithered fades-- they liked that the fade went to black instead of noise.
Sounds like an interesting test. Did they include the third option "dithered fade back to digital black" ? A non-dithered fade can sound grainy since the distortion products are all over the spectrum. My first DAW (1990 Sonic Solutions) had an option to automatically switch off dither after the input signal stopped. The adjustable switch-off delay range was quite large, from 1 ms up to many seconds IIRC. Now you mention this, I haven't seen this option in modern DAW's.

@krabapple
Quote
This turning up fades to hear them better, is this a common thing to do?
Well, as an audio pro I have a +20dB button on my monitoring amp to make sure there are no indiscreet comments of artists left in the master
Also don't underestimate the effect of radio-style compressors (Orban Optimod e.g.). Low level signals can become much louder than intended by the mastering engineer.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: db1989 on 2013-03-03 16:30:07
To Monty and co.: I echo the earlier praise about this. I haven’t sat down to watch it yet, but the supporting materials make it look excellent, so I’m looking forward to it. I think it’ll be another valuable resource for people new to the tech and for people who know more but want a good reference to refer themselves or others to.

I'd like to hear more about the mechanics of it. It seems the sound quality hasn't gotten much better since the '90s and I've wondered why when you'd think it wouldn't be prohibitively expensive to put a decent chip in.
OK I can reveal more facts as I am not working in the toy field anymore and it is not totally off-topic. Those chips use […]
This is very interesting, so thanks for the descriptions!

Quote
The toy field is affected by the loudness war as well. […]
Oh wow!  “Will someone please think of the children!” Now we can literally use that as an argument against the LW.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: _if on 2013-03-03 16:31:27
... As you can see, I was doing what a modern lossy audio codec can do MANUALLY...

Thanks for that info. I was right, it is interesting! Manual lossy compression work and loudness wars in children's toys, I did not expect to hear that. Is it wrong to think an extra few pennies invested in hardware could have saved you quite a lot of work and ended the customer complaints? I suppose I don't actually know how much more storage would have cost, but it seems like just a little bit more would have gone a long way.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: Mach-X on 2013-03-05 07:49:26
That was AWESOME. Hope to see more, can't wait to pass this along to a certain 'higher res makes more accurate waveform' friend of mine. BTW, webm streamed flawlessly to android w/chrome browser. Does this mean that horrific mess known as flash is going to die a quick, painful death?
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: Dynamic on 2013-03-05 13:45:37
I think this video has been beautifully and thoughtfully put together to address and explain the principles of digital reconstruction with no room for questioning any part of the methodology. The choice of all-analogue highly reputable test gear is a particularly smart way of proving the 'analogueness' of signals sampled and quantized into digital then reconstructed into the analogue domain with no chance of Nyquist-Shannon deniers to make an accusation that it's all an artifact of some flawed digital approximation to reality. To provide the software tools so that anyone can repeat the experiments independently to prove it for themselves is also in the best traditions of open scientific procedures.

It's probably worth summarizing the key points demonstrated in text, so that a search can lead people to the video:

Digital Show And Tell from xiph.org - with optional subtitles in various languages (http://www.xiph.org/video/vid2.shtml)
Video duration 23:52

Any titles in bold underline are available as Chapter marks in the pull-down menu of the video.

Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: Arnold B. Krueger on 2013-03-05 14:27:15
Excellent presentation, tackling miss-conceptions can only be a good thing.



+1 with a bullet. I fought almost every misapprehension covered in a really tough house. A very elegant handling of real issues.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: julf on 2013-03-06 14:47:16
I have a strange issue with the gtk-bounce program from the video - on (k)ubuntu 12.10, spectrum and waveform work just fine, but if I scroll into the gtk-bounce panel, the cursor disappears. Anyone seen that behaviour?
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: xiphmont on 2013-03-07 08:05:34
I have a strange issue with the gtk-bounce program from the video - on (k)ubuntu 12.10, spectrum and waveform work just fine, but if I scroll into the gtk-bounce panel, the cursor disappears. Anyone seen that behaviour?


It disappears on purpose-- it was intended to be a touch app in the demo.  If you want to keep the mouse cursor, comment out the calls to 'hide_mouse()' in gtk-bounce-widget.c

Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: julf on 2013-03-07 13:08:34
It disappears on purpose-- it was intended to be a touch app in the demo.  If you want to keep the mouse cursor, comment out the calls to 'hide_mouse()' in gtk-bounce-widget.c


Ah! Thanks!
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: Wombat on 2013-09-09 21:46:20
Nothing has changed, the same funny pics like 20 years ago!
http://discover.store.sony.com/High-Resolution-Audio/ (http://discover.store.sony.com/High-Resolution-Audio/)
We should send the link of Montys video directly to the japanese engineering team in case they still don't know.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: Nick.C on 2013-09-09 22:18:01
I loved this:

(http://discover.store.sony.com/High-Resolution-Audio/assets/images/header/logo.png)

"Make believe" encompasses the alleged improvements quite succinctly.
Title: Xiph's Episode 2: _Digital Show & Tell_ is out
Post by: TomasPin on 2013-09-09 23:55:17
http://discover.store.sony.com/High-Resolution-Audio/ (http://discover.store.sony.com/High-Resolution-Audio/)

(http://gonnagan.files.wordpress.com/2012/03/facepalm.jpg)

Neil approves. (http://www.hydrogenaudio.org/forums/index.php?showtopic=94355)