1.0.0 • Published 4 years ago

node-bass v1.0.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
4 years ago

node-bass

Node bindings to the BASS audio library.

Huge shoutouts to serkanp, for his implementation of the same lib helped me use the same resources to create my own. Great work creating bindings for a closed-source lib!

This implementation is very faithful to the original BASS library. Thus, it doesn't need an actual documentation, just check the official one for the original lib. Note that some functions, such as the ones for mobile, 3D audio and multiple channels (more than 7.1) are lacking, since I'm not planning to develop for any of these devices/platforms.

Installation

Drop the bass.dll (or the equivalent to your system, like libbass.so for Linux or libbass.dylib for Mac/Darwin-based systems) binary file anywhere and call the function to that directory. For example, if you have the .dll (or whatever) on the a folder called lib, located in your Node project folder, call:

const bassLibrary = require('node-bass');
const bass = new bassLibrary.bass(__dirname + "/lib/");

I'll be adding more examples as I work with these bindings more frequently.

1.0.0

4 years ago