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:

106 questions
10
votes
0 answers

Create http audio stream with VLC in C#, from a WAV audio being recorded

I am using NAudio library to record systems mic input - continuously. private void RecordStart() { try { _sourceStream = new WaveIn { DeviceNumber = _recordingInstance.InputDeviceIndex, WaveFormat…
8
votes
1 answer

How to use kAudioUnitSubType_LowShelfFilter of kAudioUnitType_Effect which controls bass in core Audio?

i'm back with one more question related to BASS. I already had posted this question How Can we control bass of music in iPhone, but not get as much attention of your people as it should get. But now I have done some more search and had read the Core…
Nikhil Bansal
  • 1,545
  • 13
  • 29
7
votes
1 answer

How to apply Bass effect programmatically in android

I am trying to apply the Bass Effects programmatically by using the following code: BassBoost bassBoost = new BassBoost(0, audioSessionId); bassBoost.setEnabled(true); BassBoost.Settings bassBoostSettingTemp = …
Parveen
  • 241
  • 6
  • 17
6
votes
1 answer

How can we control bass of music in iPhone sdk?

I want to control the bass of song played by user from iPod music library. I've searched on Google and got some AudioMixer samples which were of no help, but now I have got bass library i.e. libbass.a from http://www.un4seen.com/ which I think is…
Nikhil Bansal
  • 1,545
  • 13
  • 29
5
votes
1 answer

[MonoTouch][Bass.dll] Application crash "Attempting to JIT compile method .. while running with --aot-only"

I faced a problem, that I can't solved for 3 days and you're my last hope. My goal is to record sound with Bass.dll (there's special version of library for iPhone and version of .net wrapper for it; can be found here: un4seen.com) On simulator…
Konstantin Loginov
  • 14,994
  • 5
  • 54
  • 90
4
votes
2 answers

Simple Babymonitor with Bass.DLL

I am trying to program a simple Babymonitor for Windows (personal use). The babymonitor should just detect the dB level of the microphone and triggers at a certain volume. After some research, I found the Bass.dll library and came across it's…
Benjamin Weiss
  • 3,206
  • 2
  • 37
  • 87
4
votes
1 answer

How do i set a callback for end of song/file with bass?

I am using Bass. I would like to set a callback so when the song reaches to end i can play another song directly after.
user34537
3
votes
2 answers

BASS "Play" a stream

Hello friends developers, I have a question, I am doing a shooting game, but I'm not sure how to implement when an explosion happens, because the explosion is always the same sound over and can occur in a short time, ie, the sound is not even ending…
Yargon
  • 101
  • 1
  • 2
  • 4
3
votes
0 answers

Bass library on android : how to save audio to file?

I'm developing an app using bass audio library. about voice change function, I can play audio succeessfully like this, however , I cannot save it to custom file: BASS.BASS_MusicFree(chan); BASS.BASS_StreamFree(chan); if…
Kevin Yuan
  • 31
  • 1
3
votes
1 answer

bass lib not linking, all other work perfect

I'm having a wierd problem. i'm developping a nice game with openGL on MFC. i need to use threads for multi sound. so i am trying to use the BASS lib for that. For a reason that is beyond my comprihention, i can not get the bass.lib to link. all…
Erez
  • 1,863
  • 4
  • 26
  • 52
3
votes
1 answer

C++ BASS Library - simple mp3 sample playing

I have checked the BASS reference for a solution, but it was not to be found by me. My audio just does not want to play and yes, I checked if my speakers are working. Here is the "code": #include "stdafx.h" #include…
Bizarre
  • 51
  • 1
  • 5
3
votes
1 answer

Getting mp3 file length

I am currently trying to write an Audio Player in C#. I am using BASS library to deal with playing music but now i have small problem with getting length of the song. Well i have read BASS doc and found a way: "All" i need to do is int stream =…
user2184057
  • 770
  • 7
  • 23
3
votes
0 answers

get bass from audio using java script

how to get bass from audio using java script? is it possible using javascript or jQuery? I want to get it and put it in a variable like this: is there any scirpt code to get the bass and…
mk rowling
  • 205
  • 1
  • 11
3
votes
0 answers

Bass-less iOS audio input - fixed by launching JamUp app *first*. Why?

A user of my live-looping iOS app reported something bewildering to me recently: He's just replaced his 4th-gen iPod Touch with the new iPod Touch, and suddenly, his bass response when using my app (and most others) with a number of different…
Michael Tyson
  • 1,450
  • 1
  • 14
  • 23
2
votes
1 answer

Delphi: BASS.dll - how to copy part of MP3 stream to another file

Im using BASS.dll library and all I want to do is to "redirect" part of MP3 Im playing using for example BASS_StreamCreateFile to another file (may be MP3 or WAVe). I dont know how to start? Im trying to use help to find an answer, but still…
Jakub Krol
  • 254
  • 4
  • 15
1
2 3 4 5 6 7 8