On 22 February 2012 18:59, Vincent Lesbros <lesbros@gmail.com> wrote:
Hi Stephane & Igor
the steps where :
1/ Download http://gforge.inria.fr/frs/download.php/29274/Pharo-1.3-13315-OneClick.zip 22,0Â Mo (23Â 109Â 783 octets)
2/ Unzip in My C:\Tools directory. I get warning messages from the Windows explorer while unzipping :
Comfirmez la perte de chiffrement Un problème empêche le chiffrement de ce dossier <Oui> <Ignorer> <Annuler>
I click <Oui> to decompress files, if I ignore, folders are not copied.
Total size (after decompressing) : 73,7Â Mo (77Â 366Â 677 octets) 51 Fichiers, 9 Dossiers
3/ in C:\Tools\Pharo-1.3-13315-OneClick\Pharo-1.3-13315-OneClick.app run Pahro.exe Windows warns
4/ paste "BaseSoundSystem soundEnabled: true" and do it, in the "Welcome to Pharo" window. (has indicated by Stephan). 5/ Open a System Browser 6/ Find class "AbstractSound" 7/ Switch browser to "Class" 8/ Select the bachFugue method. bachFugue     "Play a fugue by J. S. Bach using and instance of me as the sound for all four voices."     "PluckedSound bachFugue play"
    ^ self bachFugueOn: self default
9/ select "PluckedSound bachFugue play" 10/ try "Debug it' 11/ Exception : an OBTextMorphSelection had the subclass responsibility to implement : #debugIt 12/ Close the exception, open a Workspace, paste "PluckedSound bachFugue play" Â and debug it. 13/ The first primitive encountered seems to be <primitive: 'primitiveSoundStartWithSemaphore' module: 'SoundPlugin'> in SoundPlaye class : primSoundStartBufferSize: bufferSize rate: samplesPerSecond stereo: stereoFlag semaIndex: anInteger
No sounds.
// TEST AVEC PHARO 1.0 1/ Download http://gforge.inria.fr/frs/download.php/26828/Pharo-1.0-OneClick.zip 30,1Â Mo (31Â 606Â 018 octets)
2/ Unzip with windows explorer "Extraire tout..." Same dialog "Comfirmez la perte de chiffrement" <Oui> Result decompressing : 83,3Â Mo (87Â 368Â 501 octets) 918 Fichiers, 255 Dossiers
3/ Run the Pharo.exe, 4/ Alert from Avast, I answer "Lancer normalement"
5/ Go to AbstractSound and play the Bach fugue with Karplus-Strong's plucked string, it Works.
Thanks for instructions. WIll try to see which VM(s) support it and which ones doesnt.
---
DNU: Now if you mean that you would love us to have 5 engineers to build our own VM! why not? Tell me where I should sign. I would love too.
Now may be there is a problem with the 64bit support. Apparentty not, because Squeak 4.3 and Pharo 1.0 have sounds working.
What waranty for futur evolutions (of one or the other system) ? Perhaps it his where we disagree. I don't like changes applied on things that are working.
AFAIK, in this case there was no intended changes to sound. It should remain working, unless broken by something unintentionally.
If the sound doen't work because of a "pluggin" prehaps it would be better to change that plugging.
The problem may not be the plugin code but its compiled version. Now if you want to give us a chance to fix your problem provide a list of link and steps so that we can try to reproduce the problem because may be the error is coming from a different setup. I try to do it, see upper. But nothing special in setup.
And yes we will brand our VM and make sure that the code works. Now we can automatically build all the vm on their respective OS at each commit of code :) Stef In the 70's we had Lisp machines, I hope we will soon have Pharo machines.
As it works with 1.0, and it doesn't with 1.3, wich version sould I try to help in finding the problem ?
Best regards, Vincent
-- Best regards, Igor Stasenko.