Page 1 of 1

Noob question regarding latency

Posted: Mon Mar 06, 2017 5:27 pm
by mmcc
Hi - I was playing around with KXStudio on an oldish laptop yesterday (running LUbuntu 16.10) for a pretty simple use. My kid has an electronic drum kit with a USB Midi output, and I want him to be able to use that with Hydrogen, and mix in an MP3 of whatever song he wants to play along with.

After much trial and error, I got it all working. I was able to use the GNome MP3 player, Hydrogen, NON Mixer and Catia so he can play along with songs, and make all the weird sounds that Hyrdogen is capable of. On to my question...

I have JACK configured for a sample rate of 48000 and a buffer size of 512, which gives me a latency of ~10ms. I get some xruns, but it doesn't seem like a huge number.

If I try a smaller buffer size, JACK won't start.

Is my inability to use a smaller buffer size a function of the crappy sound card in the laptop, or its crappy CPU?

Re: Noob question regarding latency

Posted: Tue Mar 07, 2017 4:10 am
by varpa
Its most likely the crappy built-in sound card that prevents lower latencies.

Re: Noob question regarding latency

Posted: Tue Mar 07, 2017 2:39 pm
by mmcc
varpa wrote:Its most likely the crappy built-in sound card that prevents lower latencies.
Awesome. I've been poking around, and it looks like there are decent external audio interfaces for not a ton of money with mic, analog instrument and midi inputs. But, they seem to use standard midi connectors, and my (somewhat crappy?) drum kit and keyboard only sport usb outputs for midi.

So... are there external audio interfaces that have usb ports for midi input? Or can midi from the PC's USB ports be used by external audio interfaces that support midi? Or should I take this question to a different forum?

Re: Noob question regarding latency

Posted: Tue Mar 07, 2017 11:53 pm
by Gps

Re: Noob question regarding latency

Posted: Wed Mar 08, 2017 3:38 am
by AyeLinux
You don't need to run all your MIDI through the interface. You can plug the USB instruments directly into the computer. Then you can use qjackctl (or whatever you're using to configure JACK) to route the MIDI signals.

If you're low on USB ports, you can use a hub for the MIDI instruments. Just avoid hubs for the audio interface.

If you can't figure out the details, just ask. Someone here will point you in the right direction.

Re: Noob question regarding latency

Posted: Thu Apr 20, 2017 3:20 am
by SLCBagpiper
If you're low on USB ports, you can use a hub for the MIDI instruments. Just avoid hubs for the audio interface.
I'm very glad you brought that up. Given that there's very low voltage in a USB circuit and, by extension, in each USB port in a hub, you couldn't expect to run a USB-connected condenser mic by plugging the mic directly into a USB hub; you wouldn't get enough volume.

But would it be possible, do you know, to get that same USB-connected condenser mic to produce acceptable volume when plugged into a USB hub IF there were an intervening mixer board with phantom power?

In other words, if we plug the USB-mic into a mixer board with phantom power---probably after first using a USB-to-RTS adapter, or maybe a USB-to-XLR adapter---then out from the mixer board's USB connection, and into the USB hub, and from the USB hub into the computer running the DAW, etc., do you know if that sort of a set-up would work? Or is that just too crazy, even if we have all the hardware & adapters & such?

Thanks in advance for your kind help. All The Best! SlĂ inte!