I tried BaseSoundSystem soundEnabled: true. BaseSoundSystem initialize. FMSound marimba play
with pharo2.0 and the latest vm but it does not on my mac. I will see esteban soon. Stef On Mar 10, 2013, at 5:44 PM, p...@highoctane.be wrote: > SoundService and all that looks like in need of some refactoring at the > moment. > > Here is what I do and it appears to work: > > in my app initialize > > BaseSoundSystem soundEnabled: true. > BaseSoundSystem initialize. > > soundbank := Dictionary new. > soundbank add: #rightAnswer -> FMSound flute1. > soundbank add: #wrongAnswer -> FMSound bassoon1. > soundbank add: #clearAnswer -> FMSound marimba. > > and to play: > > (soundbank at: aSoundSymbol) play. > > Works fine. > > Phil > > 2013/3/10 stephane ducasse <stephane.duca...@free.fr>: >> In fact I get really unpredictable behavior. >> >> Sometimes I can produce a sound sometimes not. >> >> SoundService default soundEnabled: true >> >> I'm puzzled >> Stef >> >> On Mar 9, 2013, at 10:21 PM, stephane ducasse <stephane.duca...@free.fr> >> wrote: >> >>> Hi guys >>> >>> I'm migrating the package Sound and MorphicSound to Pharo2.0 and >>> SmalltalkHub. >>> But I cannot make >>> >>> FMSound bass1 play >>> produce a sound. >>> >>> Phil if i remember correctly you worked on that a couple of months ago. >>> Can you summarize your findings? >>> >>> Stef >> >> >