Expand description
Strict twelve-tone rows, complete families, matrices, and explicit labels.
This crate is the pitch-specific layer over sim_lib_serial_core. It uses
the canonical sim_lib_pitch_core::PitchClass values, admits each of the
twelve classes exactly once, and keeps affine/reversal operation identity
separate from convention-dependent printed labels.
Structs§
- Affine
Pitch Map - An affine pitch-class map
x -> ax + b mod 12. - Aggregate
Coverage Report - Aggregate pitch-class coverage assembled from partition-derived blocks.
- AllInterval
Multiplicity - One duplicated adjacent directed interval together with its multiplicity.
- AllInterval
Report - Whether a row uses each non-zero directed adjacent interval exactly once.
- Block
Order - The ordering contract for a row partition within and between its blocks.
- Block
Product Reservoir - A block-product reservoir with its exact source partitions.
- Block
Projection - Provenance for one reservoir block.
- Combinatorial
Block Evidence - One paired source/partner block that covers the full aggregate exactly.
- Combinatorial
Partition - One successful contiguous equal-cell partition witnessing combinatoriality.
- Combinatorial
Partner - One partner row form that is combinatorial with the source row.
- Combinatoriality
Report - Complete combinatorial partner evidence for a strict row.
- Derivation
Cell Relation - One partition cell together with the operation that derives it from the generator.
- Derivation
Match - One detected derivation family for a fixed generator-cell size.
- Derivation
Report - Complete derivation evidence for one strict row.
- Form
Equivalence - One distinct form together with the operations and invariance facts that realize it.
- Interlocking
Partition Report - Interlocking evidence between two validated row partitions.
- Invariant
Delta - Which row invariants a transform preserved or relaxed.
- Matrix
Coordinate - A validated zero-based coordinate in a twelve-tone matrix.
- Mosaic
Block - One partition block lifted into pitch-space for mosaic inspection.
- Mosaic
Report - A combined view of several validated partitions over one row.
- Ordered
Interval String - The directed ordered intervals between adjacent pitches in source order.
- Ordered
Pitch Block - One ordered pitch block inside a reservoir.
- Partition
Block Match - One exact block match shared by two validated partitions.
- Partition
Similarity Report - Similarity evidence between two validated row partitions.
- Pitch
Class Alphabet - The stable twelve-symbol alphabet of canonical
PitchClassvalues. - Pitch
Reservoir - An ordered collection of pitch blocks whose result is not a strict tone row.
- RowAlias
- One operation alias in a complete twelve-tone row family.
- RowClass
Alias - One alias entry in a
RowClassReport. - RowClass
Report - Ordered, symmetric, and equivalence evidence for one strict tone row.
- RowFamily
Set - All 48 P/I/R/RI aliases for one row, plus its distinct resulting rows.
- RowForm
- A strict tone row paired with the operation identity that produced it.
- RowLabel
- A printable family/index label such as
P0orRI11. - RowMatrix
- A conventional twelve-tone matrix retaining its source and label policy.
- RowMatrix
Cell - One pitch-class cell paired with its matrix coordinate.
- RowMatrix
Data - A complete structured projection of a
RowMatrix. - RowMatrix
Edge Labels - Labels printed on the four edges of a row matrix.
- RowOperation
- A total affine/reversal operation on a strict tone row.
- RowPartition
- A validated partition of all twelve row ordinals into disjoint nonempty blocks.
- RowPartition
Block - One nonempty block of row ordinals in caller-declared order.
- RowSegment
- An order-preserving segment of a tone row plus unordered pitch-set facts.
- Segment
Invariant - Independent invariance facts relating two ordered row segments.
- ToneRow
- An ordered aggregate containing every canonical pitch class exactly once.
- Vertical
Collection - A partition rendered as a set of vertical collections.
- Vertical
Slice - One unordered vertical collection extracted from a partition block.
Enums§
- Block
Projection Source - The source relationship that produced one reservoir block.
- Derivation
Kind - Stable derivation names for the classical equal-cell partitions of a row.
- Order
Kind - How strongly a partition treats order at one structural level.
- Pitch
Invariant - A source invariant that no longer holds after a transform.
- Pitch
Transform Output - Result of a pitch transform that may or may not preserve strict row identity.
- RowError
- Failure while constructing the canonical alphabet or a strict tone row.
- RowFamily
- One of the four classical twelve-tone row-operation families.
- RowLabel
Convention - Policy for projecting an operation-bearing row form to a printed label.
- RowSegment
Source - How a
RowSegmentwas extracted from its source row.
Constants§
- ROW_
MATRIX_ SIZE - The width and height of every twelve-tone row matrix.
Statics§
- RECIPES
- Cookbook recipes for this lib, embedded at build time.
Functions§
- analyze_
aggregate_ coverage - Computes aggregate pitch-class coverage for any caller-supplied block masks.
- analyze_
all_ interval - Computes all-interval evidence from the row’s directed adjacent intervals.
- analyze_
combinatoriality - Detects combinatorial partners over the supported equal-cell partitions.
- analyze_
combinatoriality_ partition - Detects combinatoriality for one partner operation and one supported partition size.
- analyze_
derivation - Detects dyadic, trichordal, tetrachordal, and hexachordal derivation.
- analyze_
derivation_ partition - Detects derivation for one supported generator-cell size.
- analyze_
interlocking_ partitions - Reports how two validated partitions weave their ordinals across one another.
- analyze_
invariance - Compares two ordered row segments without conflating ordered and unordered facts.
- analyze_
mosaic - Lifts several validated partitions into one combined mosaic report.
- analyze_
partition_ aggregate_ coverage - Computes aggregate pitch-class coverage for one validated partition on
row. - analyze_
partition_ similarity - Compares two validated partitions without collapsing their block order contracts.
- analyze_
row_ class - Analyzes one row’s ordered intervals, symmetry stabilizers, and form equivalences.
- multiply_
partitions - Projects each interval block onto each anchor block in declaration order.
- try_
partition - Validates a caller-declared row partition over ordinals
0..12. - verticalize
- Produces vertical collection data from one validated partition.