pybass

Python BASS Library with ctypes python module for BASS (http://www.un4seen.com).

BASS is an audio library for use in Windows, Linux and MacOSX software. Its purpose is to provide the most powerful and efficient (yet easy to use), sample, stream, MOD music, and recording functions. All in a tiny DLL, under 100KB in size.

See the documentation for descriptions of all the BASS functions. You should also look at the included example program source-codes for some examples of how to use BASS in your own programs.

Requirements

Win32 version

BASS requires DirectX 3 or above for output. BASS does not require that a soundcard with DirectSound/DirectSound3D hardware accelerated drivers is installed, but it does improve performance if there is one. BASS also takes advantage of MMX, which improves the performance of the MOD music playback.

MacOSX version

OSX 10.3 or above is recommended. BASS uses CoreAudio for output, so there are no special library/driver requirements. BASS supports both PowerPC and Intel Macs.

Main Features

Using BASS

There is no guarantee that all future BASS versions will be compatible with all previous versions, so your program should use BASS_GetVersion to check the version that is loaded. This also means that you should put the BASS module in the same directory as your executable (not just somewhere in the path), to avoid the possibility of a wrong version being loaded.

If you are updating your software from a previous BASS version, then you should check the "History" section (below), to see if any of the functions that you are using have been affected by a change.