Skip to main content

Modified pybass

Project description

Wyliodrin's pybass fork and forked off of peppy0510's modpybass to allow use on ARM based macOS and Linux.

pip install git+https://github.com/johannmkammiste/modpybassmacos.git

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.

Win32 Requirements

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 Requirements

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

Linux Requirements

ALSA library is required to be installed. Supports ARM and x64 based computers.

Main Features

  • Samples supports WAV/AIFF/MP3/MP2/MP1/OGG and custom generated samples

  • Sample streams stream any sample data in 8/16/32 bit, with both "push" and "pull" systems

  • File streams MP3/MP2/MP1/OGG/WAV/AIFF file streaming

  • Internet file streaming stream files from the internet, including Shout/Icecast

  • User file streaming stream files from anywhere using any delivery method

  • Multi-channel streaming support for more than plain stereo, including multi-channel OGG/WAV/AIFF files

  • MOD music uses the same engine as XMPlay = best accuracy, speed, and quality

  • MO3 music MP3/OGG compressed MOD music

  • Add-on system support for more formats is available via add-ons (aka plugins)

  • Multiple outputs simultaneously use multiple soundcards, and move channels between them

  • Recording flexible recording system, with support for multiple devices

  • Decode without playback streams and MOD musics can be outputted in any way you want

  • Speaker assignment assign streams and MOD musics to specific speakers

  • High precision synchronization synchronize events in your software to the streams and MOD musics

  • DirectX 8 effects chorus/compressor/distortion/echo/flanger/gargle/parameq/reverb

  • User defined DSP functions custom effects may be applied to musics and streams

  • 32 bit floating-point decoding and processing floating-point stream/music decoding, DSP, FX, and recording

  • 3D sound play samples/streams/musics in any 3D position, with EAX support

  • Small BASS is under 100KB (on Windows), so won't bloat your distribution

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modpybass2-0.5.8.tar.gz (4.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modpybass2-0.5.8-py3-none-any.whl (4.6 MB view details)

Uploaded Python 3

File details

Details for the file modpybass2-0.5.8.tar.gz.

File metadata

  • Download URL: modpybass2-0.5.8.tar.gz
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for modpybass2-0.5.8.tar.gz
Algorithm Hash digest
SHA256 54bdf3ff3976bf3e1e9632e62a35b8387b7a5af4101b6709a250f30fc82b9851
MD5 bd288c135e85ad9c779bec9c692a2760
BLAKE2b-256 17f59ca776d1e0d1fa0efc830a2c6c98d6e82f77716e1b3b7cba6cba9af278a6

See more details on using hashes here.

File details

Details for the file modpybass2-0.5.8-py3-none-any.whl.

File metadata

  • Download URL: modpybass2-0.5.8-py3-none-any.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for modpybass2-0.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 815d6ae453adcd60dc08aed79b5037832cd526e5033edca54770a0999e85af70
MD5 35255a1cdedf39923151e0b79f42f14d
BLAKE2b-256 2c55e1940c7dd423e379e2a231a987f7349826877306b11e35a1cee806e5bf52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page