Skip to main content

Loop play audio

Project description

playbacque

Loop play audio

Usage

> pip install playbacque
> playbacque "audio.wav"

Use Ctrl+C to stop playback

Supports most file formats (as this uses soundfile which uses libsndfile)

Notable exceptions include .mp3 and .ogg

As an alternative, one can first convert to a .wav using FFmpeg and pipe into playbacque -, where - means to take audio from stdin

> ffmpeg -i "audio.mp3" -f wav pipe: | playbacque -

Note when passing -, the entire stdin is buffered before playback

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

playbacque-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

playbacque-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file playbacque-0.1.0.tar.gz.

File metadata

  • Download URL: playbacque-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.7 Windows/10

File hashes

Hashes for playbacque-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a997d2c8c8cf48ec333f6b8d3eec8b3d554d44d5482035618273fd84c5516bcf
MD5 51e225cc257f8b6ca6f9901b2e83496b
BLAKE2b-256 4ed658e0ac68027ade1db1126ffc575be3c842a504520cb036978eeb20fec8cf

See more details on using hashes here.

File details

Details for the file playbacque-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: playbacque-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.7 Windows/10

File hashes

Hashes for playbacque-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e94995fab4d70a0ef5a65f3406a85b59a507148649bb9b323b6352a2bebf6f74
MD5 7a996f32efdb739dab0743d0472d4868
BLAKE2b-256 2260a67d6e949953fcc44d3e9f1d042d19fab0cdbc342d7281669c28fa1a3d24

See more details on using hashes here.

Supported by

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