Simple synthesizer for STM32F401RE/STMstation.
Dependencies: FastPWM mbed-dsp
melody Struct Reference
Stores data for a song or sound effect. More...
#include <STMstation_synth.h>
Detailed Description
Stores data for a song or sound effect.
- Parameters:
-
notes Note frequency and timbre durations Duration (from 1/64th to 4 counts) AR Attack/Release (bits 7:4 - attack, 3:0 - release) vol Volume (0 - muted, 127 - 1x volume, 255 - 2x volume max Max index of each channel ended Has the channel completed playing? repeat Should the channel repeat or stop? bpm Tempo, in 1/4th counts per minute
Definition at line 21 of file STMstation_synth.h.
Generated on Mon Jul 18 2022 19:42:09 by 1.7.2