SongElement
public enum SongElement : Equatable
An element of the tune
-
After this element, start playing legato.
Declaration
Swift
case styleLegato -
After this element, start playing normal.
Declaration
Swift
case styleNormal -
After this element, start playing staccato.
Declaration
Swift
case styleStaccato -
After this element, set the note duration to 1.
Declaration
Swift
case duration1 -
After this element, set the note duration to 2.
Declaration
Swift
case duration2 -
After this element, set the note duration to 4.
Declaration
Swift
case duration4 -
After this element, set the note duration to 8.
Declaration
Swift
case duration8 -
After this element, set the note duration to 16.
Declaration
Swift
case duration16 -
After this element, set the note duration to 32.
Declaration
Swift
case duration32 -
Play note A.
Declaration
Swift
case noteA -
Play note B.
Declaration
Swift
case noteB -
Play note C.
Declaration
Swift
case noteC -
Play note D.
Declaration
Swift
case noteD -
Play note E.
Declaration
Swift
case noteE -
Play note F.
Declaration
Swift
case noteF -
Play note G.
Declaration
Swift
case noteG -
Play a rest.
Declaration
Swift
case notePause -
After this element, sharp the note (half a step up).
Declaration
Swift
case sharp -
After this element, flat the note (half a step down).
Declaration
Swift
case flat -
After this element, shift the note 1 octave up.
Declaration
Swift
case octaveUp -
After this element, shift the note 1 octave down.
Declaration
Swift
case octaveDown -
Undocumented
Declaration
Swift
case UNRECOGNIZED(Int)
View on GitHub
Install in Dash
SongElement Enumeration Reference