Skip to content

[BUGFIX][Refactor] Migrated from PyAudio to sounddevice #2

Open
anasbekheit wants to merge 1 commit into
AIMS-Research:mainfrom
anasbekheit:main
Open

[BUGFIX][Refactor] Migrated from PyAudio to sounddevice #2
anasbekheit wants to merge 1 commit into
AIMS-Research:mainfrom
anasbekheit:main

Conversation

@anasbekheit

Copy link
Copy Markdown
Contributor
  • Fixed a race if writer_thread is still holding a reference to a dead pyAudio instance. pyAudio.get_sample_size(format), it is accessing a terminated object.
  • Migrated from pyaudio to sounddevice for audio recording and playback, it is more "pythonic" and better maintained
  • Replaced config.json with config.yaml for better readability
  • Renamed ARU.py to main.py as project entry point
  • Removed utils.py (functionality integrated into main.py)
  • Added uv as the project manager (deps + dev)
  • Configured project metadata, dependencies, and dev tools (mypy, ruff)

- Fixed a race if writer_thread is still holding a reference to a dead pyAudio instance. pyAudio.get_sample_size(format), it is accessing a terminated  object.
- Migrated from pyaudio to sounddevice for audio recording and playback, it is more "pythonic" and better maintained
- Replaced config.json with config.yaml for better readability
- Renamed ARU.py to main.py as project entry point
- Removed utils.py (functionality integrated into main.py)
- Added uv as the project manager (deps + dev)
- Configured project metadata, dependencies, and dev tools (mypy, ruff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant