Sound

Description

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

Details

Source
GitHub
Dialect
pharo (25% confidence)
Stars
2
Forks
5
Created
May 6, 2020
Updated
Dec. 30, 2023

Categories

Multimedia

README excerpt

# 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: 

```Smalltalk
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: 

```Smalltalk
(FMSound lowMajorScaleOn: FMSound bass1) play
```

The most complicated sample is the bach fugue: 

```Smalltalk
AbstractSound stereoBachFugue play
```

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

```Smalltalk
RecordingControlsMorph new openInWindow
```
← Back to results