Skip to content

TSoundPlayer

Under Construction

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

Overview

Type TSoundPlayer

TSoundPlayer defines a simple interface that can be used to support polymorphism when defining options and other API interfaces that include sound generation.

@author John Blanco (PhET Interactive Simulations)

import type { TSoundPlayer } from 'scenerystack/tambo';
  • play: () => void
  • stop: () => void

Source Code

See the source for TSoundPlayer.ts in the tambo repository.