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

C# ManagedBass Frequency Changes Playback Speed

I am currently writing a small C# .Net Forms program that is based on the XMPlayer and also uses its functions. For this I use the library ManagedBass and ManagedBass.Fx. Everything works fine so far, but I noticed that most of my songs are pitched…
Zongo
  • 11
  • 1
0
votes
1 answer

How do you play a list of files with bass.dll (libbass.dylib) in a Delphi FMX application?

I have a list of sound files stored in rows of a StringGrid that I want to play in sequence. That is, when one ends, the next line of the grid is read and that file played. Bass has a BASS_SYNC_END event that allows for a callback procedure that I…
Dgbaxter
  • 51
  • 1
  • 6
0
votes
1 answer

Installing the BASS audio library into a Swift Xcode Project (Mac & iOS)

There is a BASS audio library (written in C) from un4seen.com that, in my experience, has much better performance and efficiency than AVAudioEngine. However, I have experienced great difficulty in installing it into my Swift Xcode project. How do…
KeithB
  • 417
  • 2
  • 12
0
votes
0 answers

Problems using ReadDirectoryChanges in Rad Studio

I am trying to load a file into a stream in BASS via ReadDirectoryChanges. When I use a testfunction using FileOpenDialog I get a working result, but when I use RDC it craps out on me all the time. I must be doing something wrong, but for the life…
0
votes
0 answers

I am using Un4seen Bass Lib to change voice pitch my audio file, Found problem while saving file

I am using Bass to change pitch of any sound selected from my audio files. First, I need to play the whole sound, then it allows me to save. The problem is that I am not able to get the saved file with changed pitch at once. public void…
0
votes
0 answers

Integrating un4seen BASS with Flutter using FFI and getting symbol error

I'm trying to integrate the BASS audio library from un4seen Developments with Flutter, Google's cross-platform app development environment. I've started a Flutter plugin that can be found here: https://github.com/JimTompkins/flutter_bass. It uses…
0
votes
1 answer

GCC - Linking bass.lib on Ubuntu

I wrote an application on Windows using CPP and BASS, and now I have to get it running on Linux (UBUNTU). I am using gcc version 4.5.2. I have bass.lib in my directory from which I try to compile prog.cpp using the following command arguments: gcc…
slotishtype
  • 2,715
  • 7
  • 32
  • 47
0
votes
1 answer

Managedbass MP3 Play

I managed to play different .wav sources play on different output via Managedbass but I can only play them in wav format. Solo mp3 play is working(when I just send the .mp3 to soundcard) but when I try to point them to different outs, no…
zittir
  • 11
  • 2
0
votes
0 answers

High pass and low pass filter using python

I am trying to make a realtime High pass and a low pass filter using Python. What I mean is whenever I play any audio on my computer, I want the low-pass filter to filter the audio in realtime and pass that audio on the left channel (my subwoofer)…
0
votes
1 answer

AudioKit and Bass MIDI player

We are considering using the AudioKit framework along with the BASSMIDI sampler provided by http://www.un4seen.com/ in our iOS app. Here is what we aim to implement : Play a MIDI File using the AudioKit sequencer Send the MIDI events (read by the…
Matth
  • 51
  • 4
0
votes
1 answer

Spotify play from C# using BASS

I'm working on an audio player based on Raspberry+C#+BASS.NET I'm already able to play from file system, Rhapsody and Tidal Is there a way to play or to act as a "target device" in spotify? I would like to get the stream, and play using my…
0
votes
1 answer

MonoGame Window.Handle doesn't return Window or Form

I have been trying for a while to get this fixed but I haven't seen any solutions online on this topic yet. The problem is when using MonoGame with the Platform DesktopGL, the Window.Handle seems invalid. As attempting to get a Window/Form from this…
0
votes
0 answers

Bass lib use to decode mono mp3

I use the bass lib (Un4seen) to decode audio. Everything works well, but now I have a mp3 with mono channel and the final output bas create is player double time speed. May something have to be wrong. I use currently: bool CDecoder::Init(size_t…
pixbye
  • 157
  • 8
0
votes
0 answers

youtube-dl downloading unplayable audio files

I am trying to write a small youtube client for the blind. I am using 3 packages, fast-youtube-search, sound-lib which uses bass dll, and os to pass on comments to youtube-dl. I for an example enter the following os.system("youtube-dl.exe -x…
simter
  • 1
0
votes
0 answers

BASS_StreamCreateFile function returns 0 in C++

I'm trying to play audio file in C++ using Bass library, but i got 0, when call BASS_StreamCreateFile and BASS_ChannelPlay functions. Here is the code: HSTREAM chan; char file[MAX_PATH] = "C:\\Example\\example.mp3"; BASS_Init(-1, 44100,…
Nikuro
  • 5
  • 2