pub struct SerialSpineReport {
pub realizer_id: RealizerId,
pub kind: SerialSpineKind,
pub scale: PlayerScale,
pub entries: Vec<SerialSpineEntry>,
pub collisions: Vec<SerialSpineCollision>,
pub repeated_degrees: Vec<SerialRepeatedDegree>,
pub out_of_mode: Vec<SerialEventId>,
pub pitch_changes: Vec<SerialEventId>,
pub aggregate_identity: ChromaticAggregateIdentity,
pub ordinal_order: Vec<OrdinalRef>,
pub sonance_context: Vec<SerialSonanceContext>,
}Expand description
Complete inspectable serial-spine report attached to one realization.
Fields§
§realizer_id: RealizerIdRealizer that produced the report.
kind: SerialSpineKindAdaptation family used by the realizer.
scale: PlayerScaleEffective modal or custom performance scale.
entries: Vec<SerialSpineEntry>One note-level entry in canonical note order.
collisions: Vec<SerialSpineCollision>Collisions recorded while landing the chromatic source.
repeated_degrees: Vec<SerialRepeatedDegree>Repeated modal degrees in canonical note order.
out_of_mode: Vec<SerialEventId>Notes that remained outside the scale after landing.
pitch_changes: Vec<SerialEventId>Notes whose pitch changed under landing.
aggregate_identity: ChromaticAggregateIdentityAggregate identity report for source versus landed pitch classes.
ordinal_order: Vec<OrdinalRef>Canonical ordinal order retained by the landed adaptation.
sonance_context: Vec<SerialSonanceContext>Adjacent contextual sonance comparisons over landed windows.
Implementations§
Source§impl SerialSpineReport
impl SerialSpineReport
Sourcepub fn modal_membership(&self) -> Vec<(SerialEventId, bool, Option<usize>)>
pub fn modal_membership(&self) -> Vec<(SerialEventId, bool, Option<usize>)>
Returns the modal-membership view independently of other report facets.
Sourcepub fn pitch_identity(&self) -> Vec<(SerialEventId, Pitch, Pitch, MapWitness)>
pub fn pitch_identity(&self) -> Vec<(SerialEventId, Pitch, Pitch, MapWitness)>
Returns the pitch-identity view independently of other report facets.
Sourcepub fn chromatic_aggregate_identity(&self) -> &ChromaticAggregateIdentity
pub fn chromatic_aggregate_identity(&self) -> &ChromaticAggregateIdentity
Returns the aggregate identity report independently of other report facets.
Sourcepub fn ordinal_order(&self) -> &[OrdinalRef]
pub fn ordinal_order(&self) -> &[OrdinalRef]
Returns the retained ordinal order independently of other report facets.
Sourcepub fn sonance_context(&self) -> &[SerialSonanceContext]
pub fn sonance_context(&self) -> &[SerialSonanceContext]
Returns the contextual sonance view independently of other report facets.
Trait Implementations§
Source§impl Clone for SerialSpineReport
impl Clone for SerialSpineReport
Source§fn clone(&self) -> SerialSpineReport
fn clone(&self) -> SerialSpineReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more