simfile.notes.counter

Functions

count_taps(chart)

Reproduce the StepMania editor's tap note count,

count_steps(chart)

Reproduce StepMania's step count,

count_jumps(chart)

Reproduce StepMania's jump count,

count_hands(chart)

Reproduce StepMania's hand count.

count_holds(chart)

Reproduce StepMania's hold count.

count_rolls(chart)

Reproduce StepMania's roll count.

count_mines(chart)

Reproduce StepMania's mine count.

count_fakes(chart)

Reproduce the StepMania editor's fake count.

Module Contents

simfile.notes.counter.count_taps(chart: simfile.types.AttachedChart)

Reproduce the StepMania editor’s tap note count, which includes all taps, hold heads, roll heads, and lifts.

simfile.notes.counter.count_steps(chart: simfile.types.AttachedChart)

Reproduce StepMania’s step count, which includes taps, hold heads, roll heads, and lifts. Steps are grouped by beat, meaning e.g. jumps are counted as single steps.

simfile.notes.counter.count_jumps(chart: simfile.types.AttachedChart)

Reproduce StepMania’s jump count, which includes taps, hold heads, roll heads, and lifts. Jumps consist of 2 or more of the above note types on the same beat.

simfile.notes.counter.count_hands(chart: simfile.types.AttachedChart)

Reproduce StepMania’s hand count. Hands consist of 3 or more active notes on a given step, where active notes consist of steps and active hold/roll notes (whether their bodies or tails).

simfile.notes.counter.count_holds(chart: simfile.types.AttachedChart)

Reproduce StepMania’s hold count. This is a straightforward tally of hold heads in the chart.

simfile.notes.counter.count_rolls(chart: simfile.types.AttachedChart)

Reproduce StepMania’s roll count. This is a straightforward tally of roll heads in the chart.

simfile.notes.counter.count_mines(chart: simfile.types.AttachedChart)

Reproduce StepMania’s mine count. This is a straightforward tally of mines in the chart.

simfile.notes.counter.count_fakes(chart: simfile.types.AttachedChart)

Reproduce the StepMania editor’s fake count. Fakes consist of all notes that aren’t hittable, whether due to a warp region, fake segment, or being a literal fake note type (F in note data).