HMUSIC channel level

Started by the_que,

the_que

How can i get correct level of HMUSIC channel

or how can i convert BASS_ChannelGetData result buffer
to get right level's values

Ian @ un4seen

The simplest way is to use BASS_ChannelGetLevel. See the docs for details.

the_que

BASS_ChannelGetLevel returns only left and right levels,
but i need level values for a separate channel.

For example: mod with 10 channels <-- need something like
DWORD BASS_MODChannelGetLevel(MUS, 5) <- level of channel 5

Irrational86

Well if you look at the docs, there is BASS_MusicGetChannelVol which does exactly what you want...

the_que

Nope, you're wrong :(
BASS_MusicChannelGetVol returns channel volume
but not level....
Channel volume = 100 by default for all channels and
it's not changing dynamycally.

Ian @ un4seen

Oh, I see. Unfortunately, you can't get the levels of the individual channels in a module.