Re: [LAD] JACK latency compensation on USB audio devices

2015-09-02 Thread Adrian Knoth
On 09/02/15 21:35, Joakim Hernberg wrote:

> Well yes, I'm aware of that and it was this extra latency that I
> wanted to ascertain. What puzzles me is that each time the jack server
> is invoked, it will need a different amount of latency compensation
> even when no other parameters have changed.

Didn't Fons mention a similar problem lately? (think two weeks ago).

He's currently travelling, but maybe you want to check out his patches
(yet to be posted).

Note that Fons' patches are only about client execution order in jackd1.
If you also get different values in jackd2, then it's either unrelated
or needs fixing as well.


Cheers
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hi, I'm new

2015-09-02 Thread Guy Sherman

Thanks! Looks like you've undertaken quite an ambitious project, nice one!

On 02/09/15 20:27, Andrew Kelley wrote:

Welcome to the community, Guy. Congrats on your first audio plugin.

My IRC handle is andrewrk. I've been working on Genesis DAW: 
http://genesisdaw.org/


See you around!

On Tue, Sep 1, 2015 at 9:09 AM Guy Sherman > wrote:


Hi all,

I just found this list after being directed to the IRC channel
over the weekend. I'm new here! Lately I've been dabbling in a bit
of open-source audio development (I say open-source rather than
linux, because I've been dabbling on both linux and windows).

Anyhow, amongst other things I've been trying to teach myself
about DSP, so I wrote a really (really, really, really) naive
distortion plugin. I was wondering if anyone would be interested
in taking a look at it and giving me some feedback, and tips on
where to go next.

I wrote a little about it here:
http://guysherman.com/2015/08/30/my-first-ever-audio-plugin/
And the code is at: https://github.com/guysherman/si-plugins

I've got some other projects on the boil that I've been talking
about with the crew from the Ardour list, which I'll mention here
when they take shape a little more.

Cheers,

Guy.

-- 


Guy Sherman

*e:*g...@guysherman.com 

*w: *http://guysherman.com 

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org

http://lists.linuxaudio.org/listinfo/linux-audio-dev



--
*Guy Sherman*
e:  g...@guysherman.com
p:  +6498892464
m:  +447479344788
s:  live:sherman_guy
w:  http://guysherman.com

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hi, I'm new

2015-09-02 Thread Guy Sherman

Hi Gerald,

My IRC handle is dynamicsamurai. Looking forward to your thoughts!

Cheers,

Guy.

On 02/09/15 19:43, Gerald wrote:

Hi Guy, thanks for sharing this and welcome here. Whats' your IRC handle?
I'm asking since I'm also very slowly teaching myself audio DSP. DISTHRO
Framework was the right choice, I also use it. Btw Gui is great looking,
I'll test the plugin soon.
cheers Gerald /IRC:  JimsonDrift

On 01.09.2015 18:09, Guy Sherman wrote:

Hi all,

I just found this list after being directed to the IRC channel over
the weekend. I'm new here! Lately I've been dabbling in a bit of
open-source audio development (I say open-source rather than linux,
because I've been dabbling on both linux and windows).

Anyhow, amongst other things I've been trying to teach myself about
DSP, so I wrote a really (really, really, really) naive distortion
plugin. I was wondering if anyone would be interested in taking a look
at it and giving me some feedback, and tips on where to go next.

I wrote a little about it
here: http://guysherman.com/2015/08/30/my-first-ever-audio-plugin/
And the code is at: https://github.com/guysherman/si-plugins

I've got some other projects on the boil that I've been talking about
with the crew from the Ardour list, which I'll mention here when they
take shape a little more.

Cheers,

Guy.

--

Guy Sherman

*e:*g...@guysherman.com 

*w: *http://guysherman.com 



___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


--
*Guy Sherman*
e:  g...@guysherman.com
p:  +6498892464
m:  +447479344788
s:  live:sherman_guy
w:  http://guysherman.com

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] JACK latency compensation on USB audio devices

2015-09-02 Thread Luis Garrido

On 02/09/15 21:35, Joakim Hernberg wrote:


I'll read that thread and it's links again, but IIRC they don't hold
the answer to my query.



Ah, ok, sorry, I didn't pay enough attention while reading your post and 
got tripped by the USB vs PCI comment at the end.


Please disregard, as you say that thread is not really relevant to your 
question.


Regards,

L
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] JACK latency compensation on USB audio devices

2015-09-02 Thread Joakim Hernberg
On Wed, 2 Sep 2015 21:17:43 +0200
Luis Garrido  wrote:

> On 02/09/15 21:04, Joakim Hernberg wrote:
> 
> > Maybe not a huge problem and I suppose I'll set the latency
> > compensation somewhere in the middle of the results, but still I'm
> > curious of the mechanism behind this phenomena.
> >
> 
> USB devices add some extra buffering, check out this thread:
> 
> http://jack-audio.10948.n7.nabble.com/Differences-in-latency-between-USB-and-internal-audio-interfaces-td9071.html

