电子说
原文链接: https://www.phoronix.com/news/Linux-6.1-Released
use staff::{midi, Chord, Pitch}; let chord = Chord::from_midi( midi!(C, 4), [midi!(E, 3), midi!(G, 3), midi!(C, 4)] ); assert_eq!(chord.to_string(), "C/E"); let pitches = [Pitch::E, Pitch::G, Pitch::C]; assert!(chord.into_iter().eq(pitches)); 原文链接: https://github.com/staff-rs/staff
github地址: https://github.com/Xithrius/twitch-tui
全部0条评论
快来发表一下你的评论吧 !