>From my previous post:

Also, you can use it this way (inspect and debug around to understand how
all of this works, SoundPlayer isn't SoundSystem...)

Test class>>soundSamples
"Test hardware"

| ss |
SoundPlayer boinkScale. "See if sound is enabled"
SoundService soundEnabled. "This should answer the BaseSoundSystem class"
SoundService registeredClasses.
SoundService reset.
BaseSoundSystem soundEnabled: true.
SoundService default. "Let's make some noise"
ss := SoundService default new.
ss class soundEnabled.
ss class soundEnabled: true.
ss beep.
(FMSound lowMajorScaleOn: FMSound pluckedElecBass) play.
(FMSound lowMajorScaleOn: FMSound randomWeird1) play.
(FMSound majorScaleOn: FMSound oboe1) play.
FMSound testFMInteractively.
(SampledSound bachFugueVoice2On: SampledSound new) play.
SoundPlayer shutDown


2012/10/16 Volkert Barr <[email protected]>

> Need still some help. Can someone post a code snippet?
>
> BW,
> Volkert
>
> On 13.10.2012, at 15:44, Volkert Barr wrote:
>
> > No idea how. Have you a concrete example?
> >
> > On 13.10.2012, at 15:19, [email protected] wrote:
> >
> >> BaseSoundSystem soundEnabled: true just doesn't do all it should.
> >>
> >> SoundPlayer is the root of all; SoundSystems adds the background thread
> for multivoice play and mixing.
> >>
> >> Get SoundPlayer work, then take care of Soundsystem
> >>
> >> 2012/10/13 Volkert Barr <[email protected]>
> >> I loaded the package now i a clean Pharo 1.4 Image with the latest
> update: #14459 (on OS X Lion 10.7.5).
> >>
> >> The MIDIPianoKeyboardMorph works, but FMSound not (no errors, but
> silence)
> >>
> >> For FMSound i tried this
> >> - BaseSoundSystem soundEnabled: true.
> >> - FMSound organ1 play.
> >>
> >> Any hints here?
> >>
> >> Volkert
> >>
>
>
>
>

Reply via email to