Skip to content

WaveGenerator

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.