Expand description
Chart Processor
Unified Y coordinate definition:
- In the default 4/4 time signature, the length of “one measure” is 1.
- BMS: When the section length is the default value, each
Trackhas a length of 1. The section length comes from the#XXX02:Vmessage per measure, whereVrepresents the multiple of the default length (e.g.,#00302:0.5means the 3rd measure has half the default length). Cumulative y is linearly converted with this multiple. - BMSON:
info.resolutionis the number of pulses corresponding to a quarter note (1/4), so one measure length is4 * resolutionpulses; all position y is normalized to measure units throughpulses / (4 * resolution). - Speed (default 1.0): Only affects display coordinates (e.g.,
visible_notesdistance_to_hit), that is, scales the y difference proportionally; does not change time progression and BPM values, nor the actual duration of that measure.
Re-exports§
pub use prelude::BmpId;pub use prelude::DisplayRatio;pub use prelude::WavId;pub use prelude::YCoordinate;pub use types::ChartEventWithPosition;pub use types::VisibleEvent;
Modules§
- bms_
processor - Bms Processor Module.
- bmson_
processor bmson - Bmson Processor Module.
- prelude
- Chart Process module prelude
- types
- Type definition module
Enums§
- Chart
Event - Events generated during playback (Elm style).
- Control
Event - Player control and setting events.
Traits§
- Chart
Processor - Unified y unit description: In default 4/4 time, one measure equals 1; BMS uses
#SECLENfor linear conversion, BMSON normalizes viapulses / (4*resolution).