Pharo Audio?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Pharo Audio?

Volkert
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



Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

jrick
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 <[hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

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 <[hidden email]> 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




Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

philippeback
And sound is not working under linux at the moment.

Phil

On Sun, May 7, 2017 at 3:20 PM, volkert <[hidden email]> 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 <[hidden email]> 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
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

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 [hidden email]:

> And sound is not working under linux at the moment.
>
> Phil
>
> On Sun, May 7, 2017 at 3:20 PM, volkert <[hidden email]> 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 <[hidden email]> 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
>>>
>>>
>>>


Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

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 [hidden email]:
>> And sound is not working under linux at the moment.
>>
>> Phil
>>
>> On Sun, May 7, 2017 at 3:20 PM, volkert <[hidden email]> 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 <[hidden email]> 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
>>>>
>>>>
>>>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

philippeback
Which Linux are you on?

Phil

On Sun, May 7, 2017 at 9:36 PM, volkert <[hidden email]> 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 [hidden email]:
>>>
>>> And sound is not working under linux at the moment.
>>>
>>> Phil
>>>
>>> On Sun, May 7, 2017 at 3:20 PM, volkert <[hidden email]> 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 <[hidden email]> 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
>>>>>
>>>>>
>>>>>
>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

Volkert
Ubuntu 16.04

Volkert

Am 7. Mai 2017 22:18:26 MESZ schrieb "[hidden email]" <[hidden email]>:
Which Linux are you on?

Phil

On Sun, May 7, 2017 at 9:36 PM, volkert <[hidden email]> 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 [hidden email]:

And sound is not working under linux at the moment.

Phil

On Sun, May 7, 2017 at 3:20 PM, volkert <[hidden email]> 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 <[hidden email]> 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.
Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

philippeback
CentOS7 and Ubuntu 14.04 LTS are not so lucky apparently.

Phil

On Mon, May 8, 2017 at 5:29 AM, Volkert <[hidden email]> wrote:

> Ubuntu 16.04
>
> Volkert
>
> Am 7. Mai 2017 22:18:26 MESZ schrieb "[hidden email]"
> <[hidden email]>:
>>
>> Which Linux are you on?
>>
>> Phil
>>
>> On Sun, May 7, 2017 at 9:36 PM, volkert <[hidden email]> 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 [hidden email]:
>>>>>
>>>>>
>>>>>  And sound is not working under linux at the moment.
>>>>>
>>>>>  Phil
>>>>>
>>>>>  On Sun, May 7, 2017 at 3:20 PM, volkert <[hidden email]> 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 <[hidden email]> 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.

Reply | Threaded
Open this post in threaded view
|

Re: Pharo Audio?

jrick
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 [hidden email] <[hidden email]> wrote:
CentOS7 and Ubuntu 14.04 LTS are not so lucky apparently.

Phil

On Mon, May 8, 2017 at 5:29 AM, Volkert <[hidden email]> wrote:
> Ubuntu 16.04
>
> Volkert
>
> Am 7. Mai 2017 22:18:26 MESZ schrieb "[hidden email]"
> <[hidden email]>:
>>
>> Which Linux are you on?
>>
>> Phil
>>
>> On Sun, May 7, 2017 at 9:36 PM, volkert <[hidden email]> 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 [hidden email]:
>>>>>
>>>>>
>>>>>  And sound is not working under linux at the moment.
>>>>>
>>>>>  Phil
>>>>>
>>>>>  On Sun, May 7, 2017 at 3:20 PM, volkert <[hidden email]> 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 <[hidden email]> 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.