note
// usage
randBox.note();
randBox.note({ notes: 'flatkey' });
Return a note. ๐ต
randBox.note();
=> 'B'
randBox.note();
=> 'Eโญ'
Options flatKey - chromatic scale with flat notes (default) sharpKey - chromatic scale with sharp notes flats - just flat notes sharps - just sharp notes naturals - just natural notes all - naturals, sharps and flats
randBox.note({notes: 'flats' });
=> 'A'
randBox.note({notes: 'sharps' });
=> 'Fโฏ'
Last updated on: