Author Topic: How do I set the volume when playing sounds with BASS in AHK?  (Read 316 times)

AHK Bass

  • Guest
Is there a command to change the volume of sound when it's played through my AHK with bass?

Ian @ un4seen

  • Administrator
  • Posts: 21379
The function to adjust the volume is BASS_ChannelSetAttribute with attrib=BASS_ATTRIB_VOL, like this:

Code: [Select]
BASS_ChannelSetAttribute(handle, BASS_ATTRIB_VOL, volume);

I'm afraid I'm not familiar with how that would be done with AHK.