Skip to content

WaveGenerator

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/sound-generators/WaveGenerator.ts for the most up-to-date information.

Overview

Plays a sine wave using an Oscillator Node

@author Sam Reid (PhET Interactive Simulations)

Class WaveGenerator

import { WaveGenerator } from 'scenerystack/tambo';

Constructor

new WaveGenerator( frequencyProperty : ReadOnlyProperty<number>, amplitudeProperty : ReadOnlyProperty<number>, providedOptions? : WaveGeneratorOptions )

Instance Methods

Source Code

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