Re: Route input to output with minimal latency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Clemens,

I have a question though, using the alsaloop tool and setting a latency, what does that mean exactly ? If I set latency to 48 frames (like below), does it mean 48 frames per capture/playback, i.e. so total latency is 96 frames ? Or is 48 the total latency ?

Regards
/R

> -----Original Message-----
> From: Robert Bielik [mailto:Robert.Bielik@xxxxxxxxx]
> Sent: den 21 juli 2017 11:46
> To: Clemens Ladisch <clemens@xxxxxxxxxx>; alsa-user@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Route input to output with minimal latency
> 
> Dear Clemens,
> 
> Thank you so much for the alsaloop tip, I just ran it with:
> 
> > chrt -rr 70 alsaloop -f S32_LE -C plughw:0 -P plug:ladspa -l 48
> 
> And it works perfectly, exactly what I needed! 😃
> 
> Regards
> /Robert
> 
> > -----Original Message-----
> > From: Robert Bielik [mailto:Robert.Bielik@xxxxxxxxx]
> > Sent: den 21 juli 2017 11:32
> > To: Clemens Ladisch <clemens@xxxxxxxxxx>;
> > alsa-user@xxxxxxxxxxxxxxxxxxxxx
> > Subject: Re:  Route input to output with minimal latency
> >
> > Hello Clemens,
> >
> > > Otherwise, you have to do the capture and playback in software.  See
> > > the alsaloop tool.  What latency you can reach depends on how much
> > > other applications and drivers interfere with the scheduling; on the
> > > Pi, typical culprits are WiFi, ethernet, or USB.
> > > Also see <https://wiki.linuxaudio.org/wiki/raspberrypi>.
> >
> > Thanks, I'll look at alsaloop tool. For further info, I am using an
> > I2S sound card
> > (http://www.audioinjector.net/rpi-hat) , and have setup an ALSA device
> > to route playback.pcm through a LADSPA plugin, so all DSP will reside
> > in the plugin, thus I only need to route ALSA input to output in the
> > application 😊
> >
> > Regards
> > /Robert
> > ----------------------------------------------------------------------
> > -------- Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Alsa-user mailing list
> > Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most engaging
> tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux