We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780fabf commit 0e7c08aCopy full SHA for 0e7c08a
Kamek_Magic_Wand_Prop/code.py
@@ -26,7 +26,7 @@
26
external_power.value = True
27
28
# i2s playback
29
-wave_file = open("wand-mix-sfx.wav", "rb") # pylint: disable=consider-using-with
+wave_file = open("wand-mix-sfx.wav", "rb")
30
wave = audiocore.WaveFile(wave_file)
31
audio = audiobusio.I2SOut(board.I2S_BIT_CLOCK, board.I2S_WORD_SELECT, board.I2S_DATA)
32
mixer = audiomixer.Mixer(voice_count=1, sample_rate=22050, channel_count=1,
0 commit comments