File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Fruit_Jam/Fruit_Jam_Startups Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2025 Tim Cocks for Adafruit Industries
2+ # SPDX-License-Identifier: MIT
13import time
24from audiocore import WaveFile
35import audiobusio
2426# dac.speaker_output = True
2527# dac.speaker_volume = -15 # dB
2628
27- wave_file = open ( # pylint: disable=consider-using-with
28- "gameboy_startup/gameboy_pling.wav" , "rb"
29- )
29+ wave_file = open ("gameboy_startup/gameboy_pling.wav" , "rb" )
3030wave = WaveFile (wave_file )
3131audio = audiobusio .I2SOut (board .I2S_BCLK , board .I2S_WS , board .I2S_DIN )
3232
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2025 Tim Cocks for Adafruit Industries
2+ # SPDX-License-Identifier: MIT
13import time
24from audiocore import WaveFile
35import audiobusio
2426# dac.speaker_volume = -15 # dB
2527
2628# Chime audio setup
27- wave_file = open ( # pylint: disable=consider-using-with
28- "mac_startup/mac_chime.wav" , "rb"
29- )
29+ wave_file = open ("mac_startup/mac_chime.wav" , "rb" )
3030wave = WaveFile (wave_file )
3131audio = audiobusio .I2SOut (board .I2S_BCLK , board .I2S_WS , board .I2S_DIN )
3232
You can’t perform that action at this time.
0 commit comments