Coder Social home page Coder Social logo

pyalsaaudio's Introduction

PyAlsaAudio

Author: Casper Wilstrup ([email protected])

Contributors: Tyler Yahn ([email protected])

This package contains wrappers for accessing the ALSA api from Python. It is currently fairly complete for PCM devices. The next goal is to have complete mixer supports as well. MIDI sequencer support is low on the priority list, but volunteers are welcome.

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.

Requirements

A working install of ALSA with proper kernel support is needed.

The package has been verified to work with the following

Installation

To install, first build the package:

  $ python setup.py build

And then, after verifying everything built successfully, as root:

# python setup.py install

Using the API

There is a reasonably useful API documentation included in the module documentation, which can be found in the doc subdirectory of the source distribution.

There are also three example programs included with the source:

  • playbacktest.py
  • Which plays back raw sound data read from stdin
  • recordtest.py
  • Which captures sound from the microphone at writes it raw to stdout.
  • mixertest.py
  • Which can be used to manipulate the mixers.

pyalsaaudio's People

Contributors

mralias avatar malyshevalex avatar

Watchers

James Cloos avatar  avatar

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.