BASS_ChannelGetData : what return

Started by fredvs,

fredvs

Hello, sorry for the questions, what is the return of getdata, where is the volume, the frequ, i dont find explanations in your text... ??? ??? :'(

Azoth

The routine you are looking for is the BASS_ChannelGetAttributes() routine. The BASS_ChannelGetData() routine retreives the raw playback data for doing things like visualizations and such.

.Azoth.

fredvs

Yes , it is that i want,what are this datas, how can i find the volume at position, without playing...
BASS_ChannelGetData is not explained, what represents this datas. I want to vizualisate the song while playing...

Ian @ un4seen

16-bit sample data is signed, so the values range from -32768 (min) to 32767 (max). If you're wanting to draw an oscilloscope, here's a simple example:

http://un4seen.com/YaBB.cgi?board=bass&action=display&num=1038911151#1