-   Linux - Hardware (
-   -   Eliminate or Reduce Mic Input to Speakers Latency? (

AudioMechanic 03-07-2010 11:27 AM

Eliminate or Reduce Mic Input to Speakers Latency?
Ok, my question is likely an odd one but here goes anyway.

I have a Macbook running Ubuntu Karmic and I have been asked to DJ (amateur to the MAX) a friend's wedding next weekend. I don't have the coin to spend on a Mixer so I can run my mic and laptop through my amp so I figure I'd just run the Mic into the mic input on my Macbook and let the laptop do the mixing for me.

Well, I added the loopback module to Pulse and inserted a command to have it auto start:


pactl load-module module-loopback

sudo sh -c ' echo "load-module module-loopback" >> /etc/pulse/ '
Now, all of that actually works fine! I can hear the mic through the output and the quality is good. My problem now, is that what comes out of the speakers is about 30 milliseconds behind what I'm saying into the mic. This, of course, is throwing me off big time (like listening to a serious echo and trying to talk despite it).

Is there any way to reduce the latency? To make the input-to-output faster?

Thanks in advnace!

tredegar 03-07-2010 12:01 PM

Maybe try something that is reputed to be optimised for handling audio, like 'buntu Studio ?

AudioMechanic 03-07-2010 12:29 PM

Thought about it. What is different sound server-wise between Studio and Original?

I though Studio was more adapted to post-production rather than live. I could very easily be wrong here.

Thanks for the reply!!!

tredegar 03-07-2010 12:45 PM


What is different sound server-wise between Studio and Original?
I do not know, I have no use or need for "studio". It was just a suggestion.

smoker 03-07-2010 01:32 PM

You don't want to be using pulse audio.

Try this :

Electro 03-07-2010 05:17 PM

I agree with smoker. Remove or disable Pulseaudio and use JACK instead. JACK is designed to have the lowest latency when possible. If programs does not support JACK, ALSA has a plug-in to make non-JACK supporting programs work with JACK.

Personally, I would not put Linux on a Macbook or any Mac these days because the operating system is Unix like, so you get the best of two worlds.

All times are GMT -5. The time now is 02:36 PM.