Skip to content

ScreenSelectionSoundGenerator

Overview

ScreenSelectionSoundGenerator generates sounds when the user switches between screens. It does not handle the sounds associated with the home screen - there is a separate sound generator for that.

@author John Blanco (PhET Interactive Simulations)

Class ScreenSelectionSoundGenerator

import { ScreenSelectionSoundGenerator } from 'scenerystack/sim';

Constructor

new ScreenSelectionSoundGenerator( screenProperty : ReadOnlyProperty<AnyScreen>, homeScreen : HomeScreen | null, options? : SoundClipOptions )

Instance Methods

Source Code

See the source for ScreenSelectionSoundGenerator.ts in the joist repository.