You are viewing xiphmont

Monty - It's Out! It's Finally Out! [entries|archive|friends|userinfo]
Monty

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

It's Out! It's Finally Out! [Feb. 26th, 2013|06:38 am]
Previous Entry Add to Memories Share Next Entry
[Tags|, ]

We did it. We finally finished Xiph's second big video: Episode 2: Digital Show & Tell

"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!" Go see it!

LinkReply

Comments:
From: (Anonymous)
2013-02-26 12:47 pm (UTC)

yay

(Link)

thank you !
From: (Anonymous)
2013-02-26 01:26 pm (UTC)

Re: yay

(Link)

Yay indeed! I used the first installment in my teaching several times. It was awesome! Looking forward to watching the new one :-)
From: (Anonymous)
2013-02-26 02:35 pm (UTC)

Excellent

(Link)

Hi Monty, big thanks for making this informative and educational video.
From: (Anonymous)
2013-02-26 05:52 pm (UTC)

Great work.

(Link)

That's it. Great work!
[User Picture]From: flaggday
2013-02-26 06:56 pm (UTC)

(Link)

You've to to announce these things in Facebook. I shouldn't have to hear about something like this from Wired!
[User Picture]From: xiphmont
2013-03-02 11:03 pm (UTC)

(Link)

I... do not know how to use facebook. I just never got into it. :-( Perhaps that needs to change.
From: (Anonymous)
2013-02-27 08:20 am (UTC)

excellent video

(Link)

Thank you for taking the time on this wonderful video. It is clear that substantial amounts of time were spent constructing software and editing video shots which would support a clear explanation. This effort was well spent!
From: (Anonymous)
2013-02-27 06:47 pm (UTC)

Damn, you guys

(Link)

This is great! I'm so impressed with Xiph.org, what a giving community you are! You're like a university, without all the bullshit!
From: (Anonymous)
2013-02-27 07:51 pm (UTC)

Your demo page should link to this.

(Link)

Your demo page should link to this.
[User Picture]From: xiphmont
2013-02-28 10:06 pm (UTC)

Re: Your demo page should link to this.

(Link)

You're right. It should. The first vid is there, I forgot to add this one. Thanks for the reminder!
From: jimuazu
2013-02-28 10:13 am (UTC)

Nothing involving a filter is ever perfect

(Link)

Hi, Monty -- very nice explanation. However on the question of resampling not affecting quality, that cannot be quite true. Every time you apply a filter (digital or analogue) it spreads out transient features ever so slightly. Most obvious example is a wavelet, e.g. applying an FIR filter length N to a wavelet length M gives an output wavelet length N+M -- it spreads it out. Every single filter in the chain of processing is a compromise between making endless waves look perfect (long FIR) and not blurring transient features too much (short FIR). So if resampling involves a lowpass anti-aliasing filter, then it cannot be perfect. However in practical terms, we can hope it is "good enough" not to be noticeable by humans, which I guess is your point. (Although I've heard 'radio-tuning' noises when outputting a pure rising-frequency sine-wave through a resampling hardware output (e.g. 44.1 to 48kHz) so in some cases the compromises in the design ARE clearly noticeable.) BTW I am the author of the open-source filter design software Fiview. --Jim
[User Picture]From: xiphmont
2013-02-28 09:40 pm (UTC)

Re: Nothing involving a filter is ever perfect

(Link)

>>Every time you apply a filter (digital or analogue) it spreads out transient features ever so slightly.

That is certainly not true, but I'll assume you specifically meant a resampling filter, which necessarily involves antialiasing. In this case, we'll have a change only if the transition band of the antialiasing filter rolls off in an area of nonzero energy. The 'spread' of transients is because you've designed a filter that is intentionally removing frequencies, that is, it's doing exactly what you've designed it to do.

If, on the other hand, you're resampling a signal that's already bandlimited below the AA rolloff, nothing happens (ala the demo in the vid).

In hi-fi, the AA filter won't roll off within the audible range, so this is inconsequential.

>>Most obvious example is a wavelet, e.g. applying an FIR filter length N to a wavelet length M gives an output wavelet length N+M -- it spreads it out.

Well, the filter is doing exactly what you've designed it to do. An analog version would do the same. Changes in frequency always involve changes in time and vice versa. The nature of an impulse is a flat frequency signature. Alter that frequency signature and you no longer have an impulse.

>>Every single filter in the chain of processing is a compromise between making endless waves look perfect

How the waves _look_ is of little consequence.

Also, for purposes of discussion, I'm considering 'perfect' to be when the added noise+distortion is below the thermal noise of the signal (or under -140dB in the case of a digital signal, ie, equal to the noise added by a line-level 100 ohm metal film resistor). Usually, we have to consider only a few hundred samples at a time to reach that level.

In theory, you have to consider an infinite frequency domain as well as an infinite time domain. In practice, both are considerably more finite.

>>and not blurring transient features too much (short FIR)

Gibbs effect is not conceptually or mathematically analogous to blurring. Even if you use an infinite sinc to downsample from 192kHz to 48kHz, you've not altered the time representation of anything in the audible band.

OTOH, using a 8-tap FIR butterworth also gains you nothing in the time department-- it 'looks' crisper, but now you're aliasing like crazy despite starting to roll off below 1kHz (and the phase shift means you've disturbed the timing of the audible frequencies-- now this one is an interesting topic of discussion all on its own).

If your point is 'there's a ton of nuance you didn't mention', well, yes, that point is well taken :-) I'm not unaware of it, there's only so much one should pack into a single video.

