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

How to track file names on a media player playlist and get current playing file index

so I'm developing a music player based on Un4seen Bass audio library , It does everything correctly except for playlist management which I'm having difficulties to fix it , my playlist system works as following , I have a class called Playlist it…
Anes Hamdani
  • 50
  • 1
  • 7
0
votes
0 answers

Playing multiple sounds simultaneously with Bass.net

I am trying to create an audio player that can play multiple MP3 files at the same time. I thought I needed the BASSMIX add-on for that. I am using a code example from un4seen site. It looks like this: Imports System Imports Un4seen.Bass Imports…
Jeroen
  • 460
  • 6
  • 14
0
votes
1 answer

Bass model in DoCplex: how to assign variables in constraints

I am trying to build an optimisation program based on Bass model (see below): Decision variables: p, m, q Problem: min RMSE Constraints: Ft = (p + q(C(t-1)/m)(m - C(t-1)) Et = Ft - St with C(t) being the cumulative sum of sales, St being the…
0
votes
0 answers

BASS.NET encoder AAC to Icecast

I'm developing with BASS.NET an AAC encoder to stream the output of my audio player directly to icecast. No problems with the MP3 encoding and stream but AAC doesn't work. I'm using FAAC but trying other encoders the problem still the same. Here's…
mferre
  • 182
  • 1
  • 14
0
votes
1 answer

Robotic voice with Web Audio API when slowing down tempo

I use Web Audio API in my website. Lets say I have this code: var audioContext = new Audiocontext() var audio = new Audio() audio.src = "someaudiofile.wav" var mediaSourceNode =…
Alon Dayan
  • 101
  • 1
  • 6
0
votes
0 answers

Start Bass with UWP

I found an example of UWP visualizer in this link but after I choose the audio file from the FilePicker and the Bass should start it returns an error: Attempt to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B), when…
pasq
  • 3
  • 3
0
votes
1 answer

TAG_ID3 (from Bass 2.4.4) doesn't work properly

I'm trying to read ID3v1 tags from mp3 files using "BASS.dll"(via bass.lib and bass.h). It works fine until .mp3 file has title (or artist) has 30 characters. Instead Happy Times (Feat. Margaux Bos I get Happy Times (Feat. Margaux BosEmigrate…
Avtem
  • 55
  • 1
  • 10
0
votes
1 answer

Bass.net DOWNLOADPROC only record 5 seconds

I'm trying to record an audio streaming using bass.net but using the documentation example i'm only able to record 5 seconds. How can i record more time? Following is my code: class Program { private static FileStream _fs = null; private…
kozima
  • 45
  • 5
0
votes
1 answer

Stream loudness normalization using BASS.NET in c#

I need to normalize a playing audio stream using BASS. For this, I'm following these steps: Play the stream Create another stream from the file, and determine the peak value in a background worker Apply DSP_Gain with the appropriate gain value to…
Viktoras
  • 3
  • 2
0
votes
2 answers

The program doesn't callback after dialogbox() is called

This is a sample program I downloaded from un4seen.com, bass audio library sample. However, when I try to build it no window is shown although it successfully generates the executable file and runs. I tried to add few breakpoints and figured that…
Andrew Shi
  • 109
  • 7
0
votes
0 answers

netradio / How to get the name of the radio?

How to display in Label the name of the radio? procedure TForm1.Button1Click(Sender: TObject); var err: Integer; begin channel:= BASS_StreamCreateURL('http://stream.laut.fm/schlagerrallyefm', 0, BASS_STREAM_BLOCK or BASS_UNICODE,…
martynika
  • 1
  • 3
0
votes
1 answer

How add to BASS Audio Library to references in Visual Studio?

I have attempted to add BASS.dll to my references in my project and it keeps complaining on how it can't add it.
0
votes
1 answer

BASS WASAPI BPMCounter

I want to analyse my default playback device and detect the beats. I've been using the BASS WASAPI to get the FFT data of the selected device with: int ret = BassWasapi.BASS_WASAPI_GetData(_fft, (int)BASSData.BASS_DATA_FFT2048); Now I was using the…
Simon
  • 1,244
  • 8
  • 21
0
votes
1 answer

Inno Setup : Loop Audio File Using BASS Audio Library's All Functions and Flags

Hello I know how to add a continuous music loop during an Inno Setup Install using BASS Audio Library. BASS Audio Library On/Off Button. But in this post, (which made me decide to use BASS.dll to do a continuous music loop during my Inno Setup…
GTAVLover
  • 1,407
  • 3
  • 22
  • 41
0
votes
0 answers

lame mp3 encoder/decoder high battery usage in android

I develop mp3 recorder application and using bass and lame libraries to record a wav and convert it to a mp3 file. when I recording mp3 file android show a notification that say "This app using too much battery and close it". How to config lame…
MohsenTi
  • 361
  • 1
  • 2
  • 17