Re: [Pharo-users] Pharo-Sound

2020-05-19 Thread Russ Whaley
The repository browser did not list PharoSound - at least in an obvious
place :) so I couldn't unload it.

I created a new image - spent two hours getting Git/Iceberg working
(personal problems, I guess - character flaw that this is so difficult for
me).  But my new image is only 70MB.  My old image was 270MB.  So I guess
it doesn't matter how to unload PharoSound as I now have a new image...

Thanks!
Russ

On Thu, May 14, 2020 at 9:56 AM Stéphane Ducasse 
wrote:

>
>
> On 14 May 2020, at 15:44, Russ Whaley  wrote:
>
> Okay, so I may just have a compatibility issue w/v8, I suppose.  The
> suggestions on external audio, etc., are great - and a future need for me
> for sure, but right now, I'd settle for a beep :) - as I'm having troubles
> (another post on Spec2) updating my display with a 'Correct' or 'Incorrect'
> - between normal refreshes... so I just wanted an audible beep to let me
> know things were working.  I created a Logger class where I can log and see
> (in the log) that all the functional code is getting processed properly - I
> just can't seem to get it to the display.
>
> I may try the FFI route - but it looks to be quite a bit more than I need
> right now.
>
> Is there a way to completely remove the PharoSound 'package'?  It's
> possible, with me trying to figure out how to use it, I ran something that
> disabled it in my version.  Reloading it didn't help, but perhaps if I
> could get it completely deleted?
>
>
> go the repository browser, select it and press unload.
>
> S/
>
>
> Thanks all!
> Russ
>
> On Thu, May 14, 2020 at 9:36 AM Stéphane Ducasse <
> stephane.duca...@inria.fr> wrote:
>
>> Hi russ
>>
>> I do not know if the catalog is referring the latest version but in
>> anycase the plugins are all using old libraries and do not really work
>> anymore (because not
>> available anymore).
>>
>> We were discussing monday about it and to propose a binding to more
>> recent libraries such as openAV
>> We need help there.
>>
>> S.
>>
>> On 13 May 2020, at 20:49, Russ Whaley  wrote:
>>
>> I'm using Pharo 8 stable (64bit) version.
>>
>> I pulled PharoSound from the Catalog and installed.  Installed fine, no
>> errors.
>>
>> I went to the comments on the abstract class.  Copied the examples to the
>> Playground, ran them - worked fine (although I don't know how to stop the
>> dang PluckedString example!!)... I digress  :)
>>
>> I created my own subclass to play specific sounds at certain events in my
>> application.  Worked well.  A day later - I have no sound in my image at
>> all now.  Nothing works.  I reinstalled from the Catalog. Ran the code
>> listed in the AbstractSound comments - nothing.
>>
>> I installed a new Pharo 8 stable 64-bit image - pulled PharoSound in,
>> copied the sampe code from AbstractSound comments... and it worked just
>> fine.
>>
>> Any ideas how I can get sound to work again on my original image?  For
>> me, it is a real pain to try and migrate all my code over to a new image.
>> It is apparently a character flaw on my part, but it takes me hours to get
>> Git/Iceberg working properly on a new image. (yes, I'm ashamed).  I see a
>> new book on the topic, but I had been following that book while it was wip,
>> and Git/Iceberg just whips my butt.  But if going to a new image is the
>> solution, I'll try, try again.
>>
>> What do you think?
>>
>> Thanks,
>> Russ
>>
>> --
>> Russ Whaley
>> whaley.r...@gmail.com
>>
>>
>> 
>> Stéphane Ducasse
>> http://stephane.ducasse.free.fr / http://www.pharo.org
>> 03 59 35 87 52
>> Assistant: Julie Jonas
>> FAX 03 59 57 78 50
>> TEL 03 59 35 86 16
>> S. Ducasse - Inria
>> 40, avenue Halley,
>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>> Villeneuve d'Ascq 59650
>> France
>>
>>
>
> --
> Russ Whaley
> whaley.r...@gmail.com
>
>
> 
> Stéphane Ducasse
> http://stephane.ducasse.free.fr / http://www.pharo.org
> 03 59 35 87 52
> Assistant: Julie Jonas
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
>

-- 
Russ Whaley
whaley.r...@gmail.com


Re: [Pharo-users] Pharo-Sound

2020-05-14 Thread Russ Whaley
Great!  I'll try that. Thank you!

Any other ideas just to get the computer to beep?  In the old days I could
send a ^G to stdout, lol... (or something like that, memory fades).

On Thu, May 14, 2020 at 9:56 AM Stéphane Ducasse 
wrote:

>
>
> On 14 May 2020, at 15:44, Russ Whaley  wrote:
>
> Okay, so I may just have a compatibility issue w/v8, I suppose.  The
> suggestions on external audio, etc., are great - and a future need for me
> for sure, but right now, I'd settle for a beep :) - as I'm having troubles
> (another post on Spec2) updating my display with a 'Correct' or 'Incorrect'
> - between normal refreshes... so I just wanted an audible beep to let me
> know things were working.  I created a Logger class where I can log and see
> (in the log) that all the functional code is getting processed properly - I
> just can't seem to get it to the display.
>
> I may try the FFI route - but it looks to be quite a bit more than I need
> right now.
>
> Is there a way to completely remove the PharoSound 'package'?  It's
> possible, with me trying to figure out how to use it, I ran something that
> disabled it in my version.  Reloading it didn't help, but perhaps if I
> could get it completely deleted?
>
>
> go the repository browser, select it and press unload.
>
> S/
>
>
> Thanks all!
> Russ
>
> On Thu, May 14, 2020 at 9:36 AM Stéphane Ducasse <
> stephane.duca...@inria.fr> wrote:
>
>> Hi russ
>>
>> I do not know if the catalog is referring the latest version but in
>> anycase the plugins are all using old libraries and do not really work
>> anymore (because not
>> available anymore).
>>
>> We were discussing monday about it and to propose a binding to more
>> recent libraries such as openAV
>> We need help there.
>>
>> S.
>>
>> On 13 May 2020, at 20:49, Russ Whaley  wrote:
>>
>> I'm using Pharo 8 stable (64bit) version.
>>
>> I pulled PharoSound from the Catalog and installed.  Installed fine, no
>> errors.
>>
>> I went to the comments on the abstract class.  Copied the examples to the
>> Playground, ran them - worked fine (although I don't know how to stop the
>> dang PluckedString example!!)... I digress  :)
>>
>> I created my own subclass to play specific sounds at certain events in my
>> application.  Worked well.  A day later - I have no sound in my image at
>> all now.  Nothing works.  I reinstalled from the Catalog. Ran the code
>> listed in the AbstractSound comments - nothing.
>>
>> I installed a new Pharo 8 stable 64-bit image - pulled PharoSound in,
>> copied the sampe code from AbstractSound comments... and it worked just
>> fine.
>>
>> Any ideas how I can get sound to work again on my original image?  For
>> me, it is a real pain to try and migrate all my code over to a new image.
>> It is apparently a character flaw on my part, but it takes me hours to get
>> Git/Iceberg working properly on a new image. (yes, I'm ashamed).  I see a
>> new book on the topic, but I had been following that book while it was wip,
>> and Git/Iceberg just whips my butt.  But if going to a new image is the
>> solution, I'll try, try again.
>>
>> What do you think?
>>
>> Thanks,
>> Russ
>>
>> --
>> Russ Whaley
>> whaley.r...@gmail.com
>>
>>
>> 
>> Stéphane Ducasse
>> http://stephane.ducasse.free.fr / http://www.pharo.org
>> 03 59 35 87 52
>> Assistant: Julie Jonas
>> FAX 03 59 57 78 50
>> TEL 03 59 35 86 16
>> S. Ducasse - Inria
>> 40, avenue Halley,
>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>> Villeneuve d'Ascq 59650
>> France
>>
>>
>
> --
> Russ Whaley
> whaley.r...@gmail.com
>
>
> 
> Stéphane Ducasse
> http://stephane.ducasse.free.fr / http://www.pharo.org
> 03 59 35 87 52
> Assistant: Julie Jonas
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
>

-- 
Russ Whaley
whaley.r...@gmail.com


Re: [Pharo-users] Pharo-Sound

2020-05-14 Thread Stéphane Ducasse


> On 14 May 2020, at 15:44, Russ Whaley  wrote:
> 
> Okay, so I may just have a compatibility issue w/v8, I suppose.  The 
> suggestions on external audio, etc., are great - and a future need for me for 
> sure, but right now, I'd settle for a beep :) - as I'm having troubles 
> (another post on Spec2) updating my display with a 'Correct' or 'Incorrect' - 
> between normal refreshes... so I just wanted an audible beep to let me know 
> things were working.  I created a Logger class where I can log and see (in 
> the log) that all the functional code is getting processed properly - I just 
> can't seem to get it to the display.
> 
> I may try the FFI route - but it looks to be quite a bit more than I need 
> right now.
> 
> Is there a way to completely remove the PharoSound 'package'?  It's possible, 
> with me trying to figure out how to use it, I ran something that disabled it 
> in my version.  Reloading it didn't help, but perhaps if I could get it 
> completely deleted?  

go the repository browser, select it and press unload. 

S/ 
> 
> Thanks all!
> Russ
> 
> On Thu, May 14, 2020 at 9:36 AM Stéphane Ducasse  > wrote:
> Hi russ
> 
> I do not know if the catalog is referring the latest version but in anycase 
> the plugins are all using old libraries and do not really work anymore 
> (because not
> available anymore). 
> 
> We were discussing monday about it and to propose a binding to more recent 
> libraries such as openAV
> We need help there. 
> 
> S.
> 
>> On 13 May 2020, at 20:49, Russ Whaley > > wrote:
>> 
>> I'm using Pharo 8 stable (64bit) version.
>> 
>> I pulled PharoSound from the Catalog and installed.  Installed fine, no 
>> errors.
>> 
>> I went to the comments on the abstract class.  Copied the examples to the 
>> Playground, ran them - worked fine (although I don't know how to stop the 
>> dang PluckedString example!!)... I digress  :)
>> 
>> I created my own subclass to play specific sounds at certain events in my 
>> application.  Worked well.  A day later - I have no sound in my image at all 
>> now.  Nothing works.  I reinstalled from the Catalog. Ran the code listed in 
>> the AbstractSound comments - nothing.
>> 
>> I installed a new Pharo 8 stable 64-bit image - pulled PharoSound in, copied 
>> the sampe code from AbstractSound comments... and it worked just fine.
>> 
>> Any ideas how I can get sound to work again on my original image?  For me, 
>> it is a real pain to try and migrate all my code over to a new image.  It is 
>> apparently a character flaw on my part, but it takes me hours to get 
>> Git/Iceberg working properly on a new image. (yes, I'm ashamed).  I see a 
>> new book on the topic, but I had been following that book while it was wip, 
>> and Git/Iceberg just whips my butt.  But if going to a new image is the 
>> solution, I'll try, try again.
>> 
>> What do you think?
>> 
>> Thanks,
>> Russ
>> 
>> -- 
>> Russ Whaley
>> whaley.r...@gmail.com 
> 
> Stéphane Ducasse
> http://stephane.ducasse.free.fr  / 
> http://www.pharo.org  
> 03 59 35 87 52
> Assistant: Julie Jonas 
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley, 
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
> 
> 
> 
> -- 
> Russ Whaley
> whaley.r...@gmail.com 

Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org 
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France



Re: [Pharo-users] Pharo-Sound

2020-05-14 Thread Russ Whaley
Okay, so I may just have a compatibility issue w/v8, I suppose.  The
suggestions on external audio, etc., are great - and a future need for me
for sure, but right now, I'd settle for a beep :) - as I'm having troubles
(another post on Spec2) updating my display with a 'Correct' or 'Incorrect'
- between normal refreshes... so I just wanted an audible beep to let me
know things were working.  I created a Logger class where I can log and see
(in the log) that all the functional code is getting processed properly - I
just can't seem to get it to the display.

I may try the FFI route - but it looks to be quite a bit more than I need
right now.

Is there a way to completely remove the PharoSound 'package'?  It's
possible, with me trying to figure out how to use it, I ran something that
disabled it in my version.  Reloading it didn't help, but perhaps if I
could get it completely deleted?

Thanks all!
Russ

On Thu, May 14, 2020 at 9:36 AM Stéphane Ducasse 
wrote:

> Hi russ
>
> I do not know if the catalog is referring the latest version but in
> anycase the plugins are all using old libraries and do not really work
> anymore (because not
> available anymore).
>
> We were discussing monday about it and to propose a binding to more recent
> libraries such as openAV
> We need help there.
>
> S.
>
> On 13 May 2020, at 20:49, Russ Whaley  wrote:
>
> I'm using Pharo 8 stable (64bit) version.
>
> I pulled PharoSound from the Catalog and installed.  Installed fine, no
> errors.
>
> I went to the comments on the abstract class.  Copied the examples to the
> Playground, ran them - worked fine (although I don't know how to stop the
> dang PluckedString example!!)... I digress  :)
>
> I created my own subclass to play specific sounds at certain events in my
> application.  Worked well.  A day later - I have no sound in my image at
> all now.  Nothing works.  I reinstalled from the Catalog. Ran the code
> listed in the AbstractSound comments - nothing.
>
> I installed a new Pharo 8 stable 64-bit image - pulled PharoSound in,
> copied the sampe code from AbstractSound comments... and it worked just
> fine.
>
> Any ideas how I can get sound to work again on my original image?  For me,
> it is a real pain to try and migrate all my code over to a new image.  It
> is apparently a character flaw on my part, but it takes me hours to get
> Git/Iceberg working properly on a new image. (yes, I'm ashamed).  I see a
> new book on the topic, but I had been following that book while it was wip,
> and Git/Iceberg just whips my butt.  But if going to a new image is the
> solution, I'll try, try again.
>
> What do you think?
>
> Thanks,
> Russ
>
> --
> Russ Whaley
> whaley.r...@gmail.com
>
>
> 
> Stéphane Ducasse
> http://stephane.ducasse.free.fr / http://www.pharo.org
> 03 59 35 87 52
> Assistant: Julie Jonas
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
>

-- 
Russ Whaley
whaley.r...@gmail.com


Re: [Pharo-users] Pharo-Sound

2020-05-14 Thread Stéphane Ducasse
Hi russ

I do not know if the catalog is referring the latest version but in anycase the 
plugins are all using old libraries and do not really work anymore (because not
available anymore). 

We were discussing monday about it and to propose a binding to more recent 
libraries such as openAV
We need help there. 

S.

> On 13 May 2020, at 20:49, Russ Whaley  wrote:
> 
> I'm using Pharo 8 stable (64bit) version.
> 
> I pulled PharoSound from the Catalog and installed.  Installed fine, no 
> errors.
> 
> I went to the comments on the abstract class.  Copied the examples to the 
> Playground, ran them - worked fine (although I don't know how to stop the 
> dang PluckedString example!!)... I digress  :)
> 
> I created my own subclass to play specific sounds at certain events in my 
> application.  Worked well.  A day later - I have no sound in my image at all 
> now.  Nothing works.  I reinstalled from the Catalog. Ran the code listed in 
> the AbstractSound comments - nothing.
> 
> I installed a new Pharo 8 stable 64-bit image - pulled PharoSound in, copied 
> the sampe code from AbstractSound comments... and it worked just fine.
> 
> Any ideas how I can get sound to work again on my original image?  For me, it 
> is a real pain to try and migrate all my code over to a new image.  It is 
> apparently a character flaw on my part, but it takes me hours to get 
> Git/Iceberg working properly on a new image. (yes, I'm ashamed).  I see a new 
> book on the topic, but I had been following that book while it was wip, and 
> Git/Iceberg just whips my butt.  But if going to a new image is the solution, 
> I'll try, try again.
> 
> What do you think?
> 
> Thanks,
> Russ
> 
> -- 
> Russ Whaley
> whaley.r...@gmail.com 

Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org 
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France



Re: [Pharo-users] Pharo-Sound

2020-05-14 Thread VERHAEGHE Benoit

Hello,

I don't know what is exactly your problem.
If you want I have developed a FFI binding to VLC. 
(https://github.com/badetitou/Pharo-LibVLC) 


So you can play any kind of audio file (or stream) from pharo.

If you need help you can send me a direct message.

Cheers,
Benoît

Le 14/05/2020 à 11:39, Ben Coman a écrit :



On Thu, 14 May 2020 at 02:50, Russ Whaley > wrote:


I'm using Pharo 8 stable (64bit) version.

I pulled PharoSound from the Catalog and installed. Installed
fine, no errors.

I went to the comments on the abstract class.  Copied the examples
to the Playground, ran them - worked fine (although I don't know
how to stop the dang PluckedString example!!)... I digress  :)

I created my own subclass to play specific sounds at certain
events in my application.  Worked well.  A day later - I have no
sound in my image at all now.  Nothing works.  I reinstalled from
the Catalog. Ran the code listed in the AbstractSound comments -
nothing.

I installed a new Pharo 8 stable 64-bit image - pulled PharoSound
in, copied the sampe code from AbstractSound comments... and it
worked just fine.

Any ideas how I can get sound to work again on my original image? 
For me, it is a real pain to try and migrate all my code over to a
new image.  It is apparently a character flaw on my part, but it
takes me hours to get Git/Iceberg working properly on a new image.
(yes, I'm ashamed).  I see a new book on the topic, but I had been
following that book while it was wip, and Git/Iceberg just whips
my butt.  But if going to a new image is the solution, I'll try,
try again.

What do you think?


Sorry I don't the answer Russ, but just to piggy-back your query...
@all, is sound something that we should now be starting to do via FFI 
rather than existing plugins? [but pls prioritize Russ's question]

cheers -ben


--
Benoît Verhaeghe
badetitou.github.io

benoit.verhae...@berger-levrault.com
R Engineer at Berger-Levrault
benoit.verhae...@inria.fr
PHD student at Inria-Lille--Nord-Europe



Re: [Pharo-users] Pharo-Sound

2020-05-14 Thread Ben Coman
On Thu, 14 May 2020 at 02:50, Russ Whaley  wrote:

> I'm using Pharo 8 stable (64bit) version.
>
> I pulled PharoSound from the Catalog and installed.  Installed fine, no
> errors.
>
> I went to the comments on the abstract class.  Copied the examples to the
> Playground, ran them - worked fine (although I don't know how to stop the
> dang PluckedString example!!)... I digress  :)
>
> I created my own subclass to play specific sounds at certain events in my
> application.  Worked well.  A day later - I have no sound in my image at
> all now.  Nothing works.  I reinstalled from the Catalog. Ran the code
> listed in the AbstractSound comments - nothing.
>
> I installed a new Pharo 8 stable 64-bit image - pulled PharoSound in,
> copied the sampe code from AbstractSound comments... and it worked just
> fine.
>
> Any ideas how I can get sound to work again on my original image?  For me,
> it is a real pain to try and migrate all my code over to a new image.  It
> is apparently a character flaw on my part, but it takes me hours to get
> Git/Iceberg working properly on a new image. (yes, I'm ashamed).  I see a
> new book on the topic, but I had been following that book while it was wip,
> and Git/Iceberg just whips my butt.  But if going to a new image is the
> solution, I'll try, try again.
>
> What do you think?
>

Sorry I don't the answer Russ, but just to piggy-back your query...
@all, is sound something that we should now be starting to do via FFI
rather than existing plugins? [but pls prioritize Russ's question]
cheers -ben


[Pharo-users] Pharo-Sound

2020-05-13 Thread Russ Whaley
I'm using Pharo 8 stable (64bit) version.

I pulled PharoSound from the Catalog and installed.  Installed fine, no
errors.

I went to the comments on the abstract class.  Copied the examples to the
Playground, ran them - worked fine (although I don't know how to stop the
dang PluckedString example!!)... I digress  :)

I created my own subclass to play specific sounds at certain events in my
application.  Worked well.  A day later - I have no sound in my image at
all now.  Nothing works.  I reinstalled from the Catalog. Ran the code
listed in the AbstractSound comments - nothing.

I installed a new Pharo 8 stable 64-bit image - pulled PharoSound in,
copied the sampe code from AbstractSound comments... and it worked just
fine.

Any ideas how I can get sound to work again on my original image?  For me,
it is a real pain to try and migrate all my code over to a new image.  It
is apparently a character flaw on my part, but it takes me hours to get
Git/Iceberg working properly on a new image. (yes, I'm ashamed).  I see a
new book on the topic, but I had been following that book while it was wip,
and Git/Iceberg just whips my butt.  But if going to a new image is the
solution, I'll try, try again.

What do you think?

Thanks,
Russ

-- 
Russ Whaley
whaley.r...@gmail.com


Re: [Pharo-users] Pharo sound with SDL Library

2018-03-21 Thread Stephane Ducasse
Thanks for the news!
If you can provide a little example of WAVParser it will help.



On Tue, Mar 20, 2018 at 4:50 PM, Mariano Badoglio
 wrote:
> Perfect! I have loaded the Merwan WAVParser project, that uses the
> OpenAL library and it worked fine.
>
> Best regards!
> Mariano
>
>
> El 19/03/18 a las 16:32, Stephane Ducasse escribió:
>> Yes we should migrate it and probably include it in Pharo and clean it.
>>
>> Stef
>>
>> On Mon, Mar 19, 2018 at 6:59 PM, Mariano Badoglio
>>  wrote:
>>> Hi Stephean, Sean,
>>>
>>> Thanks for your response. I have installed the Monticello Package
>>> "Sound" from http://smalltalkhub.com/mc/PharoExtras/Sound/main, the last
>>> update is Sound-StephaneDucasse.80 package from year 2013. It is from
>>> Pharo Extras. Is this the right package?
>>>
>>> Best regards,
>>> Mariano
>>>
>>>
>>> El 17/03/18 a las 16:05, Stephane Ducasse escribió:
 Hi mariano

 did you try the sound package that is on Smalltalkhub/Pharo? or
 PharoExtras. We should migrate it to pharo 70

 Stef

 On Sat, Mar 17, 2018 at 1:14 PM, Mariano Badoglio
  wrote:
> Hello!
>
> I need to use the Pharo Sound over Ubuntu platform, but I couldn't get
> it work. I tryied sending the parameter vm-sound-OSS and vm-sound-ALSA
> to the vm but I get no results.
>
> I am now trying to use the SDL Library. I could initialize the sound
> SDL_Init(SDL_INIT_AUDIO), very similar to initializing video, but when
> trying to use the SDL_LoadWAV, it needs a SDL_AudioSpec data type and I
> do not know how to do it. I tried to use an Structure as parameter but
> with no result, I couldn't found any similar example to follow. I will
> appreciate any help or tips on this.
>
> Thanks in advance. Best regards,
> Mariano.
>
>
>
>>>
>>
>
>



Re: [Pharo-users] Pharo sound with SDL Library

2018-03-20 Thread Mariano Badoglio
Perfect! I have loaded the Merwan WAVParser project, that uses the
OpenAL library and it worked fine.

Best regards!
Mariano


El 19/03/18 a las 16:32, Stephane Ducasse escribió:
> Yes we should migrate it and probably include it in Pharo and clean it.
>
> Stef
>
> On Mon, Mar 19, 2018 at 6:59 PM, Mariano Badoglio
>  wrote:
>> Hi Stephean, Sean,
>>
>> Thanks for your response. I have installed the Monticello Package
>> "Sound" from http://smalltalkhub.com/mc/PharoExtras/Sound/main, the last
>> update is Sound-StephaneDucasse.80 package from year 2013. It is from
>> Pharo Extras. Is this the right package?
>>
>> Best regards,
>> Mariano
>>
>>
>> El 17/03/18 a las 16:05, Stephane Ducasse escribió:
>>> Hi mariano
>>>
>>> did you try the sound package that is on Smalltalkhub/Pharo? or
>>> PharoExtras. We should migrate it to pharo 70
>>>
>>> Stef
>>>
>>> On Sat, Mar 17, 2018 at 1:14 PM, Mariano Badoglio
>>>  wrote:
 Hello!

 I need to use the Pharo Sound over Ubuntu platform, but I couldn't get
 it work. I tryied sending the parameter vm-sound-OSS and vm-sound-ALSA
 to the vm but I get no results.

 I am now trying to use the SDL Library. I could initialize the sound
 SDL_Init(SDL_INIT_AUDIO), very similar to initializing video, but when
 trying to use the SDL_LoadWAV, it needs a SDL_AudioSpec data type and I
 do not know how to do it. I tried to use an Structure as parameter but
 with no result, I couldn't found any similar example to follow. I will
 appreciate any help or tips on this.

 Thanks in advance. Best regards,
 Mariano.



>>
>




Re: [Pharo-users] Pharo sound with SDL Library

2018-03-19 Thread Stephane Ducasse
Yes we should migrate it and probably include it in Pharo and clean it.

Stef

On Mon, Mar 19, 2018 at 6:59 PM, Mariano Badoglio
 wrote:
> Hi Stephean, Sean,
>
> Thanks for your response. I have installed the Monticello Package
> "Sound" from http://smalltalkhub.com/mc/PharoExtras/Sound/main, the last
> update is Sound-StephaneDucasse.80 package from year 2013. It is from
> Pharo Extras. Is this the right package?
>
> Best regards,
> Mariano
>
>
> El 17/03/18 a las 16:05, Stephane Ducasse escribió:
>> Hi mariano
>>
>> did you try the sound package that is on Smalltalkhub/Pharo? or
>> PharoExtras. We should migrate it to pharo 70
>>
>> Stef
>>
>> On Sat, Mar 17, 2018 at 1:14 PM, Mariano Badoglio
>>  wrote:
>>> Hello!
>>>
>>> I need to use the Pharo Sound over Ubuntu platform, but I couldn't get
>>> it work. I tryied sending the parameter vm-sound-OSS and vm-sound-ALSA
>>> to the vm but I get no results.
>>>
>>> I am now trying to use the SDL Library. I could initialize the sound
>>> SDL_Init(SDL_INIT_AUDIO), very similar to initializing video, but when
>>> trying to use the SDL_LoadWAV, it needs a SDL_AudioSpec data type and I
>>> do not know how to do it. I tried to use an Structure as parameter but
>>> with no result, I couldn't found any similar example to follow. I will
>>> appreciate any help or tips on this.
>>>
>>> Thanks in advance. Best regards,
>>> Mariano.
>>>
>>>
>>>
>>
>
>



Re: [Pharo-users] Pharo sound with SDL Library

2018-03-19 Thread Mariano Badoglio
Hi Stephean, Sean,

Thanks for your response. I have installed the Monticello Package
"Sound" from http://smalltalkhub.com/mc/PharoExtras/Sound/main, the last
update is Sound-StephaneDucasse.80 package from year 2013. It is from
Pharo Extras. Is this the right package?

Best regards,
Mariano


El 17/03/18 a las 16:05, Stephane Ducasse escribió:
> Hi mariano
>
> did you try the sound package that is on Smalltalkhub/Pharo? or
> PharoExtras. We should migrate it to pharo 70
>
> Stef
>
> On Sat, Mar 17, 2018 at 1:14 PM, Mariano Badoglio
>  wrote:
>> Hello!
>>
>> I need to use the Pharo Sound over Ubuntu platform, but I couldn't get
>> it work. I tryied sending the parameter vm-sound-OSS and vm-sound-ALSA
>> to the vm but I get no results.
>>
>> I am now trying to use the SDL Library. I could initialize the sound
>> SDL_Init(SDL_INIT_AUDIO), very similar to initializing video, but when
>> trying to use the SDL_LoadWAV, it needs a SDL_AudioSpec data type and I
>> do not know how to do it. I tried to use an Structure as parameter but
>> with no result, I couldn't found any similar example to follow. I will
>> appreciate any help or tips on this.
>>
>> Thanks in advance. Best regards,
>> Mariano.
>>
>>
>>
>




Re: [Pharo-users] Pharo sound with SDL Library

2018-03-17 Thread Stephane Ducasse
Hi mariano

did you try the sound package that is on Smalltalkhub/Pharo? or
PharoExtras. We should migrate it to pharo 70

Stef

On Sat, Mar 17, 2018 at 1:14 PM, Mariano Badoglio
 wrote:
> Hello!
>
> I need to use the Pharo Sound over Ubuntu platform, but I couldn't get
> it work. I tryied sending the parameter vm-sound-OSS and vm-sound-ALSA
> to the vm but I get no results.
>
> I am now trying to use the SDL Library. I could initialize the sound
> SDL_Init(SDL_INIT_AUDIO), very similar to initializing video, but when
> trying to use the SDL_LoadWAV, it needs a SDL_AudioSpec data type and I
> do not know how to do it. I tried to use an Structure as parameter but
> with no result, I couldn't found any similar example to follow. I will
> appreciate any help or tips on this.
>
> Thanks in advance. Best regards,
> Mariano.
>
>
>



Re: [Pharo-users] Pharo sound with SDL Library

2018-03-17 Thread Sean P. DeNigris
Mariano wrote
> I need to use the Pharo Sound… I will
> appreciate any help or tips on this.

If you're not attached to SDL, maybe this minimal wrapper of the
cross-platform FMOD library would help:
http://smalltalkhub.com/#!/~SeanDeNigris/FMOD . IIRC I used it to play mp3
files, but only tested on Mac and will have to be ported from NB to uFFI.
Also, how did you install Pharo Sound?



-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[Pharo-users] Pharo sound with SDL Library

2018-03-17 Thread Mariano Badoglio
Hello!

I need to use the Pharo Sound over Ubuntu platform, but I couldn't get
it work. I tryied sending the parameter vm-sound-OSS and vm-sound-ALSA
to the vm but I get no results.

I am now trying to use the SDL Library. I could initialize the sound
SDL_Init(SDL_INIT_AUDIO), very similar to initializing video, but when
trying to use the SDL_LoadWAV, it needs a SDL_AudioSpec data type and I
do not know how to do it. I tried to use an Structure as parameter but
with no result, I couldn't found any similar example to follow. I will
appreciate any help or tips on this.

Thanks in advance. Best regards,
Mariano. 





Re: [Pharo-users] Pharo Sound does not work on Pharo 4

2016-01-17 Thread john pfersich
No, it's age. I'm 63 and I forget stuff all the time. That's why I cut back
the languages I program in to a few. I used to eat up new languages like
candy.

On Sun, Jan 17, 2016 at 9:40 AM, stepharo  wrote:

>
>
> Le 17/1/16 17:17, Dimitris Chloupis a écrit :
>
> hehe you forget who translated this chapter from French to English, though
> I cannot take most of the credit that belongs to Google translate :D
>
>
> Ok add it.
> I do not remember things (doing too many things I guess)
>
>
> On Sun, Jan 17, 2016 at 5:18 PM stepharo < 
> steph...@free.fr> wrote:
>
>> Can you check the attached pdf?
>>
>>
>>
>>
>> Le 16/1/16 13:27, Dimitris Chloupis a écrit :
>> > even though it works fine for me in Pharo 5 (with the exception I have
>> > to restart the sound player because the primitive fails at times) in
>> > Pharo 4 I have no sound and no errors. Just Silence of the Lamps.
>> >
>> > opened bug report
>> >
>> >
>> https://pharo.fogbugz.com/f/cases/17402/Pharo-Sound-does-not-work-on-Pharo-4
>> >
>>
>>
>


Re: [Pharo-users] Pharo Sound does not work on Pharo 4

2016-01-17 Thread stepharo

Ok this is good to know for 50.
Did you check the " baseSoundSystem "

Le 16/1/16 13:27, Dimitris Chloupis a écrit :
even though it works fine for me in Pharo 5 (with the exception I have 
to restart the sound player because the primitive fails at times) in 
Pharo 4 I have no sound and no errors. Just Silence of the Lamps.


opened bug report

https://pharo.fogbugz.com/f/cases/17402/Pharo-Sound-does-not-work-on-Pharo-4






Re: [Pharo-users] Pharo Sound does not work on Pharo 4

2016-01-17 Thread stepharo



Le 17/1/16 17:17, Dimitris Chloupis a écrit :
hehe you forget who translated this chapter from French to English, 
though I cannot take most of the credit that belongs to Google 
translate :D


Ok add it.
I do not remember things (doing too many things I guess)



On Sun, Jan 17, 2016 at 5:18 PM stepharo > wrote:


Can you check the attached pdf?




Le 16/1/16 13:27, Dimitris Chloupis a écrit :
> even though it works fine for me in Pharo 5 (with the exception
I have
> to restart the sound player because the primitive fails at times) in
> Pharo 4 I have no sound and no errors. Just Silence of the Lamps.
>
> opened bug report
>
>
https://pharo.fogbugz.com/f/cases/17402/Pharo-Sound-does-not-work-on-Pharo-4
>





Re: [Pharo-users] Pharo Sound does not work on Pharo 4

2016-01-17 Thread Dimitris Chloupis
"Ok add it.
I do not remember things (doing too many things I guess)"

nah that ok I am joking of course

"Ok this is good to know for 50.
Did you check the " baseSoundSystem "

No I did not, and I will but please note that the exact same code works
fine on Pharo 5. But most likely I will migrate back to 5 at some point and
will end up closing this bug report so its not a big deal for me. I dont
like leaving bug reports open ;)

On Sun, Jan 17, 2016 at 7:42 PM stepharo  wrote:

>
>
> Le 17/1/16 17:17, Dimitris Chloupis a écrit :
>
> hehe you forget who translated this chapter from French to English, though
> I cannot take most of the credit that belongs to Google translate :D
>
>
> Ok add it.
> I do not remember things (doing too many things I guess)
>
>
>
> On Sun, Jan 17, 2016 at 5:18 PM stepharo  wrote:
>
>> Can you check the attached pdf?
>>
>>
>>
>>
>> Le 16/1/16 13:27, Dimitris Chloupis a écrit :
>> > even though it works fine for me in Pharo 5 (with the exception I have
>> > to restart the sound player because the primitive fails at times) in
>> > Pharo 4 I have no sound and no errors. Just Silence of the Lamps.
>> >
>> > opened bug report
>> >
>> >
>> https://pharo.fogbugz.com/f/cases/17402/Pharo-Sound-does-not-work-on-Pharo-4
>> >
>>
>>
>


[Pharo-users] Pharo Sound does not work on Pharo 4

2016-01-16 Thread Dimitris Chloupis
even though it works fine for me in Pharo 5 (with the exception I have to
restart the sound player because the primitive fails at times) in Pharo 4 I
have no sound and no errors. Just Silence of the Lamps.

opened bug report

https://pharo.fogbugz.com/f/cases/17402/Pharo-Sound-does-not-work-on-Pharo-4


Re: [Pharo-users] Pharo Sound of Silence

2015-01-28 Thread Xavier MESSNER
Hi,


Nicolai Hess wrote
 
 But I don't understand why we do not use the pulse plugin with pharo.
 ( vm-sound-OSS is working too, and the source is already in the source
 tree)

OSS is just a pain to use today. Some apps doesn't even support it anymore.
And if we want to use it with Alsa, an emulation layer must be installed.
But it's not the point.


Nicolai Hess wrote
 Hey, if you want to use pharo sound on linux, you have to change your
 sound config
 and kill the sound server
 
 No, this isn't better :)

I'm agree, it's not that way it should be done. But it's for me better than
downloading another component to make it work, we could not know if it's
fully supported or buggy.

In fact, there is a good way. Having a third part of drivers that are
validated with Pharo. In that way, Pharo comes with just basic drivers to
make it work and in another package we could have drivers that are validated
with the stable version. If they don't work, we just have to email the
contributor.

Pulse plugin will be in that last repo and if one day someone have some
times to spend to include it in the source tree it will be great :)

We could have a documentation that explain how to include others drivers and
let the user choice what is best for him. It's a good start to make Pharo
even better :)

Xavier.




--
View this message in context: 
http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4802112.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Pharo Sound of Silence

2015-01-28 Thread Xavier MESSNER
Sean P. DeNigris wrote
 
 Evan Donahue wrote
 I'm trying to get sounds working in Pharo
 If it helps, I started a minimal wrapper of the cross-platform FMOD
 library at http://smalltalkhub.com/#!/~SeanDeNigris/FMOD . I did enough to
 play mp3s.

Really great ! i will try this on my linux box, thanks !

Xavier.



--
View this message in context: 
http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4802113.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Pharo Sound of Silence

2015-01-28 Thread Ignacio Sniechowski
Sean,
Could please indicate me how I have to do to play a mp3 inside Pharo?
I loaded FMOD from your repo, but I don't know if I have to install
something else, or where the mp3 file has to be or what class use.
I'm running Pharo 3 and 4 under Win 8.1
Thanks in advance!
best
Nacho


*Lic. Ignacio Sniechowski, MBA*
*Prosavic SRL*

*Tel: (011) 4542-6714*





















On Wed, Jan 28, 2015 at 6:12 AM, Xavier MESSNER xmess...@gmail.com wrote:

 Sean P. DeNigris wrote
 
  Evan Donahue wrote
  I'm trying to get sounds working in Pharo
  If it helps, I started a minimal wrapper of the cross-platform FMOD
  library at http://smalltalkhub.com/#!/~SeanDeNigris/FMOD . I did enough
 to
  play mp3s.

 Really great ! i will try this on my linux box, thanks !

 Xavier.



 --
 View this message in context:
 http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4802113.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




Re: [Pharo-users] Pharo Sound of Silence

2015-01-28 Thread stepharo




But I don't understand why we do not use the pulse plugin with pharo.
(vm-sound-OSS is working too, and the source is already in the source 
tree)




I do not know either.

Stef



Re: [Pharo-users] Pharo Sound of Silence

2015-01-26 Thread Nicolai Hess
2015-01-26 11:45 GMT+01:00 Xavier MESSNER xmess...@gmail.com:

 Hi,

 I have written a chapter which explain how to have sound in Pharo.
 You can read it  here
 
 https://github.com/SquareBracketAssociates/PharoReadyForReviews/tree/master/Sound
 
 .

 In fact all you have to do is to disable pulse-audio to make it work.
 I have tested it with ubuntu 14.04 64, ubuntu 12.04 64, OpenSuse 13.2 64,
 sabayon 64 (don't remember the version) and should work for every
 distributions.


Thank you xavier.

We should discuss how to solve this. Neither copy the squeak plugin, nor
disabe pulse-audio,
is a good solution.

nicolai



 I think that should work for Pharo 4, but no time to test at the moment.

 Xavier.



 --
 View this message in context:
 http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4801687.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




Re: [Pharo-users] Pharo Sound of Silence

2015-01-26 Thread Xavier MESSNER
Hi,


 We should discuss how to solve this. Neither copy the squeak plugin, nor
 disabe pulse-audio, 
 is a good solution.

The two methods can be used. But I think the best is not to use the plugin.
If the plugin is changing and is no longer compatible with Pharo or
conversely you can no longer use this method. At the moment this is not the
case.

While there, disable pulse-audio allows you to use Pharo with no change in
its basic version. What seems to me to be less complicated in case of bugs
on the sound system.

When writing the article for Linux Magazine (a French magazine) I asked
myself this question. Should I write to use the Squeak's plugin or simply
stop Pulse-Audio?

I put myself in the place of a newcomer in Pharo who wants to use the sound
system. Install a plugin from elsewhere to run Pharo could give the image of
a not finished tool. While there, the plugin does not exist and it does not
matter because the sound works with a clear and simple method. It works out
of the box.

After that, in a near future we should have a plugin for Pulse-Audio or
best, Linux should have only one method to access sound, but it's another
story :)


Xavier.



--
View this message in context: 
http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4801768.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Pharo Sound of Silence

2015-01-26 Thread Nicolai Hess
2015-01-26 17:10 GMT+01:00 Xavier MESSNER xmess...@gmail.com:

 Hi,


  We should discuss how to solve this. Neither copy the squeak plugin,
 nor
  disabe pulse-audio,
  is a good solution.

 The two methods can be used. But I think the best is not to use the plugin.
 If the plugin is changing and is no longer compatible with Pharo or
 conversely you can no longer use this method. At the moment this is not the
 case.


But I don't understand why we do not use the pulse plugin with pharo.
( vm-sound-OSS is working too, and the source is already in the source tree)




 While there, disable pulse-audio allows you to use Pharo with no change in
 its basic version. What seems to me to be less complicated in case of bugs
 on the sound system.


Hey, if you want to use pharo sound on linux, you have to change your
sound config
and kill the sound server

No, this isn't better :)




 When writing the article for Linux Magazine (a French magazine) I asked
 myself this question. Should I write to use the Squeak's plugin or simply
 stop Pulse-Audio?

 I put myself in the place of a newcomer in Pharo who wants to use the sound
 system. Install a plugin from elsewhere to run Pharo could give the image
 of
 a not finished tool. While there, the plugin does not exist and it does not
 matter because the sound works with a clear and simple method. It works out
 of the box.

 After that, in a near future we should have a plugin for Pulse-Audio or
 best, Linux should have only one method to access sound, but it's another
 story :)


 Xavier.



 --
 View this message in context:
 http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4801768.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




