Metadata-Version: 1.0 Name: pysox Version: 0.3.6.alpha Summary: Python bindings for sox and libsox. Home-page: http://foo42.de/wiki/pysox Author: Patrick Atamaniuk Author-email: pysox@frobs.net License: BSD Download-URL: http://foo42.de/devel/pysox/dist/pysox-0.3.6.alpha.tar.gz Description: pysox - python bindings for libsox ---------------------------------- Installation from source ------------------------ Required prerequisite are the development libraries of sox at version 14.3.x, i.e. the header files and libraries to link against. Specifically you need sox.h in your include path and libsox.so and libsox.a in your link path. Pysox will not compile against any sox version prior to 14.3.0. Then simply run:: python setup.py build python setup.py install Usage ----- See the examples included in the source, or the api doc at http://packages.python.org/pysox/ :: import pysox #open an audio file testwav = pysox.CSoxStream("test.wav") #create an audio file with the same parameters as the input file out = pysox.CSoxStream('out.wav', 'w', testwav.get_signal()) #create an effects chain using the signal and encoding parameters of our files chain = pysox.CEffectsChain(testwav, out) chain.add_effect(pysox.CEffect("vol",[b'18db'])) chain.flow_effects() #cleanup out.close() Python 3 -------- This package is compatible with python 3, tested on 2.6.6, 2.7.1, 3.0.1, 3.1.3 and 3.2. It is however not compatible with python 2.5 and prior. Platform: any Classifier: Development Status :: 3 - Alpha Classifier: Intended Audience :: Developers Classifier: Intended Audience :: Information Technology Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Cython Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.1 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: C Classifier: Operating System :: OS Independent Classifier: Topic :: Multimedia :: Sound/Audio Classifier: Topic :: Multimedia :: Sound/Audio :: Editors Classifier: Topic :: Multimedia :: Sound/Audio :: Conversion Classifier: Topic :: Software Development :: Libraries :: Python Modules