Questions tagged [bass]

BASS is an audio library for use in software on several platforms. Its purpose is to provide developers with powerful and efficient sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and more via OS codecs and add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX), MO3 music (MP3/OGG compressed MODs), and recording functions. All in a compact DLL that won't bloat your distribution.

BASS is an audio library for use in software on several platforms. Its purpose is to provide developers with powerful and efficient sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and more via OS codecs and add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX), MO3 music (MP3/OGG compressed MODs), and recording functions. All in a compact DLL that won't bloat your distribution.

C/C++, Delphi, Visual Basic, and MASM APIs are provided, with several examples to get you started. .Net and other APIs are also available.

BASS is also available for the Win64, WinCE, iOS, Android, and ARM Linux platforms.

Features:

  • Samples Support for 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 data from HTTP and FTP servers (inc. Shoutcast, Icecast & Icecast2), with IDN and proxy server support and adjustable buffering
  • Custom file streaming Stream data from anywhere using any delivery method, with both "push" and "pull" systems
  • OS codecs ACM, Media Foundation and CoreAudio codec support for additional audio formats
  • Multi-channel streaming Support for more than plain stereo, including multi-channel OGG/WAV/AIFF files
  • MOD music Uses the same engine as XMPlay (very accurate, efficient, high quality reproduction), with full support for all effects, filters, stereo samples, DMO effects, etc...
  • MO3 music MOD music with MP3 or OGG compressed samples (vastly reduced file size with virtually identical sound quality), MO3s are created using the MO3 encoder
  • Multiple outputs Simultaneously use multiple soundcards, and move channels between them
  • Recording Flexible recording system, with multiple device support and input selection, (WMA encoding & broadcasting via the add-on, and other formats via BASSenc)
  • Decode without playback Streams and MOD musics can be outputted in any way you want (encoded, written to disk, streamed across a network, etc...)
  • Speaker assignment Assign streams and MOD musics to specific speakers to take advantage of hardware capable of more than plain stereo (up to 4 separate stereo outputs with a 7.1 soundcard)
  • High precision synchronization Synchronize events in your software to the streams and MOD musics, synchronize playback of multiple channels together
  • Effects Chorus / compressor / distortion / echo / flanger / gargle / parametric eq / reverb
  • Custom DSP Apply any effects that you want, in any order you want
  • 32 bit floating-point decoding and processing Floating-point decoding/rendering, DSP/FX, and recording
  • 3D sound Play samples/streams/musics in any 3D position
  • Flexible Small buffers for realtime performance, large buffers for stability, automatic and manual buffer updating, configurable threading, configurable SRC quality
  • Expandable Add-on system for additional format support and effects (C/C++ API available on request), dynamic plugin loading system, access to underlying DirectSound objects

Official Website: http://www.un4seen.com/bass.html

Useful Links:

115 questions
0
votes
1 answer

Using BASS_StreamCreateFile in WPF

BASS_StreamCreateFile(path,offset,length,BassFlags) always returns '0'. I am not understanding how to use this function. Need help on the usage of BassFlags. PS : Using this with the help of WPF Sound Visualization Library.
abhi154
  • 43
  • 1
  • 3
  • 10
0
votes
3 answers

Multispeaker option with BASS library

I'm working on a sonification project where I have to track a colored object from my camera and play music if that object moves in different positions, e.g.: play music on the right speaker if the object moves right. I've been looking for an audio…
Angel
  • 13
  • 1
  • 4
-1
votes
1 answer

How to write IntPtr to a file in UWP

I'm trying to report a bug of a MP3 decoder and the developer asked me to generate the PCM file for him to identify the problem. So this is the code I used to generate the PCM file private async Task NewMethod() { var file = await…
jason_wun
  • 113
  • 1
  • 12
-1
votes
2 answers

How to combine two buttons

There is button_play and button_pause. I want to combine them into one button. The first time the song is pressed, the song starts playing. The second press - pause. At the third press, the playback continues. I can not do it. Please tell me, how I…
Gif
  • 23
  • 3
-1
votes
1 answer

Bass.dll not finding basswasapi.dll

I've just downloaded this [code][1] of a Spectrum Analyzer in C# using the BASS API. I downloaded the Dll, added to the solution, but when I try to run the project, it says that it couldn't find the DLL basswasapi. I tried to search on the internet…
-1
votes
1 answer

Objective-C callback block for BASS FX

I'm trying to use the audio library BASS in my application. I'm trying to use a method which triggers a callback when it detects a beat in the music. This is my current code: void* (^myBlock)(DWORD, double, void *) = ^(DWORD handle, double time,…
LucidLime
  • 1
  • 1
-2
votes
1 answer

How to store large outcomes R?

I am using the Bass diffusion model and by doing a for-loop I found the parameters m, p, and q of approximately 5000 products. It is a lot of work to put these parameters into an excel sheet manually. Does someone know an easy way to store those…
-2
votes
2 answers

Delphi BASS library - change audio output device during runtime

I have a mp3 player in Delphi. When the player is running and I change the audio output device, say from line out (speakers) to bluetooth, the player still "sends" the sound to the line out device. When my bluetooth headset is connected and I start…
-2
votes
1 answer

BadImageFormatException on bass.dll

One year ago I was using bass.dll on a mp3 project. Back then I was using Windows 7, 32bit. Now I am on another project and I need to use the bass.dll again. This time I am on Windows 8.1, 64bit. Bass_Start() is giving me this exception as well as…
user2530266
  • 287
  • 3
  • 18
-5
votes
1 answer

Am I loading this Music correctly with Bass.dll?

Based on Bass's documentation, I'm trying to load an ogg file with the code that follows: var FFile : string; Music: HSAMPLE; ch: HCHANNEL; OpenDialog1 : TOpenDialog; begin Dynamic_Bass.Load_BASSDLL('Library/Bass.dll'); …
Guill
  • 350
  • 5
  • 17
1 2 3 4 5 6 7
8