-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
- Spyder version: 6.0.5 (conda)
- Python version: 3.12.3 64-bit
- Qt version: 5.15.2
- PyQt5 version: 5.15.10
- Operating System: Windows-11-10.0.26100-SP0
- 'import math' should be deleted
- simpleaudio crashes the kernel
You can replace it by playsound3 from PyPi, install with pip is ok in conda. I use version 2.5.2, I have not tried newer versions
Use it in the 'def save ' function
'#import simpleaudio as sa'
'from playsound3 import playsound as play3'
...
'# sa.play_buffer(y, num_channels=1, bytes_per_sample=2, sample_rate=16_000)'
....
def save(self, path):
y = self._get_int16at16K()
write(path, 16_000, y)
play3(path)
...
Metadata
Metadata
Assignees
Labels
No labels