Questions tagged [bass.dll]
35 questions
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
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,…

Abdella Solomon
- 76
- 1
- 7
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…

Muhammd Zaki
- 1
- 3
0
votes
0 answers
Bass.net : ERROR_FILE_OPEN when trying to create a stream
I'm trying to use the bass.net library, but each time I try to create a stream from an audio file (mp3 and wav) I get a BASS_ERROR_FILE_OPEN error.
Actually, even the sample provided with bass.net lead to the same result.
Here is the code, which I…

Champy
- 11
- 4
0
votes
1 answer
TAG_ID3 (from Bass 2.4.4) doesn't work properly
I'm trying to read ID3v1 tags from mp3 files using "BASS.dll"(via bass.lib and bass.h). It works fine until .mp3 file has title (or artist) has 30 characters. Instead
Happy Times (Feat. Margaux Bos
I get Happy Times (Feat. Margaux BosEmigrate…

Avtem
- 55
- 1
- 10
0
votes
1 answer
How add to BASS Audio Library to references in Visual Studio?
I have attempted to add BASS.dll to my references in my project and it keeps complaining on how it can't add it.

MeanGreenCoder
- 1
- 2
0
votes
1 answer
Thread-Safe Call from async operation in BackgroundWorker
I have a some code in BackgroundWorker which helps me to prevent freezing of interface while Bass connecting to audiostream:
Private Sub WorkerConnectToStream_DoWork(sender As Object, e As System.ComponentModel.DoWorkEventArgs) Handles…

Stass48
- 3
- 1
0
votes
1 answer
How to pull a URL from stations.xml, to play in the ListBox
How to pull a URL from stations.xml, to play in the ListBox (MouseDoubleClick)?
my code
XAML

Traid
- 3
- 1
0
votes
3 answers
How can I change volume in bass.dll?
How can I change volume in bass.dll? I am programming in C#. I tried:
public void ChangeVolume(int volume)
{
Bass.BASS_ChannelSetAttributes(stream, 44100, volume, 0);
}
volume is here:
private void trackBar1_Scroll(object…

New One
- 13
- 1
- 6
0
votes
1 answer
How can I check if BASS is playing stream?
How can I check if BASS is playing stream in C#? I mean, I need something like:
public WMPLib.WindowsMediaPlayer wp = new WMPLib.WindowsMediaPlayer();
if(wp.enabled)
{
//do something
}
else
…

New One
- 13
- 1
- 6
0
votes
1 answer
C# Bass.dll read Radio-Stream Title + Artist?
I currently woking on a Project, which can play radio-streams. These streams will be played with the axWindowsMediaPlayer Control. But how can I read the stream title + artist?
Greetings from germany, Max

Max Schmidt
- 1
- 2
0
votes
1 answer
Plotting an audio spectrum
I'm trying to implement an app that plot the spectrum of an audio using bass audio (http://www.un4seen.com/). My understanding is that I will have to:
Get the FFT data from the stream
float[] buffer = new float[256];
…

Dillion Ecmark
- 704
- 3
- 10
- 23
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
0
votes
1 answer
Playback of 'recorded' sounds
I'm building a fairly simple sampler in C#. I've got the basic sound structure down (sounds pitched, stopping sounds mid play, etc). But my problem arises when I try to record and play the sounds the user inputs.
When recording, I save the sound…

Amit Oren
- 13
- 2
0
votes
1 answer
Using Bass.Net to stream audio from RTSP on C#
I have a video server streaming MPEG-4(video/audio)
I need to get the audio from the MPEG-4...is it possible to get only the audio???
I would like to have some tutorials, samples, examples or something useful to start
programming my application.
I…

Francisco Gutiérrez
- 149
- 2
- 5
- 9