Generated with
This document is part of the ebook for O1 (aka CS-A1110 Programming 1), a course at Aalto University.
This document is part of the ebook for O1 (aka CS-A1110 Programming 1), a course at Aalto University.
o1.sound.midi.Voice
Represents a single voice within a piece of Music. A voice consists of MusicElems, primarily notes, in order.
Parameters
-
isPercussion
-
whether the notes should not be interpresed as regular notes but as the special sounds defined for the MIDI standard’s percussion channel
-
notes
-
the notes (and possible other MusicElems) that compose this voice
Attributes
-
Graph
-
-
Supertypes
-
Members list
Returns a string description of the music.
Returns a string description of the music.
Attributes
-
Definition Classes
-
the total length
(duration) of all the notes in the voice
the total length
(duration) of all the notes in the voice
Attributes