Hi programmers,
I'm on the way to build a TextToSpeech-plugin. For that reason I would like to decrease the playback volume temporarily to speak out "now plaing" information.
I'm just in exploring the volume handling inside MediaPortal. What I have found out, is that using the keyboard "+" or "-" keys, the Windows XP "Wave" volume is influenced.
I've tested several ways to change playback volume internally. It works wonderful in video playback, I use
MediaPortal.Player.g_Player.Volume = xxx
to set the desired volume between 0-100. That works perfect.
The problem seems to be the playback of music with the bass engine. If I readout the volume after start up:
MediaPortal.Player.BassAudioEngine.Volume
I got as result "85". If I set the BASS-Volume to 85 nothing changes. But if I set an other volume then the output volume decreases very strong - BUT - I can control this very much lower volume correct. Hmm, difficult to explain. If I set it to "85" the volume gets much louder again. Values != 85 result in much lower but regulated volume.
Has anyone an idea, how to set the internal volume of BASS-Player correctly?
Chris
I'm on the way to build a TextToSpeech-plugin. For that reason I would like to decrease the playback volume temporarily to speak out "now plaing" information.
I'm just in exploring the volume handling inside MediaPortal. What I have found out, is that using the keyboard "+" or "-" keys, the Windows XP "Wave" volume is influenced.
I've tested several ways to change playback volume internally. It works wonderful in video playback, I use
MediaPortal.Player.g_Player.Volume = xxx
to set the desired volume between 0-100. That works perfect.
The problem seems to be the playback of music with the bass engine. If I readout the volume after start up:
MediaPortal.Player.BassAudioEngine.Volume
I got as result "85". If I set the BASS-Volume to 85 nothing changes. But if I set an other volume then the output volume decreases very strong - BUT - I can control this very much lower volume correct. Hmm, difficult to explain. If I set it to "85" the volume gets much louder again. Values != 85 result in much lower but regulated volume.
Has anyone an idea, how to set the internal volume of BASS-Player correctly?
Chris