Dear all, it is possible to play some audio (wav, ogg, mp3, ...) in Pharo? - I need to play an effect on a key/mouse event... - i need to play/stream some audio file in the background ... BW, Volkert
Yes, you need to install PharoSound from the Catalog Browser (World Menu -> Tools -> Catalog Browser). Cheers, Jeff On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
I have done this, but if have no idea how to play a mp3, ogg, wav file LG, Volkert Am 07.05.2017 um 15:17 schrieb J.F. Rick:
Yes, you need to install PharoSound from the Catalog Browser (World Menu -> Tools -> Catalog Browser).
Cheers,
Jeff
On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de <mailto:volkert@nivoba.de>> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
And sound is not working under linux at the moment. Phil On Sun, May 7, 2017 at 3:20 PM, volkert <volkert@nivoba.de> wrote:
I have done this, but if have no idea how to play a mp3, ogg, wav file
LG,
Volkert
Am 07.05.2017 um 15:17 schrieb J.F. Rick:
Yes, you need to install PharoSound from the Catalog Browser (World Menu -> Tools -> Catalog Browser).
Cheers,
Jeff
On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
it tried the latest VM for Pharo6 and it works. you need to install "osspd". anyway, any code snippets around, that shows me how to load and play mp3, ogg or wav? Volkert Am 07.05.2017 um 18:12 schrieb phil@highoctane.be:
And sound is not working under linux at the moment.
Phil
On Sun, May 7, 2017 at 3:20 PM, volkert <volkert@nivoba.de> wrote:
I have done this, but if have no idea how to play a mp3, ogg, wav file
LG,
Volkert
Am 07.05.2017 um 15:17 schrieb J.F. Rick:
Yes, you need to install PharoSound from the Catalog Browser (World Menu -> Tools -> Catalog Browser).
Cheers,
Jeff
On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
I found this tutorial "https://github.com/xmessner/PharoSoundTutorial" So at least wav files working :-) Volkert Am 07.05.2017 um 19:08 schrieb volkert:
it tried the latest VM for Pharo6 and it works. you need to install "osspd".
anyway, any code snippets around, that shows me how to load and play mp3, ogg or wav?
Volkert
Am 07.05.2017 um 18:12 schrieb phil@highoctane.be:
And sound is not working under linux at the moment.
Phil
On Sun, May 7, 2017 at 3:20 PM, volkert <volkert@nivoba.de> wrote:
I have done this, but if have no idea how to play a mp3, ogg, wav file
LG,
Volkert
Am 07.05.2017 um 15:17 schrieb J.F. Rick:
Yes, you need to install PharoSound from the Catalog Browser (World Menu -> Tools -> Catalog Browser).
Cheers,
Jeff
On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
Which Linux are you on? Phil On Sun, May 7, 2017 at 9:36 PM, volkert <volkert@nivoba.de> wrote:
I found this tutorial "https://github.com/xmessner/PharoSoundTutorial"
So at least wav files working :-)
Volkert
Am 07.05.2017 um 19:08 schrieb volkert:
it tried the latest VM for Pharo6 and it works. you need to install "osspd".
anyway, any code snippets around, that shows me how to load and play mp3, ogg or wav?
Volkert
Am 07.05.2017 um 18:12 schrieb phil@highoctane.be:
And sound is not working under linux at the moment.
Phil
On Sun, May 7, 2017 at 3:20 PM, volkert <volkert@nivoba.de> wrote:
I have done this, but if have no idea how to play a mp3, ogg, wav file
LG,
Volkert
Am 07.05.2017 um 15:17 schrieb J.F. Rick:
Yes, you need to install PharoSound from the Catalog Browser (World Menu -> Tools -> Catalog Browser).
Cheers,
Jeff
On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
Ubuntu 16.04 Volkert Am 7. Mai 2017 22:18:26 MESZ schrieb "phil@highoctane.be" <phil@highoctane.be>:
Which Linux are you on?
Phil
On Sun, May 7, 2017 at 9:36 PM, volkert <volkert@nivoba.de> wrote:
I found this tutorial "https://github.com/xmessner/PharoSoundTutorial"
So at least wav files working :-)
Volkert
Am 07.05.2017 um 19:08 schrieb volkert:
it tried the latest VM for Pharo6 and it works. you need to install "osspd".
anyway, any code snippets around, that shows me how to load and play
mp3,
ogg or wav?
Volkert
Am 07.05.2017 um 18:12 schrieb phil@highoctane.be:
And sound is not working under linux at the moment.
Phil
On Sun, May 7, 2017 at 3:20 PM, volkert <volkert@nivoba.de> wrote:
I have done this, but if have no idea how to play a mp3, ogg, wav
file
LG,
Volkert
Am 07.05.2017 um 15:17 schrieb J.F. Rick:
Yes, you need to install PharoSound from the Catalog Browser
(World Menu
-> Tools -> Catalog Browser).
Cheers,
Jeff
On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
CentOS7 and Ubuntu 14.04 LTS are not so lucky apparently. Phil On Mon, May 8, 2017 at 5:29 AM, Volkert <volkert@nivoba.de> wrote:
Ubuntu 16.04
Volkert
Am 7. Mai 2017 22:18:26 MESZ schrieb "phil@highoctane.be" <phil@highoctane.be>:
Which Linux are you on?
Phil
On Sun, May 7, 2017 at 9:36 PM, volkert <volkert@nivoba.de> wrote:
I found this tutorial "https://github.com/xmessner/PharoSoundTutorial"
So at least wav files working :-)
Volkert
Am 07.05.2017 um 19:08 schrieb volkert:
it tried the latest VM for Pharo6 and it works. you need to install "osspd".
anyway, any code snippets around, that shows me how to load and play mp3, ogg or wav?
Volkert
Am 07.05.2017 um 18:12 schrieb phil@highoctane.be:
And sound is not working under linux at the moment.
Phil
On Sun, May 7, 2017 at 3:20 PM, volkert <volkert@nivoba.de> wrote:
I have done this, but if have no idea how to play a mp3, ogg, wav file
LG,
Volkert
Am 07.05.2017 um 15:17 schrieb J.F. Rick:
Yes, you need to install PharoSound from the Catalog Browser (World Menu -> Tools -> Catalog Browser).
Cheers,
Jeff
On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Yes, sound support on Linux is not great and probably won't be good until 64-bit. If you are just looking to play an MP3 based on some user action, you could just try using a command-line MP3 player and then using an OSProcess to launch it, stop it, etc. It's a bit ugly code but might need your needs. Cheers, Jeff On Mon, May 8, 2017 at 2:16 AM phil@highoctane.be <phil@highoctane.be> wrote:
CentOS7 and Ubuntu 14.04 LTS are not so lucky apparently.
Phil
On Mon, May 8, 2017 at 5:29 AM, Volkert <volkert@nivoba.de> wrote:
Ubuntu 16.04
Volkert
Am 7. Mai 2017 22:18:26 MESZ schrieb "phil@highoctane.be" <phil@highoctane.be>:
Which Linux are you on?
Phil
On Sun, May 7, 2017 at 9:36 PM, volkert <volkert@nivoba.de> wrote:
I found this tutorial "https://github.com/xmessner/PharoSoundTutorial
"
So at least wav files working :-)
Volkert
Am 07.05.2017 um 19:08 schrieb volkert:
it tried the latest VM for Pharo6 and it works. you need to install "osspd".
anyway, any code snippets around, that shows me how to load and play mp3, ogg or wav?
Volkert
Am 07.05.2017 um 18:12 schrieb phil@highoctane.be:
And sound is not working under linux at the moment.
Phil
On Sun, May 7, 2017 at 3:20 PM, volkert <volkert@nivoba.de> wrote:
I have done this, but if have no idea how to play a mp3, ogg, wav file
LG,
Volkert
Am 07.05.2017 um 15:17 schrieb J.F. Rick:
Yes, you need to install PharoSound from the Catalog Browser (World Menu -> Tools -> Catalog Browser).
Cheers,
Jeff
On Sun, May 7, 2017 at 8:42 AM volkert <volkert@nivoba.de> wrote:
Dear all,
it is possible to play some audio (wav, ogg, mp3, ...) in Pharo?
- I need to play an effect on a key/mouse event...
- i need to play/stream some audio file in the background ...
BW, Volkert
-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
participants (4)
-
J.F. Rick -
phil@highoctane.be -
Volkert -
volkert