UM1011
Running the demonstration
Doc ID 18064 Rev 1
31/49
In
Figure 34
, the active push-buttons and their functions are displayed. For example, at
start-up, to play the file through the embedded speaker, press SEL. To exit the
Wave Player
submenu, press DOWN.
The TAMPER push-button is used to select the speaker and the KEY push-button to select
the headphone.
Once you select the play command, the submenu shown in
Figure 35
is displayed.
Figure 35.
Wave Player Playing submenu
The progress bar and the volume bar are displayed at the bottom of the
Wave Player
Playing
submenu. The progress bar is updated about every 1% of the audio file duration
and the volume bar is updated each time the volume level is changed.
At this application level:
●
Press the SEL push-button to pause the audio stream
●
Press the LEFT push-button to decrement the audio stream
●
Press the RIGHT push-button to increment the audio stream
●
Press the DOWN push-button to exit the
Wave Player
submenu
●
Press the TAMPER push-button to decrement the volume level
●
Press the KEY push-button to increment the volume level
When the audio stream is paused, the menu in
Figure 36
is displayed.
Figure 36.
Pause submenu
To resume playing, press the SEL push-button to return to the
Wave Player Playing
submenu as shown in
Figure 35
.
When the audio stream is stopped, the stream position is reset and you return to the Wave
Player interface menu shown in
Figure 34
.
SEL
DOWN
PAUSE LEFT BWR
STOP
RIGHT FWD
TAMP v-
KEY V+
SEL
DOWN
USER/xxxxxxxx.WAV
PAUSE
Playing Wave Files
Playing
STOP
RIGHT FWD
TAMP v-
VOL-
+
Control Buttons:
KEY V+
LEFT BWR
SEL
DOWN
USER/XXXXXXX.WAV
Play
Exit
STM32 DAC Audio Demo
Playing Wave Files
WAV
Paused
VOL-
+