Bass.dll volume functions

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
jinxtengu
Posts: 122
Joined: Wed Oct 14, 2009 2:05 pm
Contact:

Bass.dll volume functions

Post by jinxtengu »

Hey does anyone know how to alter the volume parameters using Bass.dll for mod playback?
User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Re: Bass.dll volume functions

Post by Kjell »

Hi jinxtengu,
jinxtengu wrote: Wed Dec 05, 2018 1:54 amHey does anyone know how to alter the volume parameters using Bass.dll for mod playback?
You can use the BASS_SetConfig function to set the global volume level of a MOD. Alternatively, you can use BASS_ChannelSetAttribute to set the volume of a MOD at event-level ( either globally or per channel ). Keep in mind that since this approach is event-based, notes will retain the volume they were triggered at initially. Anyway, attached is a example.

K
Attachments
BASS.zip
(366.98 KiB) Downloaded 376 times
jinxtengu
Posts: 122
Joined: Wed Oct 14, 2009 2:05 pm
Contact:

Re: Bass.dll volume functions

Post by jinxtengu »

Thanks a bunch Kjell! This is just what I was looking for
:)
Post Reply