Author Topic: HMUSIC channel level  (Read 4917 times)

the_que

  • Posts: 3
HMUSIC channel level
« on: 19 Aug '03 - 10:37 »
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

  • Administrator
  • Posts: 20401
Re: HMUSIC channel level
« Reply #1 on: 19 Aug '03 - 15:23 »
The simplest way is to use BASS_ChannelGetLevel. See the docs for details.

the_que

  • Posts: 3
Re: HMUSIC channel level
« Reply #2 on: 20 Aug '03 - 09:18 »
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

  • Posts: 960
Re: HMUSIC channel level
« Reply #3 on: 20 Aug '03 - 09:20 »
Well if you look at the docs, there is BASS_MusicGetChannelVol which does exactly what you want...

the_que

  • Posts: 3
Re: HMUSIC channel level
« Reply #4 on: 20 Aug '03 - 10:16 »
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

  • Administrator
  • Posts: 20401
Re: HMUSIC channel level
« Reply #5 on: 21 Aug '03 - 15:09 »
Oh, I see. Unfortunately, you can't get the levels of the individual channels in a module.