Skip to main content

A simple Python wrapper for the low-level Windows waveOut API using ctypes.

Project description

pywaveout

Um wrapper simples em Python para a API de áudio waveOut do Windows. Este projeto usa a biblioteca ctypes para interagir com a winmm.dll.

Isso permite que você trabalhe diretamente com a placa de som do Windows de forma parecida com C ou C++, mas com a vantagem de ter gerenciamento automático de memória e tratamento de exceções nativas do Python.

Funcionalidades

  • Sem Dependências Adicionais: O código é puro Python, usando apenas a biblioteca padrão.

  • Memória Protegida: O WAVEHDR cuida e protege os buffers de áudio contra o coletor de lixo do Python automaticamente.

  • Controle Total: Oferece mapeamento nativo de funções como waveOutOpen, waveOutWrite, waveOutPause, waveOutRestart, waveOutReset, além de controle de volume por canal, igual à API do Windows.

Instalação

pip install pywaveout

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywaveout-1.0.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pywaveout-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pywaveout-1.0.0.tar.gz.

File metadata

  • Download URL: pywaveout-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for pywaveout-1.0.0.tar.gz
Algorithm Hash digest
SHA256 22316251344a8380b8c1697ede4c5957bb0ff5be6f27947cf0cd18995daa1737
MD5 22409945d1fa5e808a4112da902579fc
BLAKE2b-256 cba376614ae45a671f2cea42653f0b6a89adf18d18992e65c9c25e855044ac69

See more details on using hashes here.

File details

Details for the file pywaveout-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pywaveout-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for pywaveout-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff721b2c4ef44c72408f6595681f8c9e1bff36d22d78d38a6ea51af4a1bd937e
MD5 fb4b2a96cb2bd7a4090ad66e18c64a1c
BLAKE2b-256 3d0542dee1906a9d85f530ade23ae6b2d61abbc812dba2cb2bdbcdad248af6c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page