Numuse Documentation

numuse.music.StructuredMusic

numuse.music.StructuredMusic

class numuse.music.StructuredMusic(measures: List[numuse.music.Measure], BPM: int, beats_in_a_measure: int = 4)[source]

Bases: numuse.music.Music

Represents notes played over time that are related to an underlying structure

In this case the structure is a set of notes which have a higher probability of being played than other notes.

The structure is a note collection and can be specified using a RIC

music_data is now allowed to use a special type of syntax on top of the previous method

__init__(measures: List[numuse.music.Measure], BPM: int, beats_in_a_measure: int = 4)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(measures, BPM[, beats_in_a_measure])

Initialize self.

bpm_to_measure_length([beats_in_a_measure])

Free document hosting provided by Read the Docs.