Metadata-Version: 2.4
Name: pywaveout
Version: 1.0.2
Summary: A simple Python wrapper for the Windows waveOut API using ctypes.
Author: byzin02
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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:** `WAVEHDR` automatically manages and protects audio buffers from Python's garbage collector.

- **Full Control:** Offers native mapping for functions such as `waveOutOpen`, `waveOutWrite`, `waveOutPause`, `waveOutRestart`, and `waveOutReset`, as well as per-channel volume control, mirroring the Windows API.

## Installation

```bash
pip install pywaveout
```
