GithubHelp home page GithubHelp logo

lintweaker / pyalsaaudio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from larsimmisch/pyalsaaudio

0.0 1.0 1.0 437 KB

ALSA wrappers for Python

Home Page: http://larsimmisch.github.io/pyalsaaudio/

License: Other

C 79.41% Python 20.59%

pyalsaaudio's Introduction

PyAlsaAudio

For documentation, see http://larsimmisch.github.io/pyalsaaudio/

Author: Casper Wilstrup ([email protected])
Maintainer: Lars Immisch ([email protected])

This package contains wrappers for accessing the ALSA API from Python. It is currently fairly complete for PCM devices, and has some support for mixers.

If you find bugs in the wrappers please open an issue in the issue tracker. Please don't send bug reports regarding ALSA specifically. There are several bugs in the ALSA API, and those should be reported to the ALSA team - not me.

This software is licensed under the PSF license - the same one used by the majority of the python distribution. Basically you can use it for anything you wish (even commercial purposes). There is no warranty whatsoever.

Installation

PyPI

To install pyalsaaudio via pip (or easy_install):

  $ pip install pyalsaaudio

Manual installation

Note: the wrappers need a kernel with ALSA support, and the ALSA library and headers. The installation of these varies from distribution to distribution.

On Debian or Ubuntu, make sure to install libasound2-dev. On Arch, install alsa-lib. When in doubt, search your distribution for a package that contains libasound.so and asoundlib.h.

First, get the sources and change to the source directory:

  $ git clone https://github.com/larsimmisch/pyalsaaudio.git
  $ cd pyalsaaudio

Then, build:

  $ python setup.py build

And install:

  $ sudo python setup.py install

Using the API

The API documentation is included in the doc subdirectory of the source distribution; it is also online on http://larsimmisch.github.io/pyalsaaudio/.

There are some example programs included with the source:

pyalsaaudio's People

Contributors

larsimmisch avatar lintweaker avatar

Watchers

 avatar

Forkers

ronnyzhao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.