Skip to content

ScreenSelectionSoundGenerator

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/joist/blob/main/js/ScreenSelectionSoundGenerator.ts for the most up-to-date information.

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.