name
Song
None available
description
A song is a data structure containing musical information that can be played back by the proMIDI sequencer object. Specifically, the song contains timing information and one or more tracks. Each track consists of a series of MIDI events (such as note-ons, note-offs, program changes, and meta-events).

A sequence can be built from scratch by adding new tracks to an empty song, and adding MIDI events to these tracks.
constructors
Song(resolution);
Song(name, tempo);
parameters
name
String, name of the song
tempo
float, tempo of the song
methods
Adds a new track to a song.
Returns the name of a song.
Returns the number of tracks of this song
Returns the tempo of a song in BPM.
Returns the track with the given number
Removes a track from a song
Sets the name name of a song.
Sets the tempo of a song.
usage
Web & Application
related