expand

Reference > Wave

Wave
Spectrum

    

Wave(size) is a class that creates the wave objects that store sounds in synthesine. A wave is an array of 32 bit floating point numbers, along with some prebuilt functions to manipulate waves.

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

Usage
Wave Manipulation Functions

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