pub type PcSet = Vec<i8>;Aliased Type§
pub struct PcSet { /* private fields */ }Trait Implementations§
Source§impl Fundamentals for PcSet
impl Fundamentals for PcSet
Source§fn transpose(&self, n: i8) -> PcSet
fn transpose(&self, n: i8) -> PcSet
Returns the transposition of the pitch-class set by n semitones. Read more
Source§fn i(&self) -> PcSet
fn i(&self) -> PcSet
Alias of
invert(). Returns the inversion of the pitch-class set. Read moreSource§fn t(&self, n: i8) -> PcSet
fn t(&self, n: i8) -> PcSet
Alias of
transpose(). Returns the transposition of the pitch-class
set by n semitones. Read moreSource§fn tni(&self, n: i8) -> PcSet
fn tni(&self, n: i8) -> PcSet
Inverts the pitch-class set, then returns the transposition by n
semitones. Read more
Source§impl SetAnalysis for PcSet
impl SetAnalysis for PcSet
Source§impl SetOperations for PcSet
impl SetOperations for PcSet
Source§fn complement(&self) -> PcSet
fn complement(&self) -> PcSet
Returns the complement of the pitch-class set Read more
Source§fn retrograde(&self) -> PcSet
fn retrograde(&self) -> PcSet
Returns the retrograde of the pitch-class set Read more
Source§fn rotate(&self, n: usize) -> PcSet
fn rotate(&self, n: usize) -> PcSet
Returns the rotation of the pitch-class set by n semitones Read more
Source§fn intervals(&self) -> Vec<i8>
fn intervals(&self) -> Vec<i8>
Helper function that returns a vector containing the
interval-classes for the first and n to last pitch-class in a
pitch-class set Read more