Bug Issue: Set volume on channel only applies if a sound is playing


Pages: 1

Luyren

  • Master Stencyler
  • *
September 11, 2019, 02:48:15 pm
b10417, on Windows 10. Happens on Flash and Windows standalone.

When using the block, it only sets the volume if there is already a sound playing at the given channel. If you set the volume and then play the sound, it will play at full volume.

Having the ability to set the volume on a channel before any sound plays would be useful to have different volume controls for soundtrack and sound effects in-game.

The block sets the volume correctly, with or without sounds playing in any channel.

Sample game: follow the on screen commands. Set the volume to 50, then loop the music. It will play at 100% volume, which you can then check by setting the volume to 50 again. Also included to commands that directly set the volume before playing a sound, and you'll notice that the volume is the same. All code is in the scene event.


New attachment added by Luyren - September 11, 2019, 02:48:36 pm


Pages: 1

Details

  • Reported
    September 11, 2019, 02:48:15 pm
  • Updated
    September 11, 2019, 02:48:36 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Design Mode Blocks

Tags


Attachments

* Music Test.stencyl (3011.09 kB - downloaded 2 times.)