File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 60
60
//| speaker_enable = digitalio.DigitalInOut(board.SPEAKER_ENABLE)
61
61
//| speaker_enable.switch_to_output(value=True)
62
62
//|
63
- //| wav = audiocore.WaveFile("cplay-5.1-16bit-16khz.wav") # preferred use
64
- //| # wav = audiocore.WaveFile(open("cplay-5.1-16bit-16khz.wav", "rb"))
63
+ //| wav = audiocore.WaveFile("cplay-5.1-16bit-16khz.wav")
65
64
//| a = audioio.AudioOut(board.A0)
66
65
//|
67
66
//| print("playing")
Original file line number Diff line number Diff line change 77
77
//| speaker_enable = digitalio.DigitalInOut(board.SPEAKER_ENABLE)
78
78
//| speaker_enable.switch_to_output(value=True)
79
79
//|
80
- //| mp3 = audiomp3.MP3Decoder("cplay-16bit-16khz-64kbps.mp3") # preferred use
81
- //| # mp3 = audiomp3.MP3Decoder(open("cplay-16bit-16khz-64kbps.mp3", "rb"))
80
+ //| mp3 = audiomp3.MP3Decoder("cplay-16bit-16khz-64kbps.mp3")
82
81
//| a = audioio.AudioOut(board.A0)
83
82
//|
84
83
//| print("playing")
You can’t perform that action at this time.
0 commit comments