forked from auracaster/pyalsaaudio
r1274 | casper | 2005-03-26 00:37:10 +0100 (Sat, 26 Mar 2005) | 2 lines Module documentation git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@9 ec2f30ec-7544-0410-870e-f70ca00c83f0
114 lines
4.2 KiB
HTML
114 lines
4.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<link rel="STYLESHEET" href="pyalsaaudio.css" type='text/css'>
|
|
<link rel="first" href="pyalsaaudio.html" title='PyAlsaAudio'>
|
|
<link rel='contents' href='contents.html' title="Contents">
|
|
<link rel='last' href='about.html' title='About this document...'>
|
|
<link rel='help' href='about.html' title='About this document...'>
|
|
<LINK REL="next" HREF="node5.html">
|
|
<LINK REL="prev" HREF="node3.html">
|
|
<LINK REL="parent" href="contents.html">
|
|
<LINK REL="next" HREF="node5.html">
|
|
<meta name='aesop' content='information'>
|
|
<META NAME="description" CONTENT="ALSA and Python">
|
|
<META NAME="keywords" CONTENT="pyalsaaudio">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
<title>2 ALSA and Python</title>
|
|
</head>
|
|
<body>
|
|
<DIV CLASS="navigation">
|
|
<table align="center" width="100%" cellpadding="0" cellspacing="2">
|
|
<tr>
|
|
<td><a rel="prev" title="1 What is ALSA"
|
|
HREF="node3.html"><img src='previous.gif'
|
|
border='0' height='32' alt='Previous Page' width='32'></A></td>
|
|
<td><a rel="parent" title="Contents"
|
|
href="contents.html"><img src='up.gif'
|
|
border='0' height='32' alt='Up One Level' width='32'></A></td>
|
|
<td><a rel="next" title="3 Installation"
|
|
HREF="node5.html"><img src='next.gif'
|
|
border='0' height='32' alt='Next Page' width='32'></A></td>
|
|
<td align="center" width="100%">PyAlsaAudio</td>
|
|
<td><a rel="contents" title="Table of Contents"
|
|
href="contents.html"><img src='contents.gif'
|
|
border='0' height='32' alt='Contents' width='32'></A></td>
|
|
<td><img src='blank.gif'
|
|
border='0' height='32' alt='' width='32'></td>
|
|
</tr></table>
|
|
<b class="navlabel">Previous:</b>
|
|
<a class="sectref" rel="prev" HREF="node3.html">1 What is ALSA</A>
|
|
<b class="navlabel">Up:</b>
|
|
<a class="sectref" rel="parent" href="contents.html">Contents</A>
|
|
<b class="navlabel">Next:</b>
|
|
<a class="sectref" rel="next" HREF="node5.html">3 Installation</A>
|
|
<br><hr>
|
|
</DIV>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H1><A NAME="SECTION002200000000000000000">
|
|
2 ALSA and Python</A>
|
|
</H1>
|
|
|
|
<P>
|
|
The older Linux sound API (OSS) which is now deprecated is well supported
|
|
from the standard Python library, through the ossaudiodev module. No native
|
|
ALSA support exists in the standard library (yet).
|
|
|
|
<P>
|
|
There are a few other ``ALSA for Python'' projects available, including at
|
|
least two different projects called pyAlsa. Neither of these seem to be under
|
|
active development at the time - and neither are very feature complete.
|
|
|
|
<P>
|
|
I wrote PyAlsaAudio to fill this gap. My long term goal is to have the module
|
|
included in the standard Python library, but that is probably a while of yet.
|
|
|
|
<P>
|
|
PyAlsaAudio hass full support for sound capture, playback of sound, as well as
|
|
the ALSA Mixer API.
|
|
|
|
<P>
|
|
MIDI support is not available, and since I don't own any MIDI hardware, it's
|
|
difficult for me to implement it. Volunteers to work on this would be greatly
|
|
appreciated
|
|
|
|
<DIV CLASS="navigation">
|
|
<p><hr>
|
|
<table align="center" width="100%" cellpadding="0" cellspacing="2">
|
|
<tr>
|
|
<td><a rel="prev" title="1 What is ALSA"
|
|
rel="prev" title="1 What is ALSA"
|
|
HREF="node3.html"><img src='previous.gif'
|
|
border='0' height='32' alt='Previous Page' width='32'></A></td>
|
|
<td><a rel="parent" title="Contents"
|
|
rel="parent" title="Contents"
|
|
href="contents.html"><img src='up.gif'
|
|
border='0' height='32' alt='Up One Level' width='32'></A></td>
|
|
<td><a rel="next" title="3 Installation"
|
|
rel="next" title="3 Installation"
|
|
HREF="node5.html"><img src='next.gif'
|
|
border='0' height='32' alt='Next Page' width='32'></A></td>
|
|
<td align="center" width="100%">PyAlsaAudio</td>
|
|
<td><a rel="contents" title="Table of Contents"
|
|
rel="contents" title="Table of Contents"
|
|
href="contents.html"><img src='contents.gif'
|
|
border='0' height='32' alt='Contents' width='32'></A></td>
|
|
<td><img src='blank.gif'
|
|
border='0' height='32' alt='' width='32'></td>
|
|
</tr></table>
|
|
<b class="navlabel">Previous:</b>
|
|
<a class="sectref" rel="prev" HREF="node3.html">1 What is ALSA</A>
|
|
<b class="navlabel">Up:</b>
|
|
<a class="sectref" rel="parent" href="contents.html">Contents</A>
|
|
<b class="navlabel">Next:</b>
|
|
<a class="sectref" rel="next" HREF="node5.html">3 Installation</A>
|
|
<hr>
|
|
<span class="release-info">Release 0.1.</span>
|
|
</DIV>
|
|
<!--End of Navigation Panel-->
|
|
|
|
</BODY>
|
|
</HTML>
|