Re: [Pharo-users] Pharo Sound of Silence

2015-01-26 Thread Sean P. DeNigris
Evan Donahue wrote
 I'm trying to get sounds working in Pharo

If it helps, I started a minimal wrapper of the cross-platform FMOD library
at http://smalltalkhub.com/#!/~SeanDeNigris/FMOD . I did enough to play
mp3s.




-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4801848.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Pharo Sound of Silence

2015-01-25 Thread Nicolai Hess
on what platform ? linux , mac or windows?

2015-01-25 17:55 GMT+01:00 Evan Donahue emdon...@gmail.com:

 Hello,

 I'm trying to get sounds working in Pharo and I seem to be unable to
 locate a combination of PharoExtras/Sound and image/vm version that add up
 to audible sound.

 The best I've done so far is pharo3/sound6.1, which lets me beep, and
 write sounds to wav files, but the primitive for playing sounds fails
 silently. The pharo4/sound6 combination seems not to have a SoundService
 object that Beeper depends on, so I don't even get beeps.

 If anyone could help me figure out which version of what code is best
 supported right now, or why the sound playing primitive is failing, it
 would be most appreciated.

 Thank you,
 Evan



[Pharo-users] Pharo Sound of Silence

2015-01-25 Thread Evan Donahue
Hello,

