Class: BytebeatProcessor

BytebeatProcessor(options)

BytebeatProcessor runs in the AudioWorkletScope

Constructor

new BytebeatProcessor(options)

Parameters:
Name Type Description
options object
Properties
Name Type Attributes Default Description
processorOptions.beatcode string Main block of the bytebeat function and its execution
processorOptions.frequency number The frequency at which 't' will be incremented
processorOptions.sampleRate number The sample rate of the audio context
processorOptions.tempo number The tempo which the speed that tt will be incremented depends on
processorOptions.floatMode boolean <optional>
false Whether the function expects an output between 0:255 (default) or -1:1
Source: