Questions tagged [bass.dll]

33 questions
6
votes
3 answers

Delphi: load BASS DLL and play MP3

I want to load a bass dll manually from somewhere and then play a mp3 file. How to do that? Delphi XE2. My attempt doesn't work: type QWORD = Int64; HSTREAM = LongWord; type TBASS_ChannelPlay = function(handle: HSTREAM; restart: LongBool):…
maxfax
  • 4,121
  • 10
  • 66
  • 117
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 to realize a multi channel audio pre-mixer in .net

I'd like to use C# to implement an application that can play multiple audio streams at the same time. Peanuts - now the interesting part: assuming every stream is single channel (mono) I want to adjust the volume for every speaker (5.1 or even 7.1)…
Marc Wittke
  • 2,569
  • 2
  • 23
  • 40
4
votes
1 answer

How to fix the application crash at startup when using 64-bit bass.dll in 64-bit Delphi project?

I can't run my 64-bit Delphi application with the 64-bit version of bass.dll. I'm using Delphi XE3 to build my application. Application crashed to start with 0xc000007b. Debugger Messages: Thread Start: Thread ID: 7692. Process Project1.exe…
user2033775
  • 153
  • 8
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

InnoSetup ExtractTemporaryFile causes heavy delay?

So I have an InnoSetup script that extracts an audio file to be played. Works great for smallish setups around 60MB However for larger setups, say 200+MB the extraction takes ages and the wizard doesnt show up but hangs invisible. Playing with Bass…
pHiL
  • 1,294
  • 15
  • 18
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
2
votes
1 answer

How to play a spotify music stream

First of all, i am new to audio-programming, so bear with me. I am trying to play spotify music with NAudio or BASS.Net or any other .net audio-library. As far as i known, libspotify delivers music as raw PCM data. what is the sample rate of spotify…
Søren Randrup
  • 308
  • 2
  • 18
1
vote
1 answer

Supported music files by BASS audio library

Is there any way to know if a file extension is supported by Bass audio library (such as WAV/AIFF/MP3/MP2/MP1/OGG )? I would like to write a function like : Public void Play(string File) { if(IsSupportedFile(file) { // Add the…
Dillion Ecmark
  • 634
  • 1
  • 10
  • 22
1
vote
0 answers

Bass.dll just Spectrum data C#

I am trying to create a game based on beat and spectrum detection. I am currently stuck on that my function returns not quite what i want, beacose the array is not fully assigned. The last element which is filled is wrong and i don't know why. The…
J1and1
  • 920
  • 3
  • 12
  • 25
1
vote
0 answers

problem in play multi sound in inno setup

Im use bass lib to play 2 sound in my installer background sound (play in all installer page except license page) a sound only play when user enter license page (background sound pause and new sound play) im use some help to get license sound to…
sanab3343
  • 171
  • 10
1
vote
1 answer

How to stream music to an Icecast server using C#?

I'm trying to find a way to send music to an IceCast server and retrieve the URL related to it. I downloaded BASS.NET API, but I don't understand ANYTHING ! Did someone already used it, or have a not so complicated alternative for me ??? I need to…
Julie
  • 43
  • 1
  • 5
1
vote
0 answers

Inno Setup Bass.dll Error

I use one code for my installation and it work with other setup i have made but now one of my setup give me a runtime error: Acces violation at adresse 000000 .... Whrite of adresse 000000 If i remove the bass.dll part of the code the setup work,…
1
vote
2 answers

Trouble with loading .so library

I have an android project (Inellij IDEA). I've download BASS library from official site and copied content from lib folder to my project folder libs/. But when I try to load it with System.loadLibrary("bass");, it throws an…
Vlad Markushin
  • 313
  • 1
  • 4
  • 22
1
vote
1 answer

Bass.dll Playing PushStream more than once

I'm using a pushStream, which is filled with audiodata. After all data is pushed to the stream I'm using Bass.BASS_ChannelPlay(playPushStream, false) to play it, which works fine but only once. What do I have to do that I can play it multiple times…
Tejan
1
2 3