audio.SetNote

Set the note of the given audio channel.

Syntax

audio.SetNote(channel, value)

Parameters

  • channel - The oscillator channel (0-3).
  • value - The new note to set (0-127).

Returns

This command returns no values.

About

This function calculates and sets oscillator frequencies to musical note values.