[LAU] play glitchless loop?

Mathis Ahrens Mathis.Ahrens at gmx.de
Sat Oct 30 02:11:41 UTC 2010


Hi Dan,

Dan Muresan schrieb:
> Agreed -- but yes, I was looking for a lightweight alternative. I
> found one, but it's ugly:
>
> (while true; do flac -dc --force-raw-format --endian=little
> --sign=signed loop.flac; done) | play -t raw -L -b 24 -r 48k -e s -
>
> where play is from sox. Raw output concatenates nicely. One mistake in
> the switches sends the speakers screaming, of course.
>
> I'm not sure how to send raw samples to jack yet.
>   

I haven't tried it myself, but piping should work for anything.
Search for "mplayer gapless fifo" or similar.

HTH,
Mathis




More information about the Linux-audio-user mailing list