ZIPpython封装的ALSA库源码及示例 40.88KB

baidu_16271159

资源文件列表:

pyalsaaudio-master.zip 大约有25个文件
  1. pyalsaaudio-master/
  2. pyalsaaudio-master/.gitignore 80B
  3. pyalsaaudio-master/CHANGES 2.62KB
  4. pyalsaaudio-master/LICENSE 2.47KB
  5. pyalsaaudio-master/MANIFEST.in 137B
  6. pyalsaaudio-master/NOTES.md 386B
  7. pyalsaaudio-master/README.md 2.28KB
  8. pyalsaaudio-master/TODO 104B
  9. pyalsaaudio-master/alsaaudio.c 71.12KB
  10. pyalsaaudio-master/doc/
  11. pyalsaaudio-master/doc/Makefile 2.26KB
  12. pyalsaaudio-master/doc/README.md 498B
  13. pyalsaaudio-master/doc/conf.py 4.86KB
  14. pyalsaaudio-master/doc/index.rst 756B
  15. pyalsaaudio-master/doc/libalsaaudio.rst 21.89KB
  16. pyalsaaudio-master/doc/pyalsaaudio.rst 4.43KB
  17. pyalsaaudio-master/doc/terminology.rst 3.15KB
  18. pyalsaaudio-master/isine.py 2.72KB
  19. pyalsaaudio-master/mixertest.py 3.71KB
  20. pyalsaaudio-master/play_rusage.py 540B
  21. pyalsaaudio-master/playbacktest.py 1.37KB
  22. pyalsaaudio-master/playwav.py 1.53KB
  23. pyalsaaudio-master/recordtest.py 1.94KB
  24. pyalsaaudio-master/setup.py 1.41KB
  25. pyalsaaudio-master/test.py 4.02KB

资源介绍:

python封装的ALSA库源码及示例。
# PyAlsaAudio For documentation, see http://larsimmisch.github.io/pyalsaaudio/ > Author: Casper Wilstrup (cwi@aves.dk) > Maintainer: Lars Immisch (lars@ibp.de) This package contains wrappers for accessing the [ALSA](http://www.alsa-project.org/) 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/](http://larsimmisch.github.io/pyalsaaudio/). There are some example programs included with the source: * [playwav.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/playwav.py) plays back a wav file * [playbacktest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/playbacktest.py) plays back raw sound data read from stdin * [recordtest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/recordtest.py) captures sound from the microphone and writes it raw to stdout. * [mixertest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/mixertest.py) can be used to manipulate the mixers.
100+评论
captcha
    类型标题大小时间
    ZIPMATLAB代码:综合能源系统优化模型概述及其鲁棒优化主要内容: 本文在分析典型冷热电联供(combined cooling429.6KB7月前
    ZIP雅马哈机械手程序程序里有跟相机Socket通信数据处理,此流程为锁螺丝,对每个螺丝位置进行拿照定位补偿,托盘定义里也设计到,942.41KB7月前
    ZIP含光伏的储能选址定容模型 14节点程序采用改进粒子群算法,对分析14节点配网系统中的储能选址定容方案,并得到储能的出力情况,有175.02KB7月前
    ZIP无线电能传输 wpt 磁耦合谐振 过零检测matlab simulink仿真 pwm MOSFET,过零检测模块基于710.01KB7月前
    ZIP23552679郭磊.zip8.25KB7月前
    ZIPreport ETL .ffff98.71MB7月前
    ZIP西门子s7 200smart与3台欧姆龙E5cc温控器通讯控 功能:可以直接应用现场 实现西门子s7 200smart对3台欧姆6.86MB7月前
    ZIP《图书管理系统》JavaSE:循环、判断27.31KB7月前