Difference between revisions of "KAudio Python Library"

From vjmedia
(Initial edit)
Line 9: Line 9:
 
*Download the latest version of kaudio.py from [[https://github.com/mekkz/kaudio]]
 
*Download the latest version of kaudio.py from [[https://github.com/mekkz/kaudio]]
 
*Place it in the same folder as the module from which you wish to use KAudio
 
*Place it in the same folder as the module from which you wish to use KAudio
 +
 +
==Use==
 +
<syntaxhighlight lang="python">
 +
import kaudio
 +
kaudio.init()
 +
 +
// your code here
 +
 +
kaudio.terminate()
 +
</syntaxhighlight>

Revision as of 13:14, 29 April 2015

KAudio is an experimental proof-of-concept audio processing library for Python. It allows users to generate audio signals, load audio from files, apply various effects to the audio, and then play it back. It is not currently a finished product, and it is not intended to be used in a production environment.

Installation

Requirements:

  • Python 2.7.x
  • NumPy 1.8.2 or greater
  • PyAudio 0.2.8 or greater

Setup:

  • Download the latest version of kaudio.py from [[1]]
  • Place it in the same folder as the module from which you wish to use KAudio

Use

<syntaxhighlight lang="python"> import kaudio kaudio.init()

// your code here

kaudio.terminate() </syntaxhighlight>