Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
Bugs / Regression inside latest version of BASS_FX (
« Last post by nadia on April 17, 2009, 06:52:47 PM »
Hello  ;D

I've found a regression inside latest version of BASS_FX (
It seems that the BASS_ChannelGetPosition and BASS_ChannelSetPosition functions are no more accurate as they where in previous versions when dealing with a stream resampled through the BASS_FX_TempoCreate function.

In order to demonstrate the issue I've made a modification to the Tempo.exe project included with the BASS_FX package (uploaded into; inside this sample I've added a routine which displays (under the trackbar position) the position in bytes during playback respect to the overall stream size in bytes; I've also removed the BASS_SAMPLE_LOOP flag from the BASS_FX_TempoCreate function call in order to better display the problem.

As you will see, after loading the provided "short.wav" file (included inside the zip), playback will start and, when playback ends, the displayed position in bytes, returned by BASS_ChannelGetPosition is not the same value of the overall length in bytes returned by BASS_ChannelGetLength.

The BASS_ChannelSetPosition is not demonstrated in this sample but it seems to be affected also by a wrong positioning when called over the same stream resampled by BASS_FX_TempoCreate.

Any idea about the reason of this behavior?

Kind regards  ;D

BASS_FX / Latency of pitch changer
« Last post by viktor on March 06, 2009, 03:09:57 AM »
Hello Armin,

using BASSMIX i play several audio files. It is a complete arrangement with separate tracks for drums, bass, guitars, ...
To change the key of the song i use BASS_FX_TempoCreate on the mixer channel. The audio quality of the guitars and bass changes a little, but the drums start to sound bad.
So i thought, i'll do the key change not on the mixer channel, but on each stream except for the drums, before mixing.
This way it actually sounds much better, but now i have another problem: the drums are not in synch anymore. The key changer has a latency, so the drums come too early.
I plan to delay the drums track and my question is how much do i need to delay?
Is this delay (latency) a constant?
Does the latency change with the amount of pitch change?
How can i get the exact amount?
Does the latency differ from computer to computer?

BASS_FX / Re: BPM return nothing ?
« Last post by (: JOBnik! :) on March 01, 2009, 11:44:00 AM »
Hi ;D

This issue is still open as it needs a fix in SoundTouch BPM algorithm.
BASS_FX / Re: Problem with BASS_FX and tempo resampling
« Last post by (: JOBnik! :) on March 01, 2009, 11:42:48 AM »
Hi ;D

This issue has been fixed.
Please have a look at this thread in BASS forum:
BASS_FX / Problem with BASS_FX and tempo resampling
« Last post by nadia on February 24, 2009, 11:16:59 AM »
Hi   ;D
I've found a strange problem when playing the wav file below using a stream resampled by BASS_FX in order to manage tempo change: the problem can be easily reproduced using the "tempo.exe" sample included inside the BASS_FX zip file.;topic=9501.0;attach=632

This WAV file contains a sequence of 4 drum beats: if you play it with Bass or WMP or Winamp you will clearly hear that all of the 4 beats have the same energy: if you play the same file using the "tempo.exe" sample of BASS_FX you will hear that the 3rd beat has less energy and, by the way, it seems that the first 2 beats have an energy higher than the original: can this glitch be corrected in some way? It's quite an urgent matter  :'(

Kind Regards  ;D

BASS_FX / Re: VB 2008 BPM Question
« Last post by (: JOBnik! :) on January 18, 2009, 02:46:21 PM »
Hi ;D

Get BPM from decoded stream:
Code: [Select]
Dim bpmHandle As Long, bpmDecode As Single

' create decode stream
bpmHandle = BASS_StreamCreateFile(BASSFALSE, StrPtr(filename), 0, 0, BASS_STREAM_DECODE)

' get bpm value from position 0 to position 30 (in seconds)
bpmDecode = BASS_FX_BPM_DecodeGet(bpmHandle, 0, 30, 0, BASS_FX_BPM_BKGRND Or BASS_FX_FREESOURCE, 0)

' free decode bpm and stream handles
Call BASS_FX_BPM_Free(bpmHandle)

Get BPM in real-time after chosen period of seconds:
Code: [Select]
' set bpm callback to trigger after 10 seconds
Call BASS_FX_BPM_CallbackSet(chan, AddressOf GetBPM_Callback, 10, 0, 0, 0)

' remove bpm callback from stream handle
Call BASS_FX_BPM_Free(chan)

' callback function to get the bpm after period of time
Public Sub GetBPM_Callback(ByVal handle As Long, ByVal bpm As Single, ByVal user As Long)
   textbox.text = bpm
End Sub
BASS_FX / Re: VB 2008 BPM Question
« Last post by Bckspc on January 15, 2009, 01:45:44 AM »
Hi JOBnik,  :D

I am having a bit of trouble understanding how to use this, the samples I have tried are for VB06 and don't convert correctly (and I don't know enough to fix them :(). I have posted a question on Un4seen Developments Forum > Developments > BASS > Topic: Help with VB 2008. but am still having trouble. Could you please point me in the right direction, if you could?
All I want is to get the bpm of a mp3 or mpeg and display the results in a text box. It all sound so simple, but I am struggling with this.

Bckspc :)
BASS_FX / Re: VB 2008 BPM Question
« Last post by Bckspc on January 14, 2009, 11:34:07 PM »
Thanks for the reply :)
I am only new to VB so still working my way through it.
Backspc :)
BASS_FX / Re: VB 2008 BPM Question
« Last post by (: JOBnik! :) on January 14, 2009, 11:26:39 AM »
Hi ;D

Of course you can use it in VB2008 or any other programming language as well, even in OSX and Linux :)
To use it with .Net, please take a look on BASS page for BASS.NET API:
BASS_FX / VB 2008 BPM Question
« Last post by Bckspc on January 14, 2009, 03:58:29 AM »
Hi :)

Is it possible to use this with VB2008?
Sorry if it is a simple question  am only young and just learning VB :)

Bckspc :)
Pages: 1 ... 3 4 [5] 6 7 ... 10