Wave

The wave channel of an old sound chip. It plays a table of 32 samples over and over, as fast as the pitch of the note asks, at one of four levels.

Import

import { Wave } from '@halleyfante/chiptune';

A ramp of 32 samples

Constructor

new Wave({  })

Methods

MethodDescription
play(options: ChannelPlayOptions<WaveSettings>): void