Skip to content

pharo-contributions/Sound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Sound

An old package from Squeak and old versions of Pharo in need for love

Quick Installation

Load the sound package baseline with the following script:

Metacello new
   baseline: 'Sound';
   repository: 'github://pharo-contributions/Sound';
   load

then you have to enable the sound support through the Settings menu, under the Appearance category.

After that the samples in the Sound package are working - this requires some changes on the SDL2 bindings, so you need to use Pharo 9 Once loaded and enabled you might do the following in a playground:

(FMSound lowMajorScaleOn: FMSound bass1) play

The most complicated sample is the bach fugue:

AbstractSound stereoBachFugue play

Do you want to record an audio sample, SoundRecorder is the tool for you.

RecordingControlsMorph new openInWindow

About

An old package from Squeak and old versions of Pharo in need for love

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published