If you use the basic play sound block (the one that doesn't have a channel field), the sound's volume and panning can vary depending on which channel is automatically assigned to it. This is unintuitive, because there's no indication to the user that they should be concerned with audio channels when using this block, and they have no way of knowing which audio channel it's going to play on.
General
All Bugs / Open Bugs / All Suggestions / Engine Issues
Toolset
Dashboard / Running Games / User Interface & Workflow
Updating Stencyl / Welcome Center
Design Mode & Behaviors
Design Mode / Design Mode Blocks / Behavior Settings
All Bugs / Open Bugs / All Suggestions / Engine Issues
Toolset
Dashboard / Running Games / User Interface & Workflow
Updating Stencyl / Welcome Center
Design Mode & Behaviors
Design Mode / Design Mode Blocks / Behavior Settings
Editors
Actor Type Editor / Animation Editor / Background Editor / Collision Editor
Font Editor / Scene Designer / Sound Editor / Tileset Editor
Game Settings
Atlases / Collision Groups / Controls
Game Attributes / Game Scaling / Game Settings
Actor Type Editor / Animation Editor / Background Editor / Collision Editor
Font Editor / Scene Designer / Sound Editor / Tileset Editor
Game Settings
Atlases / Collision Groups / Controls
Game Attributes / Game Scaling / Game Settings
Pages: 1
Justin
- Master Stencyler
This was discussed on discord a while ago and I forgot about it. I initially wanted to keep this the way it is, but eventually realized that this is the worse option.
So, what we'll do now:
- All "play/loop sound" blocks always get the default options.
- if you want specific volume/panning, play sound on a channel and then immediately set the properties for that channel.
Quote
Cory Martin 02/27/2019
I think something odd is going on with channel volumes
I've added a distance based volume feature for sound effects
and I'm occasionally noticing some oddities with sounds that use the standard "play sound" block without specific channel assignment
like I once collected a coin that didn't make a sound at all
and sometimes I swear this one sound is louder in the left speaker
justin 02/27/2019
volume and panning don't reset when different sounds are played
If you set volume/panning for a channel, that's what the channel will use until you change it.
Cory Martin 02/27/2019
I'm encountering the shortfalls of that then
I'm not sure that's a good solution because now the basic sound block can't be used reliably
and I'll need to set up my own audio channel manager to play sounds
if there were something like a "play [sound] at volume []" block it wouldn't be much of an issue
because otherwise in order to use the basic sound block you'll need to know which channel the sound is going to play on so you can set the volume of the channel, but there's no way to get that information
So, what we'll do now:
- All "play/loop sound" blocks always get the default options.
- if you want specific volume/panning, play sound on a channel and then immediately set the properties for that channel.
Justin
- Master Stencyler
Changed in b10404.
- Status changed from New to Resolved
- Issue Assigned from (none) to Justin
Pages: 1