Elements of a Song
This tutorial describes how Sections and Parts are used to create complex Songs.
The Song class is used to generate a song. The overall structure looks like this:
A Song consists of a list of
sections that play one after the other sequentially in time.
Section has a
harmony, and a list of
parts which play in parallel within the
(note that any Part may start late or end early within its
Harmony has a list of
chords that define a chord progression.
Part has a list of
pitches, and a
rhythm that controls the timing, intensity, and duration of each note generated by the
pitches can either be absolute
Numbers that represent relative pitch values.
Relative pitch values produce
Pitches based on the
Part's mode setting, the
chords, and the
which makes it easy to try different scales and chord progressions without changing the
This is the basic
Song structure. Each object mentioned here has various options to further control the song's behavior.
Consult each class's documentation for more information.
TODO: talk about channels
Part Loops and Delay
Next is the Advanced Features tutorial.