Author Topic: Bass Channgel Get Data  (Read 327 times)


  • Posts: 24
Bass Channgel Get Data
« on: 10 Jul '18 - 16:58 »

I am using channel get data to render a waveform.

I wish to use a length smaller than BASS_DATA_FFT256, I tried "128 | BASS_DATA_FLOAT" with buffer size 32 (and tried 64) but i received strange values.

How do I fix that ? I want specific FFT size that is constant too.


Ian @ un4seen

  • Administrator
  • Posts: 21539
Re: Bass Channgel Get Data
« Reply #1 on: 10 Jul '18 - 18:06 »
Unfortunately, BASS does not support smaller than 256 sample FFT. The BASS_DATA_FLOAT flag will give you floating-point PCM sample data, not FFT data.

What are you trying to accomplish with the smaller FFT? Perhaps there is another solution.


  • Posts: 24
Re: Bass Channgel Get Data
« Reply #2 on: 10 Jul '18 - 20:09 »
While replying to you I found the answer.

I was getting the data and picking only the max from the BASS_DATA_FFT256 data.
I wanted more precision but forgot that I am picking only the max from all the data:p

So I will have to split it manually, my bad