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

Can any one please tell me what is wrong with this?

I'm a beginner with Bass (working right now on an MFC project) and I'm trying to figure this out. I saw that I should start with the BASS_Init function, but I found two example, one with 4 parameters and one with 6. When I trying to use the…
Erez
  • 1,933
  • 5
  • 29
  • 56
0
votes
0 answers

Add BASS library in Code::Blocks on Linux

Can somebody help me with adding BASS library in Code::Blocks on Ubuntu? But step by step. I tried many things and I can't do this... I have "bass24-linux.zip" file and what now? Please help me as soon as possible! EDIT: I will tell you what Im…
giedoka
  • 9
  • 3
0
votes
1 answer

Trigger callback at specific times in Bass

I'm new to the Bass library but is it possible to pass in a list of times that trigger an event when the song has reached that time? For example, if I set a trigger at 30 seconds, when the song reaches 30 seconds, can I call an event?
XSL
  • 2,965
  • 7
  • 38
  • 61
0
votes
0 answers

Bass.Net causes more memory leakage for heavy .mp4 files

I am using Bass.Net in my application to read .mp4 data. If i use normal .mp4 file which is limited to 700MB, It works fine. But if it exceeds the limit like 1GB that is actually 2.30 hours of data. I am getting an exception and it does not allow me…
David Bekham
  • 2,175
  • 3
  • 27
  • 56
0
votes
1 answer

BASS library : no sound

I want to make a simple MP3 player using BASS library. I have this code : BASS_Init(-1, 44100, 0, 0, NULL); qDebug() << BASS_ErrorGetCode(); HSTREAM stream = BASS_StreamCreateFile(FALSE,"C:/1.mp3", 0, 0, 0); qDebug() << stream; qDebug() <<…
gcdu97
  • 25
  • 8
0
votes
1 answer

Drawing audio spectrum with Bass library

How can I draw an spectrum for an given audio file with Bass library? I mean the chart similar to what Audacity generates: I know that I can get the FFT data for given time t (when I play the audio) with: float fft[1024]; BASS_ChannelGetData(chan,…
PolGraphic
  • 3,233
  • 11
  • 51
  • 108
0
votes
1 answer

Combo Box Selected Index Property .NET C#

I'm toying around with BASS .NET and I'm having trouble figuring out how to get the Combo box in my project to return an integer when the SelectedIndexChanged event occurs. perhaps I'm missing something and it is, or some part of my code is…
0
votes
2 answers

MIDI tick to millisecond?

I realize that there are many questions here concerning converting MIDI ticks to milliseconds (ex: How to convert midi timeline into the actual timeline that should be played, Midi Ticks to Actual PlayBack Seconds !!! ( Midi Music), Midi timestamp…
spring
  • 18,009
  • 15
  • 80
  • 160
0
votes
1 answer

BASS_ChannelGetLevel return 0

i'm working on a project and i need to get the level of an audio track, for that I'm using the method BASS_ChannelGetLevel from BASS audio library (C++). But the problem is that it always return a 0 for me and I don't understand why! The…
Aboullaite
  • 394
  • 1
  • 3
  • 17
0
votes
1 answer

How do i get tags in a standard format using bass?

With Bass. I see i can get mp3 tags, ogg, mp4, wma, etc. Is there a standard way to get the artist, album, etc if available no matter what kind of format the stream is in?
user34537
0
votes
1 answer

An object reference is required for the non-static field, method, or property using global variable

Hello Iam working in a global int in which a variable will be used later. I've made the global variable like this: class Foo { public static int stream = Bass.BASS_StreamCreateFile(path1.Text, 0, 0, BASSFlag.BASS_DEFAULT); …
Joscplan
  • 1,024
  • 2
  • 15
  • 35
0
votes
2 answers

Access combo box value

i don't know how to get value from combo box. I select one of firm on combo box SELECT [Worker].[Firm] FROM [Worker] WHERE [Worker].[Firm] = X ORDER BY [Firm]; what i need to type for X? combo.Text don't work
nitz
  • 53
  • 1
  • 5
0
votes
2 answers

BASS 2.4.4 Error When Making

I'm trying to make the BASS 2.4.4 library for my Linux Ubuntu Hardy Heron, but when I run make I'm getting many errors, see: [ubuntu@eeepc:~/Desktop/bass24-linux] make make -C 3dtest make[1]: Entering directory…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
0
votes
1 answer

How to mute / unmute BASS?

How can i mute and unmute BASS playback (platform independend)? Until now i save the current volume before muting, set volume to 0 and set it back if unmute. Example: part of my C++ class volume_t lastVolume; // 0.0f = silent, 1.0f = max (volume_t =…
ollo
  • 24,797
  • 14
  • 106
  • 155
0
votes
1 answer

How to process audio data from sound card output using Bass.NET

I want to capture and process data using Bass.NET using the BASS_ChannelGetData method. The examples I've seen that use this play audio files through the Bass.NET library and then sample that, however I wish to sample the data my soundcard outputs,…
Duncan Watts
  • 1,331
  • 9
  • 26