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
1
vote
0 answers

Create, read and manage audio playlist in c#

I am new to C# and currently I am trying to make an audio player using BASS library. Right now I am creating the playlist using INI files like below: [songs] 1=c:\lamfao.mp3 2=c:\test.mp3 [total_songs] total=2 Everything is fine, but loading this…
Jim Carl
  • 41
  • 5
1
vote
1 answer

How do i seek with bass?

I am using Bass. How do i seek to the middle of the song or to any given point?
user34537
1
vote
1 answer

How to play MIDI with bassmidi? (ios)

I'm trying to play midi but it's not working, I can play an mp3 but when I change the code to midi and build - there is no sound. (with "bassmidi" plugin). my code: NSString *fileName = @"1"; NSString *fileType = @"mid"; // mid BASS_Init(-1,…
user3080117
  • 45
  • 1
  • 6
1
vote
2 answers

Key down infinite loop

iam making an application which plays a sound when a key is down, the sound stops immediately when the key is released. The problem I found is that if you press a key it plays the first miliseconds of it and then infinite loop it until you release…
Joscplan
  • 1,024
  • 2
  • 15
  • 35
1
vote
1 answer

How to use offset parameter of StreamCreateFile in BASS library?

I am trying to use the BASS library to do some audio editing, so if anyone is familiar with the library can hopefully help me. The function I'm using is Bass.BASS_StreamCreateFile(filename, offset, length, flags); For a little background, I'm…
Tevis
  • 729
  • 1
  • 12
  • 27
1
vote
1 answer

How do I extract 'features' from the FFT data

I have an audio visualiser which currently represents 3RGB LEDs through an Arduino. I send a value for each channel of light and this currently works well. I change the intensity of each channel based on how bassy the audio is and I cycle from 1 to…
Jamie
  • 674
  • 1
  • 10
  • 30
1
vote
1 answer

using bass library to decode mp3 file

How can i convert Mp3 file to custom sample data using bass library in C# ? custom means i want result in a certain properties for example mono and 5000hz! i try this code before but it does not works! public float[] ReadMonoFromFile(string…
user2326338
  • 35
  • 1
  • 6
1
vote
1 answer

Cross-platform open-source C or C++ library for playing tracker music

I need a cross-platform (supporting at least Windows and Linux) library for playing tracker music (formats like *.mod and *.xm) from within a C++ program. It sounds weird, but a google search really didn't bring any good results! Only thing I could…
user500944
1
vote
1 answer

How can I install BASS audio libraries on VS 2010?

I'm working on a project using OpenCV and Visual Studio 2010. I'm having problems installing BASS audio libraries on VS 2010. I downloaded these win32 libraries I added the bass.lib file to the linker input, and I also added the path to the .lib…
Angel
  • 13
  • 1
  • 4
1
vote
3 answers

How to use kAULowShelfParam_CutoffFrequency parameter of kAudioUnitSubType_LowShelfFilter which controls bass in Core Audio?

You must had gone through this before coming to my this question.How to use kAudioUnitSubType_LowShelfFilter of kAudioUnitType_Effect which controls bass in core Audio? Slowly & Steadily getting the things right for bass control of music. But yet…
Nikhil Bansal
  • 1,545
  • 13
  • 29
1
vote
2 answers

How to generate a real bass guitar sound either in C/C++ or Java?

I been doing an extensive research in the internet because I need a way to generate real bass sound (like an electric bass guitar) from a program. The thing is Ive been looking in MIDI ways to produce that sound, but Im not sure if thats the right…
0
votes
1 answer

iPhone : adjust sound equalizer settings - Does Apple authorize it?

Quick question: Does Apple authorize an application to adjust the sound equalizer settings, i.e. modify the bass, middle and treeble levels as we want? I see that only predefined equalizer settings are provided thought the iPhone settings.
Sly
  • 2,105
  • 5
  • 22
  • 28
0
votes
1 answer

BASS_MIDI_StreamEvent in zero position

I'm use BASS_MIDI in iPhone development. I create midiStream from file like this midiStream = BASS_MIDI_StreamCreateFile(false, filePath, 0, 0, 0, 44100); Then i play/position/pause it, changing volume and tempo. I change tempo(for playback speed…
Padavan
  • 1,056
  • 1
  • 11
  • 32
0
votes
0 answers

bass.dll change volume and balance in decoding channel

I use the ManagedBass library to modify a stream or create the stream if it is a local file. I route the output through the Discord api gateway to a bot so I have to set the channel to decode and everything works fine so far, I can set FX effects…
Zongo
  • 11
  • 1
0
votes
0 answers

Bass Library Error: Device(Illegal Device Number)

I have this method that records audio in C#: public Task StartNewRecording() { _name = DateTime.Now.ToString("yyyy-MM-dd-HH-mm-ss"); _name += " - " + Guid.NewGuid().ToString()[..4]; _name += ".wav"; var path = Path.Combine(_mainPath,…