Well yes, I'm aware of that and it was this extra latency that I wanted
to ascertain. What puzzles me is that each time the jack server is
invoked, it will need a different amount of latency compensation even
when no other parameters have changed.

I'll read that thread and it's links again, but IIRC they don't hold
the answer to my query.

-- 

   Joakim
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hi, I'm new

2015-09-02 Thread Andrew Kelley
Welcome to the community, Guy. Congrats on your first audio plugin.

My IRC handle is andrewrk. I've been working on Genesis DAW:
http://genesisdaw.org/

See you around!

On Tue, Sep 1, 2015 at 9:09 AM Guy Sherman  wrote:

> Hi all,
>
> I just found this list after being directed to the IRC channel over the
> weekend. I'm new here! Lately I've been dabbling in a bit of open-source
> audio development (I say open-source rather than linux, because I've been
> dabbling on both linux and windows).
>
> Anyhow, amongst other things I've been trying to teach myself about DSP,
> so I wrote a really (really, really, really) naive distortion plugin. I was
> wondering if anyone would be interested in taking a look at it and giving
> me some feedback, and tips on where to go next.
>
> I wrote a little about it here:
> http://guysherman.com/2015/08/30/my-first-ever-audio-plugin/
> And the code is at: https://github.com/guysherman/si-plugins
>
> I've got some other projects on the boil that I've been talking about with
> the crew from the Ardour list, which I'll mention here when they take shape
> a little more.
>
> Cheers,
>
> Guy.
>
> --
>
> Guy Sherman
>
> *e:* g...@guysherman.com
>
> *w: *http://guysherman.com
> ___
> Linux-audio-dev mailing list
> Linux-audio-dev@lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] JACK latency compensation on USB audio devices

2015-09-02 Thread Luis Garrido

On 02/09/15 21:04, Joakim Hernberg wrote:


Maybe not a huge problem and I suppose I'll set the latency
compensation somewhere in the middle of the results, but still I'm
curious of the mechanism behind this phenomena.



USB devices add some extra buffering, check out this thread:

http://jack-audio.10948.n7.nabble.com/Differences-in-latency-between-USB-and-internal-audio-interfaces-td9071.html

Regards,

L
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


[LAD] JACK latency compensation on USB audio devices

2015-09-02 Thread Joakim Hernberg
I've run across a phenomena that puzzles me.

It appears that each time I start the jack server on an usb card,
jack_iodelay will report a different "extra loopback latency".  I've
seen this phenomena on a behringer x32, and just verified it on a rme
babyface.

For instance with jack1 at 64/2 on the babyface, I come up with values
of 232,233,234, and 266.  With jack2 I saw 231, 233, 248, 318, 335. A
run with jack1 at 2048/3 came up with 2589, 2590, 2633, 2634, and 2667.

I also tested with jack_delay, which also comes up with different
values when I restart the server.  Note that on consequent invocations
without restarting the server the values stay the same for the 2
utilities.

Maybe not a huge problem and I suppose I'll set the latency
compensation somewhere in the middle of the results, but still I'm
curious of the mechanism behind this phenomena.

FWIW, I don't think I've ever seen this on my pci cards, but I'll run
some tests when I get to the hardware and find some extra time.

-- 

   Joakim
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hi, I'm new

2015-09-02 Thread Gerald
Hi Guy, thanks for sharing this and welcome here. Whats' your IRC handle?
I'm asking since I'm also very slowly teaching myself audio DSP. DISTHRO
Framework was the right choice, I also use it. Btw Gui is great looking,
I'll test the plugin soon.
cheers Gerald /IRC:  JimsonDrift

On 01.09.2015 18:09, Guy Sherman wrote:
> Hi all,
>
> I just found this list after being directed to the IRC channel over
> the weekend. I'm new here! Lately I've been dabbling in a bit of
> open-source audio development (I say open-source rather than linux,
> because I've been dabbling on both linux and windows).
>
> Anyhow, amongst other things I've been trying to teach myself about
> DSP, so I wrote a really (really, really, really) naive distortion
> plugin. I was wondering if anyone would be interested in taking a look
> at it and giving me some feedback, and tips on where to go next. 
>
> I wrote a little about it
> here: http://guysherman.com/2015/08/30/my-first-ever-audio-plugin/
> And the code is at: https://github.com/guysherman/si-plugins 
>
> I've got some other projects on the boil that I've been talking about
> with the crew from the Ardour list, which I'll mention here when they
> take shape a little more.
>
> Cheers,
>
> Guy.
>
> -- 
>
> Guy Sherman
>
> *e:*g...@guysherman.com 
>
> *w: *http://guysherman.com 
>
>
>
> ___
> Linux-audio-dev mailing list
> Linux-audio-dev@lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev