Re: [LAD] phat gtk

2013-03-18 Thread Loki Davison
Have a look at the BerliOS page and you'll see I haven't updated it since 2007, when i have to admit I was pretty terrible at programming. If anyone wants to maintain phat, fill free to ask. I didn't think it was useful without a clear use case of apps actually using it. In other new, I've been bu

Re: [LAD] phat gtk

2013-03-18 Thread Brendan Jones
On 03/18/2013 08:58 PM, Loki Davison wrote: Have a look at the BerliOS page and you'll see I haven't updated it since 2007, when i have to admit I was pretty terrible at programming. If anyone wants to maintain phat, fill free to ask. I didn't think it was useful without a clear use case of apps

[LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Tim E. Real
Hi again. Looking for any advice, tips, tricks, anecdotes etc. I want to eliminate or reduce 'zipper' noise on volume changes. So I'm looking at two techniques: Zero-crossing / zero-value signal detection, and slew-rate limiting. Code is almost done, almost ready to start testing each technique. E

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Paul Davis
On Mon, Mar 18, 2013 at 5:50 PM, Tim E. Real wrote: > Hi again. Looking for any advice, tips, tricks, anecdotes etc. > > I want to eliminate or reduce 'zipper' noise on volume changes. > So I'm looking at two techniques: > Zero-crossing / zero-value signal detection, and slew-rate limiting. > Cod

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Fons Adriaensen
On Mon, Mar 18, 2013 at 05:50:39PM -0400, Tim E. Real wrote: > If I use a zero-crossing/zero-value detector and apply volume changes > only at these safe points, that's a much more desirable 'perfect' system. Zero crossings are not 'safe'. You avoid a discontinuity in the signal but there will

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Tim E. Real
On March 18, 2013 06:47:16 PM you wrote: On Mon, Mar 18, 2013 at 5:50 PM, Tim E. Real wrote: Hi again. Looking for any advice, tips, tricks, anecdotes etc. I want to eliminate or reduce 'zipper' noise on volume changes. So I'm looking at two techniques: Zero-crossing / zero-value signal dete

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread James Morris
On 18/03/13 "Tim E. Real" wrote: >On March 18, 2013 06:47:16 PM you wrote: > > > > >On Mon, Mar 18, 2013 at 5:50 PM, Tim E. Real >wrote: > >Hi again. Looking for any advice, tips, tricks, anecdotes etc. > >I want to eliminate or reduce 'zipper' noise on volume changes. >So I'm looking at two tech

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Tim E. Real
On March 18, 2013 07:04:52 PM Tim E. Real wrote: On March 18, 2013 06:47:16 PM you wrote: On Mon, Mar 18, 2013 at 5:50 PM, Tim E. Real wrote: Hi again. Looking for any advice, tips, tricks, anecdotes etc. I want to eliminate or reduce 'zipper' noise on volume changes. So I'm looking at two

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Fons Adriaensen
On Mon, Mar 18, 2013 at 11:28:24PM +, James Morris wrote: > I think the only time zero-crossings are any good is in hand-crafted > cutting of (very) simple waveforms. The only case where switching on zero-crossings makes sense is when the gain control element can't perform a continuous chan

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Fons Adriaensen
On Mon, Mar 18, 2013 at 07:43:32PM -0400, Tim E. Real wrote: > Ah, I may have answered my own question when I said: > "(One cannot simply wait for the current data value to be 'zero' because > for example with a perfect square wave signal the 'current' value will never > approach zero, hence t

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Tim E. Real
On March 18, 2013 11:58:48 PM Fons Adriaensen wrote: > On Mon, Mar 18, 2013 at 07:43:32PM -0400, Tim E. Real wrote: > > Ah, I may have answered my own question when I said: > > "(One cannot simply wait for the current data value to be 'zero' because > > > > for example with a perfect square wave

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Harry van Haaren
On Mon, Mar 18, 2013 at 11:45 PM, Fons Adriaensen wrote: > A critically damped > second order lowpass with a rise time of 30 ms or so will eliminate all > audible artefacts. It's very low on CPU and you only need to run it while > the gain is changing. > Although I understand the words & their me

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Tim Goetze
[Harry van Haaren] >On Mon, Mar 18, 2013 at 11:45 PM, Fons Adriaensen wrote: >> A critically damped >> second order lowpass with a rise time of 30 ms or so will eliminate all >> audible artefacts. It's very low on CPU and you only need to run it while >> the gain is changing. > >Although I understa

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Tim Goetze
[Tim Goetze] >[Harry van Haaren] >>How is the "rise time" determined here? > >As a function of the filter's damping (zeta = 2*Q) and frequency: >http://en.wikipedia.org/wiki/Rise_time Sorry, zeta = 1 / (2*Q). ___ Linux-audio-dev mailing list Linux-audi

Re: [LAD] Mixing audio: Noiseless volume changes

2013-03-18 Thread Harry van Haaren
On Tue, Mar 19, 2013 at 3:26 AM, Tim Goetze wrote: > tradition (like RBJ's lovely cookbook at musicdsp) will ask for filter > Q, which is 0.5 for critical damping. > Nice mention, checked out the code there, will play around with it a bit :) ___ Linux-