Author Topic: Does balance do anything?  (Read 2273 times)

kchabot

  • Guest
Does balance do anything?
« on: 17 Jun '03 - 21:25 »
Hi, me again :)

I use bass_channelsetatributes to set vol, pitch,... on a playing stream and it works except for the balance...

I understand that int -100 = left and 100 = right?

Well it does not change anything here :s it keeps playing in the middle. (The stream is stereo btw).
Pitch and volume work fine...

Ian @ un4seen

  • Administrator
  • Posts: 20401
Re: Does balance do anything?
« Reply #1 on: 18 Jun '03 - 14:08 »
Are you using SPEAKER flags on the channel? If so, it's not possible to set the pan/balance position via the standard BASS_ChannelSetAttributes then. Instead, you could use a simple DSP function to do it - ie. scale the left/right samples as required.

kchabot

  • Guest
Re: Does balance do anything?
« Reply #2 on: 18 Jun '03 - 14:44 »
Ok, thx...
I didn't read that in the reference...