#[repr(u16)]pub enum Note {
C = 644,
CSharp = 681,
D = 722,
DSharp = 765,
E = 810,
F = 858,
FSharp = 910,
G = 964,
GSharp = 1_021,
A = 1_081,
ASharp = 1_146,
B = 1_214,
}Expand description
Note frequencies for use with the YM2612.
These are slightly inaccurate since the NTSC & PAL versions of the console operate the FM chip at slightly different frequencies.
Variants§
C = 644
CSharp = 681
D = 722
DSharp = 765
E = 810
F = 858
FSharp = 910
G = 964
GSharp = 1_021
A = 1_081
ASharp = 1_146
B = 1_214
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more