Add MP3 files, update formatting.
This commit is contained in:
parent
be5bb8d6fa
commit
573b01ed74
10 changed files with 12 additions and 5 deletions
|
|
@ -1,8 +1,11 @@
|
|||
"""
|
||||
CircuitPython multiple MP3 playback example. Plays two MP3 files consecutively, once time each.
|
||||
CircuitPython multiple MP3 playback example.
|
||||
Plays two MP3 files consecutively, once time each.
|
||||
|
||||
Remove this line and all of the following docstring content before submitting to the Learn repo.
|
||||
|
||||
INCLUDE THE MP3 FILES IN THIS DIRECTORY IN A DIRECTORY WITH THE RESULTING CODE.PY FILE.
|
||||
|
||||
Choose the setup section appropriate for the board into which this template code is going. The
|
||||
default is for SAMD51 boards.
|
||||
|
||||
|
|
|
|||
BIN
CircuitPython_Templates/mp3_multi_file_playback/happy.mp3
Executable file
BIN
CircuitPython_Templates/mp3_multi_file_playback/happy.mp3
Executable file
Binary file not shown.
BIN
CircuitPython_Templates/mp3_multi_file_playback/slow.mp3
Executable file
BIN
CircuitPython_Templates/mp3_multi_file_playback/slow.mp3
Executable file
Binary file not shown.
|
|
@ -1,8 +1,11 @@
|
|||
"""
|
||||
CircuitPython single MP3 playback example. Plays a single MP3 once.
|
||||
CircuitPython single MP3 playback example.
|
||||
Plays a single MP3 once.
|
||||
|
||||
Remove this line and all of the following docstring content before submitting to the Learn repo.
|
||||
|
||||
INCLUDE THE MP3 FILE IN THIS DIRECTORY IN A DIRECTORY WITH THE RESULTING CODE.PY FILE.
|
||||
|
||||
Choose the setup section appropriate for the board into which this template code is going. The
|
||||
default is for SAMD51 boards.
|
||||
|
||||
|
|
|
|||
BIN
CircuitPython_Templates/mp3_single_file_playback/slow.mp3
Executable file
BIN
CircuitPython_Templates/mp3_single_file_playback/slow.mp3
Executable file
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
|||
"""
|
||||
CircuitPython multiple MP3 playback example for Raspberry Pi Pico. Plays two MP3 files
|
||||
consecutively, once time each.
|
||||
CircuitPython multiple MP3 playback example for Raspberry Pi Pico.
|
||||
Plays two MP3 files consecutively, once time each.
|
||||
"""
|
||||
import board
|
||||
import audiomp3
|
||||
|
|
|
|||
BIN
MP3_Playback_RP2040/Pico_Multi_File/happy.mp3
Executable file
BIN
MP3_Playback_RP2040/Pico_Multi_File/happy.mp3
Executable file
Binary file not shown.
BIN
MP3_Playback_RP2040/Pico_Multi_File/slow.mp3
Executable file
BIN
MP3_Playback_RP2040/Pico_Multi_File/slow.mp3
Executable file
Binary file not shown.
|
|
@ -1,5 +1,6 @@
|
|||
"""
|
||||
CircuitPython single MP3 playback example for Raspbeery Pi Pico. Plays a single MP3 once.
|
||||
CircuitPython single MP3 playback example for Raspberry Pi Pico.
|
||||
Plays a single MP3 once.
|
||||
"""
|
||||
import board
|
||||
import audiomp3
|
||||
|
|
|
|||
BIN
MP3_Playback_RP2040/Pico_Single_File/slow.mp3
Executable file
BIN
MP3_Playback_RP2040/Pico_Single_File/slow.mp3
Executable file
Binary file not shown.
Loading…
Reference in a new issue