Skip to content

handledexception/pyaudio_portaudio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Precompiled & Extended | PyAudio with PortAudio for Windows

Used versions:
· PyAudio 0.2.9 | co dce064b428
· PortAudio V19 | rev 1919

Extensions:
· Support of Windows sound loopback: Record the output of your soundcard


This project is a fork of two open source projects. If you'd like, give them some love:


Usage

See the example.

Exactly like the official PyAudio but with the extra option "as_loopback" which expects a boolean.

import pyaudio
p = pyaudio.PyAudio()
stream = p.open([...], as_loopback = True)

How to install?

###You can find the precompiled PyAudio build, static linked with PortAudio, as well as only the static linked PortAudio in the release.

I will try to rebuild the project on each update from one of the used projects.

How to build?

You will need a working cygwin installation with basic developer tools and python.

1.

Change to /pyaudio/portaudio-v19 and type

make

To rebuild type

make clean
make

2.

Change to /pyaudio and type

python setup.py install --static-link

Help!!

If you get errors, let me know. Thank you ♥

About

PyAudio with PortAudio for Windows | Extended | Loopback | WASAPI | VS2015 Solution

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 76.6%
  • Shell 11.9%
  • C++ 8.5%
  • Python 2.6%
  • Other 0.4%