Hi
I merged Jannik clean and I commited a new version of the configuration. Now it works on Pharo 20 and also on Pharo 30 And I will produce a new System-Sound for the kernel based on Pavel work and I will produce a new configuration. Stef |
I've always wanted to try sound out in Pharo - just for fun. But I've never had even a squeak (pardon the pun) out of Pharo. This is all the more strange since Pharo comes from Squeak and Squeak was touted as a multimedia system and I remember having sound on Squeak when I first looked at it years ago.
So, seeing how a new PharoSound has just turned up in the configuration browser in Pharo 2 Summer, I thought at last I was in luck. But no. Still no sound here on Linux. SoundPlayer boinkScale gives a primitive failure on primSoundAvailableBytes. No noise comes from SoundDemoMorph or PianoKeyboardMorph. Can anyone gove me a simple recipe for getting sound to work. I'm on a vanilla Pharo 2.0 Summer on Ubuntu 13.04 32 bit (actually, xubuntu). Thanks. |
Hi,
I have wrote a post to have sound on Pharo 1.4 and 2.0 (20576). Maybe you could have a look and try to use it to play sounds on Pharo ! My blog is here (sorry it's in french !) : http://mylittlesmalltalkworld.wordpress.com/2013/02/28/donner-de-la-voix-a-pharo/ I don't know if it's the best way to have sound but it works :) I will try to use summer edition to see if it still work. Xavier. |
Thanks xavier!
On Aug 5, 2013, at 2:53 PM, Xavier MESSNER <[hidden email]> wrote: > Hi, > > I have wrote a post to have sound on Pharo 1.4 and 2.0 (20576). > Maybe you could have a look and try to use it to play sounds on Pharo ! > > My blog is here (sorry it's in french !) : > http://mylittlesmalltalkworld.wordpress.com/2013/02/28/donner-de-la-voix-a-pharo/ > <http://mylittlesmalltalkworld.wordpress.com/2013/02/28/donner-de-la-voix-a-pharo/> > > I don't know if it's the best way to have sound but it works :) > > I will try to use summer edition to see if it still work. > > Xavier. > > > > -- > View this message in context: http://forum.world.st/New-version-of-PharoSound-tp4702032p4702168.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
Hi,
I have updated my blog to be used with pharo 2 summer edition. I will write another to add vocal sound but it's a little more complicated. Hope it will help :) Xavier. |
Tx :)
Do not use the squeaksource version. We improved the version on SmalltalkHub/PharoExtras Stef > Hi, > > I have updated my blog to be used with pharo 2 summer edition > <http://goo.gl/R8ZJJC> . > I will write another to add vocal sound but it's a little more complicated. > > Hope it will help :) > > Xavier. > > > > -- > View this message in context: http://forum.world.st/New-version-of-PharoSound-tp4702032p4702284.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
In reply to this post by Xavier MESSNER
Thanks for the help.
As far as I can see the guide to setting it up is simply to copy the pulse audio plugin from Squeak into the Pharo folder. I have tried this and SoundPlayer boinkScale now actually works! This is further than I've ever got so many thanks. However, FMSound organ1 play does not work. Nor does the SoundDemoMorph. But I'm not really worried. I'm only playing about. But it does worry me that we have a PharoSound in the configuration browser that does not play sound. I think that if Pharo wants to attract developers it is important not to have anything that does not work in the approved list of add-ons. The thing that put me off Squeak forever was that it came with hundreds of widgets and examples - toys, and little apps - and many did not work and many more worked really badly. This is not a good impression to give if you want market share. Pharo actually looks drop-dead gorgeous. It's a stunning piece of software - do not ruin the effect by having something that doesn't work so near at hand and so tempting to install. A further point, if Pharo needs the pulse audio plugin to play sound, why is it not in the Pharo Linux package? Having to copy stuff from another product is really lame. - Ken |
On Aug 6, 2013, at 8:50 PM, kmo <[hidden email]> wrote: > Thanks for the help. > > As far as I can see the guide to setting it up is simply to copy the pulse > audio plugin from Squeak into the Pharo folder. > > I have tried this and SoundPlayer boinkScale now actually works! This is > further than I've ever got so many thanks. > > However, FMSound organ1 play does not work. Nor does the SoundDemoMorph. > > But I'm not really worried. I'm only playing about. > > But it does worry me that we have a PharoSound in the configuration browser > that does not play sound. When I load the configuration on 20 30 alpha I have sound on my machine. So do you know how heavy is to have to test on 5 different OSes with several versions of linuxes? We have a test-farm (and we could do much better) but I requested an engineer to work on the package certifications to put in place the infrastructure we need but it was rejected. So no money and I do not have a money making machine. > I think that if Pharo wants to attract developers > it is important not to have anything that does not work in the approved list > of add-ons. We know. Do you think that the SmallLint meta data handling was done by accident? Or the massive work on the integration server? Or the catalog we are working on. No this is the vision we have: read the Pharo vision pdf. Now no money means less work done. > The thing that put me off Squeak forever was that it came with hundreds of > widgets and examples - toys, and little apps - and many did not work and > many more worked really badly. I think that same. > This is not a good impression to give if you > want market share. We are working on that. But we have too many customers and not enough people helping. > Pharo actually looks drop-dead gorgeous. It's a stunning piece of software - > do not ruin the effect by having something that doesn't work so near at hand > and so tempting to install. We know. We share 100% this point of view. > A further point, if Pharo needs the pulse audio plugin to play sound, why is > it not in the Pharo Linux package? Having to copy stuff from another product > is really lame. Indeed. I think that the same but nothing is that easy. If you want to help open a bug entry with the problem and tag it under VM. And we will see. Now if linux people do not use sound and do not tell us we cannot know. By the way there is no test in the SoundPackage so how can we are them on the headless server (because the headless farm server may also have a sound disabled….) So you see the devil is in the detail. > > - Ken > > > > > > > > -- > View this message in context: http://forum.world.st/New-version-of-PharoSound-tp4702032p4702347.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
In reply to this post by Stéphane Ducasse
You are right !
I will try to use this version instead and then i will update my blogs. I'll keep you in touch. Thx. Xavier. |
thanks!
I appreciate the effort. > You are right ! > I will try to use this version instead and then i will update my blogs. I'll > keep you in touch. > > Thx. > > Xavier. > > > > -- > View this message in context: http://forum.world.st/New-version-of-PharoSound-tp4702032p4702362.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
Hi Stef,
I've used smalltalkhub instead of squeaksource and it still work with the same packages i used in my tests, but when i load latest version sound stop working. After trying all packages i can tell that sound stop working after loading package Sound-janniklaval.74.mcz or Sound-StephaneDucasse.72.mcz. When i look into changes i can see that in resumePlaying:quickStart BaseSoundSystem soundEnabled ifFalse: [^ self]. ... BaseSoundSystem soundQuickStart ifFalse: [doQuickStart := false]. In Sound-jannikaval.72.mcz it was SoundService soundEnabled ifFalse: [^ self]. ... self soundQuickStart ifFalse: [doQuickStart := false]. Not really big changes but this make sound not working anymore. If i rollback only these 2 lines, sound work again. I suppose these changes are there for cleaning purpose and to have a more uptodate sound system. I think that some stuff still missing for the moment. It's just a question of time and hard work. For the moment i'll stay with Sound-Jannikaval.72. It will help me start some sound stuff in Pharo. I keep an eye on new versions in the same time :) Xavier. |
Hi Xavier
on which version of Pharo are you working? How to do you load the code? do you use stable? Because if you read the class comment of the configuration you will see that the latest version works only for Pharo30 while the previous one works on both Pharo 20 and pharo 30. The configuration handles that well when you load the stable it should load the corresponding one. Let me know if this is not the case Stef > Hi Stef, > > I've used smalltalkhub instead of squeaksource and it still work with the > same packages i used in my tests, but when i load latest version sound stop > working. > After trying all packages i can tell that sound stop working after loading > package Sound-janniklaval.74.mcz or Sound-StephaneDucasse.72.mcz. > > When i look into changes i can see that in resumePlaying:quickStart > > BaseSoundSystem soundEnabled ifFalse: [^ self]. > ... > BaseSoundSystem soundQuickStart ifFalse: [doQuickStart := false]. > > In Sound-jannikaval.72.mcz it was > > SoundService soundEnabled ifFalse: [^ self]. > ... > self soundQuickStart ifFalse: [doQuickStart := false]. > > Not really big changes but this make sound not working anymore. > If i rollback only these 2 lines, sound work again. > > I suppose these changes are there for cleaning purpose and to have a more > uptodate sound system. I think that some stuff still missing for the moment. > It's just a question of time and hard work. > > For the moment i'll stay with Sound-Jannikaval.72. It will help me start > some sound stuff in Pharo. > I keep an eye on new versions in the same time :) > > Xavier. > > > > -- > View this message in context: http://forum.world.st/New-version-of-PharoSound-tp4702032p4702934.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
Hi Stephane,
I'm always using fresh stable version with latest updates. Here it's Pharo 2.0 summer edition on Unbutu 12.04 64bits. In fact, there are a lot of wrong ways to load packages and i use them all :) (i'm novice !!) So i try to use the wright way doing : ((Smalltalk at: #ConfigurationOfPharoSound) project version:'5.2') load. Sound work well. Version 5.3 and more don't seem to work for 2.0. Stable version doesn't work with ConfigurationOfPharoSound project load: #stable. So ... i will update my blog to give better informations ! Thanks for your advices ! Xavier. |
> Hi Stephane, > > I'm always using fresh stable version with latest updates. > Here it's Pharo 2.0 summer edition on Unbutu 12.04 64bits. > > In fact, there are a lot of wrong ways to load packages and i use them all > :) (i'm novice !!) > no problem. > So i try to use the wright way doing : > > ((Smalltalk at: #ConfigurationOfPharoSound) project version:'5.2') load. > > Sound work well. ok good to know. > Version 5.3 and more don't seem to work for 2.0. This is strange because I loaded 5.3 (I will retry). > > Stable version doesn't work with > > ConfigurationOfPharoSound project load: #stable. can you check the stable method? because > > So ... i will update my blog to give better informations ! > > Thanks for your advices ! > > Xavier. > > > > > > > -- > View this message in context: http://forum.world.st/New-version-of-PharoSound-tp4702032p4702994.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
Free forum by Nabble | Edit this page |