expand

Reference > WaveGuide

Wave
Spectrum

    

WaveGuide(size) is a class that creates a wave guide object. A wave guide is implemented in synthesine as a circular buffer. This is a type of array where we can shift the point at which we start reading from, and where the end is followed by the start. Wave guides such as these are used in simulating musical instruments.

WaveGuide is an extension of Wave, which is itself an extension of javascript’s built-in Float32Array, so it inherits all the Float32Array methods.

Usage
Wave Guide Manipulation Functions
Wave Manipulation Functions

You can find the code for WaveGuide in the synthesine library.