simfile.notes.timed

Classes

TimedNote

A note with its song time attached.

Functions

time_notes(→ Iterator[TimedNote])

Generate a stream of timed notes from the supplied note & timing data.

time_chart(→ Iterator[TimedNote])

Generate a stream of timed notes from the supplied chart.

Module Contents

class simfile.notes.timed.TimedNote

Bases: NamedTuple

A note with its song time attached.

time: simfile.timing.engine.SongTime
note: simfile.notes.Note
hittable: bool
simfile.notes.timed.time_notes(note_data: simfile.notes.NoteData, timing_data: simfile.timing.TimingData) Iterator[TimedNote]

Generate a stream of timed notes from the supplied note & timing data.

simfile.notes.timed.time_chart(chart: simfile.types.AttachedChart) Iterator[TimedNote]

Generate a stream of timed notes from the supplied chart.