>>(Although I've heard 'radio-tuning' noises when outputting a pure rising-frequency sine-wave through a resampling hardware output (e.g. 44.1 to 48kHz) so in some cases the compromises in the design ARE clearly noticeable.)

That sounds like a very serious design shortcoming involving a quantization error and the resulting harmonic distortion products aliasing back into the channel. Or worse an AA filter that's just broken and the fundamental is aliasing. Yes, I've seen resamplers do this too. Software with bugs! Say it ain't so :-)

>>BTW I am the author of the open-source filter design software Fiview.

Pleased to meet you! I often have to design classic linear filters, and I'm not very fond of matlab. I resorted to tuning several demo filters in gtk-bounce by hand in the z-plane rather than use matlab :-P

Oh, based on Tony's Fisher's old stuff! I still use mkfilter all the time. Thanks for mentioning it! Does it have a manual z-plane mode? :-D [btw: sorry for all the edits]

Edited at 2013-02-28 10:10 pm (UTC)

From: jimuazu
2013-03-01 09:13 pm (UTC)

Re: Nothing involving a filter is ever perfect

(Link)

>>Every time you apply a filter (digital or analogue) it spreads out transient features ever so slightly.

That is certainly not true, but I'll assume you specifically meant a resampling filter, which necessarily involves antialiasing.


No, I meant any FIR filter at all. My thinking was this: from the maths of convolution, any single input sample influences N output samples, or equivalently each output sample receives contributions from N input samples. What was previously localised in time is no longer localised.

However, looking for a concrete example of filters spreading out localised features just now, I was unable to find one. I used a wavelet (since that is strongly localised in both time and frequency) and tried putting it through a variety of different filters with impulse responses comparable in length to the wavelet, and mostly it stayed the same shape (i.e. it didn't spread out), and when it was deformed it was because its frequency spectrum had been altered.

So I think I have to take that back. This is a property of filters I haven't appreciated up 'til now. Intuitively (rather than mathematically): A wavelet can be used a bandpass filter. Convolving it with another filter is the same as multiplying the frequency response of the wavelet with that of the filter. So long as the other filter's response is flat around the frequency response peak of the wavelet, the resulting response will be the same as that of the wavelet alone, so mapping back to an impulse response (i.e. the original wavelet) when that wavelet is put through the filter, it would also be undeformed. So I think you are right.

In this case, we'll have a change only if the transition band of the antialiasing filter rolls off in an area of nonzero energy. The 'spread' of transients is because you've designed a filter that is intentionally removing frequencies, that is, it's doing exactly what you've designed it to do.

I'm with you now.

>>and not blurring transient features too much (short FIR)

Gibbs effect is not conceptually or mathematically analogous to blurring. Even if you use an infinite sinc to downsample from 192kHz to 48kHz, you've not altered the time representation of anything in the audible band.


I wasn't thinking about the Gibbs effect. I was more concerned about stuff which is representable below the Nyquist frequency getting 'blurred'. But it seems I was wrong about that.

Pleased to meet you! I often have to design classic linear filters, and I'm not very fond of matlab. I resorted to tuning several demo filters in gtk-bounce by hand in the z-plane rather than use matlab :-P

Oh, based on Tony's Fisher's old stuff! I still use mkfilter all the time. Thanks for mentioning it! Does it have a manual z-plane mode? :-D


To be honest, I understood enough of the maths to transfer/adapt the algorithms without messing them up, but then instantly forgot it all. The only thing that sticks around in my head is the intuitive understanding. No, there is no manual z-plane mode, sorry!
From: (Anonymous)
2013-03-01 12:53 pm (UTC)

What's next?

(Link)

http://xiphmont.livejournal.com/59280.html?thread=286352#t286352

I that still correct (obviously w/o first item)?
If you plan to work on transOgg, a post explaining the problems trnsOgg is trying to solve and goals of the project would be nice.
[User Picture]From: xiphmont
2013-03-02 11:01 pm (UTC)

Re: What's next?

(Link)

More or less-- though I think doing demos for the other Xiph projects (Daala especially) is also at the top of the list now too.

More will be clear after next week, since I'll be hammering out the upcoming roadmap with Red Hat.
[User Picture]From: xiphmont
2013-03-13 05:13 pm (UTC)

Re: What's next?

(Link)

aaand we have confirmation from management at RH. Next up: transOgg.
From: (Anonymous)
2013-03-23 07:13 pm (UTC)

Re: What's next?

(Link)

Hi Monty

You mention Daala.

What is the probable outlook for next gen open video codecs?

Are we likely to have 2 rival open formats (Daala and VP9) developed independently or will Google and xiph work together on 1 format like they did with WebM?

From: renich.id.fedoraproject.org
2013-03-02 07:57 am (UTC)

Awesome video

(Link)

Thanks a lot for the video. Is there a way to subscribe to your videos or something?

Oh, wait, this is a blog, right?

In any case, thanks a lot for your awesome videos. Besides, you're a great front man ;)
[User Picture]From: untermensch
2013-03-05 12:14 am (UTC)

(Link)

I've resurrected my old LJ account specifically to add you to my watch list in order to see announcements of any new videos. They are superb so far, in every respect.
[User Picture]From: xiphmont
2013-03-08 08:13 am (UTC)

(Link)

There's also the video@xiph.org mailing list, and the video pages now have an atom feed.

I have been saying for a while that I plan to eventually move off LJ myself, and may eventually get around to that. But so far, inertia.
[User Picture]From: untermensch
2013-03-08 01:07 pm (UTC)

(Link)

Haha, but you'll be swamped with groupies and adoring fans if you move to facebook! It's a lot of commitment.
[User Picture]From: xiphmont
2013-03-09 02:11 am (UTC)

(Link)

I'm not sure about adoring fans (To quote Paul and Storm, "To date, no panties have been thrown"), but I agree about the commitment. Still weighing the cost/benefit there.
From: (Anonymous)
2013-03-13 04:56 pm (UTC)

(Link)

By the way I think Google+ might be a better choice. Facebook is for the general (read ignorant :) public, and many of the tech minded folks are on G+.
Anyways, thanks for making these videos(really cool) and for the entire xiph.org project - I find your enthusiasm inspirational.
From: (Anonymous)
2013-03-25 05:21 pm (UTC)

Awesome video

(Link)

Thank you for this great video. It has a higher information density than any other tutorial video I have ever seen. I'll definitely suggest it as 'further reading' for my course. --Raphael