A simple Python wrapper for the low-level Windows waveOut API using ctypes.
Project description
pywaveout
A simple Python wrapper for the Windows waveOut audio API. This project uses the ctypes library to interface with winmm.dll.
It allows you to work directly with the Windows sound card in a manner similar to C or C++, but with the advantages of automatic memory management and Python's native exception handling.
Features
-
No Additional Dependencies: The code is pure Python, using only the standard library.
-
Memory Protection:
WAVEHDRautomatically manages and protects audio buffers from Python's garbage collector. -
Full Control: Offers native mapping for functions such as
waveOutOpen,waveOutWrite,waveOutPause,waveOutRestart, andwaveOutReset, as well as per-channel volume control, mirroring the Windows API.
Installation
pip install pywaveout
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywaveout-1.0.1.tar.gz.
File metadata
- Download URL: pywaveout-1.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
090ad2ff057172278b508a6ce55f97e57324cd540b1cd6147a7e11e80fbceec8
|
|
| MD5 |
aeb8ea8b700b4002435d9b465e261999
|
|
| BLAKE2b-256 |
f9cac62419ad7f2a3601b991bf3e25d74bb6bccc626376f63c75536525552376
|
File details
Details for the file pywaveout-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pywaveout-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99fc26981a65e0f7336d049e929b504a453efa173b8b923756d7044c39b0f56e
|
|
| MD5 |
a340795c580394953599517a48ace13e
|
|
| BLAKE2b-256 |
64376a805b9ccda9f24fdd9b3296367c6fffccdcea44026e27ff3eb766d82519
|