Questions tagged [bass.dll]

35 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,281
  • 12
  • 74
  • 120
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…
Ben
  • 3,380
  • 2
  • 44
  • 98
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,991
  • 2
  • 30
  • 45
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
  • 9
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,933
  • 5
  • 29
  • 56
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,722
  • 18
  • 19
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
  • 350
  • 5
  • 16
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
  • 318
  • 2
  • 19
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
  • 704
  • 3
  • 10
  • 23
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

systemd ignores LD_PRELOAD variable and service can't start

i have a problem with preloading a library. But first I'll explain what I intend to do. I've developed a Blazor web application using the Un4Seen Bass Audio libraries. The application is hosted on the Kestrel Web Server and I wanted to deploy the…
Marcus
  • 654
  • 1
  • 8
  • 19
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
  • 154
  • 1
  • 11
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
  • 443
  • 1
  • 6
  • 24
1
2 3