Skip to content

Apis035/BassWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BassWrapper

A Game Maker wrapper for Un4seen's BASS library.

This DLL allows Game Maker to use BASS to add support for various audio formats supported by BASS (WAV/AIFF/MP3/MP2/MP1/OGG) and use some of BASS functions such as seeking, looping, fading, etc. (more will be added)

BASS is free for non-commercial projects, otherwise you are required to have a license for commercial projects which can be obtained here.

Using

  • Download BassWrapper.zip from releases tab.
  • Extract the files into a folder.
  • Copy BassWrapper.dll and bass.dll into your project.
  • Import BassWrapper.gml script into your project.
  • You can now start using BassWrapper.

See the included Game Maker example project for an overview on how to use BassWrapper functions. Browseable example source file can be found on example branch.

Compiling from source

Others

This wrapper does not utilize every available BASS functions simply because some of them are not useful for Game Maker, too complex to be implemented (difference between C and GML), or are not implemented yet.

The other BASS wrapper that I know and which is this project is inspired from, Sin Bass, lacks some cool features such as seeking position by seconds, ability to set loop start and end position, ability to configure global stream/sample volume, which is the main reason I created this new wrapper.