Crate soundplayer_example
source ·Constants
Functions
Calculates frequency from a note number. We multiply concert A frequency (440Hz) by the
twelfth root of two to the ‘note’ power.
func 🔒
main 🔒
Creates a file channel from a resource file.
Creates a file channel from a file name.
Creates a VMO-based sound containing a decaying sine wave using the slope iteration method.
note
is in semitones with 0 being concert A (440Hz).Type Definitions
Result 🔒