[raspberry-vi] I need speed, I need something that works, maybe I need another distro?
- From: "Jean-Claude Provost" <jc.provost@xxxxxxxxxxxxxx>
- To: <raspberry-vi@xxxxxxxxxxxxx>
- Date: Wed, 24 Mar 2021 13:03:25 -0400
Hi all,
I just spent quite a few hours to get my Pi3B to deliver decent audio at a
reasonable speed & it seems I just canât.
for now, I have abandoned the idea to get a decent behavior out of speakup
because I wanted to do something different for a while⦠So I use SSH.
I wanted to play 4 small audio files in sequence but I run into issues, with
all the methods Iâve tried so far.
1. I tried omxplayer, invoking it through subprocess.run in a Python
program. It works perfectly audiowise through my 3.5â jack but itâs
unnaturally slow, even after putting an ampersand at the end of the line to
make it run in the background. I guess invoking subprocess several times in a
row is a bit CPU-intensive. I also was never able to suspend the output from
omxplayer even after trying to pipe it to NULL.
2. Then I tried to use the Python playsound module. Unfortunately it
seems I canât install this module on my Buster Raspbian version. Pip cannot
be found & it seems itâs not a package I can install with apt either
3. .I than tried with amixer & aplay but here again, snags & other
snags⦠when I go in raspi-configâs audio output selection, the 3.5â jack
choice is there but when I select it, raspi-config says there was an error
writing to the config file & it reverts back to HDMI. Even trying to play on
HDMI reveals a choppy useless output.
4. Following the Python tutorial from Sparkfun, I then tried to use
pygameâs mixer. But here again, I find that the pygame module is not
installed &, as I said before, I canât install it because pip cannot be
installed for some reason
All those tests were done using Python 3.7.3, the default installed with the
Raspbian version I have running.
I learned several things in that quest of mine but got nowhereð Shall I
find another hobby like knitting or somethingð
Any musings are welcome but please, give me something that will get me out of
my misery⦠Iâm open to pretty much everything right nowð
Thanks,
Cheers,
Jean-Claude Provost
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.
This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of the
Foundation.
Mike Ray, list creator, January 2013
Other related posts:
- » [raspberry-vi] I need speed, I need something that works, maybe I need another distro? - Jean-Claude Provost
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Glenn K0LNY
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Geoff Shang
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jeffery Mewtamer
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Ken Perry
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Norman King
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Andrew Hart
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jean-Claude Provost
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Glenn K0LNY
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Ari Moisio
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jean-Claude Provost
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Ken Perry
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jean-Claude Provost
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jean-Claude Provost
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Geoff Shang
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jean-Claude Provost
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Ken Perry
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Chris Moore
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Laz
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Glenn K0LNY
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Glenn K0LNY
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jeffery Mewtamer
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Glenn K0LNY
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jeffery Mewtamer
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Laz
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jean-Claude Provost
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Jean-Claude Provost
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Ken Perry
- » [raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?- Ken Perry