euphony-core 0.1.0

Core types and traits for music composition
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::pitch::interval::Interval;

#[derive(Clone, Copy, Debug, PartialEq, PartialOrd)]
pub struct Chord {
    pub chord_system: ChordSystem,
    pub position: i64,
}

#[derive(Clone, Copy, Debug, PartialEq, PartialOrd)]
pub struct ChordSystem(&'static [Interval]);