simfile.notes.timed
Module Contents
Classes
A note with its song time attached. |
|
How to handle timed notes that are unhittable due to warp segments. |
Functions
|
Generate a stream of timed notes from the supplied note & timing data. |
- class simfile.notes.timed.TimedNote
Bases:
NamedTupleA note with its song time attached.
- note: simfile.notes.Note
- class simfile.notes.timed.UnhittableNotes(*args, **kwds)
Bases:
enum.EnumHow to handle timed notes that are unhittable due to warp segments.
When a note is unhittable…
TAP_TO_FAKE: convert tap notes to fakes, drop other note types
DROP_NOTE: drop the unhittable note regardless of type
KEEP_NOTE: keep the unhittable note
- TAP_TO_FAKE = 1
- DROP_NOTE = 2
- KEEP_NOTE = 3
- simfile.notes.timed.time_notes(note_data: simfile.notes.NoteData, timing_data: simfile.timing.TimingData, unhittable_notes: UnhittableNotes = UnhittableNotes.TAP_TO_FAKE) Iterator[TimedNote]
Generate a stream of timed notes from the supplied note & timing data.
For notes that are unhittable due to warps, the unhittable_notes parameter determines the behavior. See
UnhittableNotesfor more details.