[my weblog] [my software] [contact me]

h3's software

(if it was hard to write, it should be hard to understand)

back to software
[icon]

PortAudioSharp

version: 0.19.1.41872 (released on 16/04/2006)
author: Riccardo Gerosa (aka h3)
license: LGPL (open source)

Download (outdated, use the link below and go to Google Code)


WARNING: this is an outdated page, this project has been moved to Google Code




About

This library provides .NET bindings for the portable low-latency audio library PortAudio v.19.
The bindings are available directly through the PortAudio class, or you can even use and a simplified higher-lever Audio class.
This library is being developed using C# under Linux/mono and then tested also on other platforms (Windows/.NET only since now) for maximum portability.
There is no "unsafe" code in this library.

Compiling

At the moment there is only a MonoDevelop 0.10 solution (PortAudioSharp.mds), if you don't use MonoDevelop you have to create your own project-files or make-scripts.
The solution contains two projects: The PortAudioSharp library project and a simple test project PortAudioSharpTest.

Installing / Using

  1. To use the PortAudioSharp bindings you must have the PortAudio v.19 library installed on your system, you can find PortAudio source code at http://www.portaudio.com
    If you are using a Linux/Unix system you will have to compile and install the libportaudio.so library, if you use Windows you will need to build a PortAudio.dll library.
  2. If you are using a source distribution of PortAudioSharp you need to compile it.
  3. Copy PortAudioSharp.dll and PortAudioSharp.dll.config files to the directory of your assembly.
  4. Add a reference in your project to PortAudioSharp.dll

Known bugs

This is a very early release and it's still full of bugs, it has been tested only under Linux/mono-1.14 and under Windows XP/.NET-2.0
This version seems to work only for some ApiHosts: OSS under Linux and DirectX under Windows.
It is also quite slow and unstable.
Please help me testing, debugging and improving these bindings!


screenshot
[screenshot]


random sentence: " Real Programmers disdain structured programming. Structured programming is for compulsive neurotics who were permanently toilet trained. They wear neckties and carefully line up sharp pencils on an otherwise clear desk. "