Phrases¶
Each phrase consists of a sequence of notes. Each note can have a parameterized effect and instrument associated with it.
API Documentation¶
-
class
pylsdj.
Phrase
(song, index)¶ A phrase is a sequence of notes for a single channel.
-
fx
¶ a list of the phrase’s effects, one byte per effect
-
fx_val
¶ a list of the phrase’s effect parameters, one byte per effect
-
index
¶ the phrase’s index within its parent song’s phrase table
-
instruments
¶ a list of Instruments, None where no instrument is defined
-
notes
¶ a list of the phrase’s notes, one byte per note
-
song
¶ a reference to the phrase’s parent song
-