|
libws libws
WSwan hardware library for the Wonderful toolchain
|
Go to the source code of this file.
Data Structures | |
| struct | ws_sound_wave_t |
| struct | ws_sound_wavetable_t |
Macros | |
| #define | WS_SOUND_UPDATE_HZ_TO_FREQ(hz) |
| Convert a frequency in hertz to a channel frequency value, using the nearest approximation. | |
| #define | WS_SOUND_WAVE_HZ_TO_FREQ(hz, length) |
| Convert a frequency in hertz to a channel frequency value for a wave sample of a given length, using the nearest approximation. | |
| #define | WS_SOUND_SWEEP_HZ_TO_FREQ(hz) |
| Convert a frequency in hertz to a sweep channel update frequency value, using the nearest approximation. | |
Functions | |
| void | ws_sound_reset (void) |
| Reset the sound system. | |
| static void | ws_sound_set_wavetable_address (const void __wf_iram *address) |
| Set the base addresses of the sound wavetable. | |
Functionality related to sound.
Definition in file sound.h.