sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
* play WARN alsa: under-run
@ 2018-07-10 18:08 Peter P.
  2018-07-10 18:44 ` Måns Rullgård
  0 siblings, 1 reply; 3+ messages in thread
From: Peter P. @ 2018-07-10 18:08 UTC (permalink / raw)
  To: sox-users

Hi,

I am trying to play back a wav file on a raspberry pi 1 with play from
SoX v14.4.2. I do get dropouts with the following message:

	play WARN alsa: under-run

I tried different values of --buffer but am not sure if this is
respected by the play command, or if it is just about sox's processing
blocks.

Does anyone know how I can adjust alsa buffer sizes for the play
command? Furthermore, does the play command support jackd?

Thank you!
Peter

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: play WARN alsa: under-run
  2018-07-10 18:08 play WARN alsa: under-run Peter P.
@ 2018-07-10 18:44 ` Måns Rullgård
  2018-07-10 18:51   ` Peter P.
  0 siblings, 1 reply; 3+ messages in thread
From: Måns Rullgård @ 2018-07-10 18:44 UTC (permalink / raw)
  To: Peter P.; +Cc: sox-users

"Peter P." <peterparker@fastmail.com> writes:

> Hi,
>
> I am trying to play back a wav file on a raspberry pi 1 with play from
> SoX v14.4.2. I do get dropouts with the following message:
>
> 	play WARN alsa: under-run
>
> I tried different values of --buffer but am not sure if this is
> respected by the play command, or if it is just about sox's processing
> blocks.
>
> Does anyone know how I can adjust alsa buffer sizes for the play
> command? Furthermore, does the play command support jackd?

The ALSA buffer size tracks the --buffer argument within the constraints
of the driver.  Since the RPi 1 is a rather low-performing system, it is
quite possible that it is simply too slow to keep up regardless of
buffer size.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: play WARN alsa: under-run
  2018-07-10 18:44 ` Måns Rullgård
@ 2018-07-10 18:51   ` Peter P.
  0 siblings, 0 replies; 3+ messages in thread
From: Peter P. @ 2018-07-10 18:51 UTC (permalink / raw)
  To: Måns Rullgård; +Cc: sox-users

* Måns Rullgård <mans@mansr.com> [2018-07-10 20:44]:
> "Peter P." <peterparker@fastmail.com> writes:
> 
> > Hi,
> >
> > I am trying to play back a wav file on a raspberry pi 1 with play from
> > SoX v14.4.2. I do get dropouts with the following message:
> >
> > 	play WARN alsa: under-run
> >
> > I tried different values of --buffer but am not sure if this is
> > respected by the play command, or if it is just about sox's processing
> > blocks.
> >
> > Does anyone know how I can adjust alsa buffer sizes for the play
> > command? Furthermore, does the play command support jackd?
> 
> The ALSA buffer size tracks the --buffer argument within the constraints
> of the driver.  Since the RPi 1 is a rather low-performing system, it is
> quite possible that it is simply too slow to keep up regardless of
> buffer size.
Thanks Måns for confirming this! One less uncertainty, much appreciated!
P

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-10 18:08 play WARN alsa: under-run Peter P.
2018-07-10 18:44 ` Måns Rullgård
2018-07-10 18:51   ` Peter P.

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox