Skip to main content

Crate meowsic

Crate meowsic 

Source
Expand description

notes -> chords :3

u just do:

use meowsic::get_chords;

fn main() {
    println!("{:?}", get_chords(&vec![60, 64, 67, 71]));
    //["Cmaj7", "Em(b6)", "Em/C", "G6/11", "G6/C", "Bsus4(b6,b9)", "Bsus4(b6)/C"]
}

the numbers there are midi notes btw!

Functionsยง

get_chords