excellent I will have a look :)

On Mar 19, 2013, at 12:25 PM, Martin Dias <[email protected]> wrote:

> Hi
> 
> I don't have any idea about how Sound library works. I did the following:
> 
> 1) In Squeak 4.3 one click:
> 
> FLSerializer serialize: SampledSound soundLibrary toFileNamed: 
> 'soundLibrary.fuel'.
> 
> 2) In Pharo 2.0:
> 
>   Gofer it
>         url: 'http://smalltalkhub.com/mc/PharoExtras/Sound/main';
>         package: 'ConfigurationOfPharoSound';
>         load.
>     (Smalltalk at: #ConfigurationOfPharoSound) project lastVersion load.
> 
> SampledSound assimilateSoundsFrom: (FLMaterializer materializeFromFileNamed: 
> 'soundLibrary.fuel').
> 
> SampledSound soundNames. "---> #('click' 'laugh' 'silence' 'chirp' 'splash' 
> 'scratch' 'coyote' 'chomp' 'clink' 'scritch' 'meow' 'peaks' 'horn' 'camera' 
> 'croak' 'warble' 'motor' 'scrape')."
> 
> SampledSound soundNames do: [ :each |
>       SampledSound playSoundNamed: each ].
> 
> 
> ---> so it seemed to work, but I can't hear anything. I attach the fuel file, 
> so to reproduce you can just put it in the image directory and evaluate my 
> code above.
> 
> Best,
> Martín
> 
> 
> 
> On Tue, Mar 12, 2013 at 4:52 PM, stephane ducasse <[email protected]> 
> wrote:
> Simple
> 
> they are in the SoundLibrary class variable of SampledSound
> 
> Stef
> 
> On Mar 12, 2013, at 4:23 PM, Martin Dias <[email protected]> wrote:
> 
> > There are creative commons sounds here:
> > http://soundbible.com/free-sound-effects-3.html
> >
> > but they should be converted to aiff
> >
> >
> > In other hand, seems like a good way of trying if Fuel can transfer
> > objects from Squeak to Pharo. How can I find the instances in squeak,
> > to try?
> >
> > On Tue, Mar 12, 2013 at 3:23 PM, Stéphane Ducasse
> > <[email protected]> wrote:
> >> Hi guys
> >>
> >> the sound system requires to have some sounds loaded in the sound library.
> >> Befre it was croak, swirl….
> >> Now since the files used to create the objects are probably gone from age, 
> >> I would like to find some little
> >> aif files that we can load in the system.
> >> does anybody have an idea of where I can find such aif free files?
> >>
> >> I could serialize the objects from the squeak image but I do not know if 
> >> this is a good idea.
> >>
> >> Stef
> >
> 
> 
> 
> <soundLibrary.fuel>

Reply via email to