gb.sound.setVolume

From Gamebuino Wiki
Revision as of 2015-01-01T09:11:33 by Skyrunner65 (talk | contribs) (Basic Creation, need Detail, but that can wait :))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Sets the volume of the Gamebuino's Speaker Using 0 will mute it, 1 will allow it to make sound.

Syntax

gb.sound.setVolume(volume,''channel'';

Value

  • volume: The volume of the speaker.
  • channel (optional): Specifies which channel's volume is changed.

Example

See also