I'm trying to get sounds working in Pharo and I seem to be unable to locate
a combination of PharoExtras/Sound and image/vm version that add up to
audible sound.

The best I've done so far is pharo3/sound6.1, which lets me beep, and write
sounds to wav files, but the primitive for playing sounds fails silently.
The pharo4/sound6 combination seems not to have a SoundService object that
Beeper depends on, so I don't even get beeps.

If anyone could help me figure out which version of what code is best
supported right now, or why the sound playing primitive is failing, it
would be most appreciated.

Thank you,
Evan


Re: [Pharo-users] Pharo Sound of Silence

2015-01-25 Thread Evan Donahue
That did the trick. Thanks.

Evan



--
View this message in context: 
http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4801633.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Pharo Sound of Silence

2015-01-25 Thread Evan Donahue
64-bit Arch linux 3.17.6-1-ARCH

I seem to be running pulse-audio with alsa, and I believe I have all the
32-compadibility libraries installed, but my experience with linux sound is
limited. What is Pharo expecting?

Thanks,
Evan



--
View this message in context: 
http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4801584.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Pharo Sound of Silence

2015-01-25 Thread Nicolai Hess
I don't know exaclty why we don't build the pulse audio plugin for pharo.
But you can
take a squeak vm (Squeak-4.3-all-in-one) for example and copy the
Squeak-4.3-All-in-One/Contents/Linux-i686/lib/squeak/4.4.7-2357/so.vm-sound-pulse
in your pharo-vm directory
pharo-vm/vm-sound-pulse

after that, sound works at least on ubuntu 14.04 with latest pharo vm and
image and pharoextras/sound package




2015-01-25 19:11 GMT+01:00 Evan Donahue emdon...@gmail.com:

 64-bit Arch linux 3.17.6-1-ARCH

 I seem to be running pulse-audio with alsa, and I believe I have all the
 32-compadibility libraries installed, but my experience with linux sound is
 limited. What is Pharo expecting?

 Thanks,
 Evan



 --
 View this message in context:
 http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4801584.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.