-
Notifications
You must be signed in to change notification settings - Fork 49
Open
wasertech/py-simple-audio
#1Description
overview
simpleaudio 1.0.4 seems to crash for me when using python 3.12
the same crash does not reproduce in python 3.11
the crash does not appear to be any form of python failure that I can either catch as an exception or intercept with a python debugger
example
Here's the sample code I'm testing with
try:
wav_file = simpleaudio.WaveObject.from_wave_file('test.wav')
print('playing sound(s) using simpleaudio')
play_obj = wav_file.play()
play_obj.wait_done()
print('done')
play_obj.stop()
print('stopped')
except BaseException as ex:
print(f"caught exception {ex}")when run from a python 3.12 environment with simpleaudio 1.0.4, this is the output
> python .\main.py
playing sound(s) using simpleaudiohere's the same run but from a python 3.11 environment
> python .\main.py
playing sound(s) using simpleaudio
done
stoppedRepro Environment information
- full python versions: 3.11.0 and 3.12.1
- OS: Windows 10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels