Bass.dll volume functions

All topics about ZGameEditor goes here.

Moderator: Moderators

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

Bass.dll volume functions

Post by jinxtengu » Wed Dec 05, 2018 1:54 am

Hey does anyone know how to alter the volume parameters using Bass.dll for mod playback?

User avatar
Kjell
Posts: 1692
Joined: Sat Feb 23, 2008 11:15 pm

Re: Bass.dll volume functions

Post by Kjell » Wed Dec 05, 2018 2:45 pm

Hi jinxtengu,
jinxtengu wrote:
Wed Dec 05, 2018 1:54 am
Hey 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
(368.31 KiB) Downloaded 17 times

jinxtengu
Posts: 72
Joined: Wed Oct 14, 2009 2:05 pm
Contact:

Re: Bass.dll volume functions

Post by jinxtengu » Wed Dec 05, 2018 11:54 pm

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

Post Reply