[raspberry-vi] Re: 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: Thu, 25 Mar 2021 16:11:14 -0400

Hei Ari,

From your email address & coordinates in your signature, I gather you are 
somewhere in Finland between Helsinki, where I ate the best sardines & 
Rovaniemi, where I ate the best salmon on the planet😊  wonderful memories!

Thanks for your suggestion...  I did try it but I also had an error message...  
& that's why I said in my previous note that perhaps, it was time for me to 
start fresh...:-)

I will keep the suggestion in mind for when I embark on my take 2 adventure😊

Kippis to you & yours,

 Jean-Claude Provost

-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx> On 
Behalf Of Ari Moisio
Sent: Wednesday, March 24, 2021 4:14 PM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Re: I need speed, I need something that works, maybe I 
need another distro?

Hi

How about MPD, the music player  daemon?



--
mr. M01510 & guide Loadstone-GPS  Lat: 62.38718, lon: 25.64672 
hkp://wwwkeys.pgp.net B784D020 fp:0C1F6A76 DC9DDD58 33838B5D 0E769600 B7840D02 
http://sokkona.arimo.info


  Glenn K0LNY kirjoitti

Subject: [raspberry-vi] Re: I need speed, I need something that works,
    maybe I need another distro?
Date: Wed, 24 Mar 2021 21:44:32
From: Glenn K0LNY <glennervin@xxxxxxxxxxxx>
To: raspberry-vi@xxxxxxxxxxxxx

I wondered if that wasn't the case.
However, perhaps with no other solution, you could write a script that
combines the files, plays them, and after playing it, deletes the newly
created file, no matter the file names.
Glenn

----- Original Message -----
From: "Jean-Claude Provost" <jc.provost@xxxxxxxxxxxxxx>
To: <raspberry-vi@xxxxxxxxxxxxx>
Sent: Wednesday, March 24, 2021 2:31 PM
Subject: [raspberry-vi] Re: I need speed, I need something that works, maybe
I need another distro?


Hi Glenn,

Oh I can easily merge the file with an audio editor but that's not the
point.  The 4 files I have are just for a test...  In actuality, they will
change (i.e.: in a display context) so merging them is unfortunately not an
option.

Thanks,

Cheers,

Jean-Claude Provost

-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx>
On Behalf Of Glenn K0LNY
Sent: Wednesday, March 24, 2021 1:09 PM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Re: I need speed, I need something that works, maybe
I need another distro?

Hi Jean-Claude,
Have you tried to copy the files together into one file?
In MS DOS I used to use the copy command to copy multiple audio files into
one, thus there was no gap between them when the one larger file ran.
I don't know if Linux can do this though.
Glenn
----- Original Message -----
From: "Jean-Claude Provost" <jc.provost@xxxxxxxxxxxxxx>
To: <raspberry-vi@xxxxxxxxxxxxx>
Sent: Wednesday, March 24, 2021 12:03 PM
Subject: [raspberry-vi] I need speed, I need something that works, maybe I
need another distro?


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â?Tt.



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â?Tve 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â?Ts
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â?Tt install this module on my Buster Raspbian version.  Pip cannot be
found & it seems itâ?Ts 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â?Ts 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â?Ts mixer.  But here again, I find that the pygame module is not
installed &, as I said before, I canâ?Tt 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ðY~S  Shall I
find another hobby like knitting or somethingðY~S



Any musings are welcome but please, give me something that will get me out
of my miseryâ?¦  Iâ?Tm open to pretty much everything right nowðY~S



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

===========================================================
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


===========================================================
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

===========================================================
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

=========================================================== 
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


=========================================================== 
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: