-
Use Case Setup Background Thanks for your assistance - I'll persevere and try to find out the issue in the meantime and will report back if I find out the cause. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
OK... Some troubleshooting on my side, it would appear as though the interpretation in MPF-GMC of the volume is inconsistent with the MPF side. Starting with Godot, (refer here - https://docs.godotengine.org/en/stable/classes/class_audiostreamplayer.html#class-audiostreamplayer-property-volume-db), the volume_db is a decibel value. In MPF, when setting the value to a value between 0 and 1 - this is NOT a DB therefore when it goes across to Godot it is taken as is and has no effect on the volume (from what I could tell). If I change this line (in the GMCChannel.gd file - line 91) from
to
it works. Keep in mind I added 0.5 as the "default" as specified by the documentation if no value is specified in the volume field. I would like some advice before submitting a fix as there may be implications with that fix and further changes required elsewhere in that codebase (as I can see references to -80db as well. I'll link this info up to the Issue I raised in the project. |
Beta Was this translation helpful? Give feedback.
Submitted change: missionpinball/mpf-gmc#14