suero
February 12, 2024, 6:17am
1
Godot Version
4.2.1
Question
Any way to get the current Stream playing at AudioStreamRandomizer?
I don’t find any way to this on the conventional AudioStreamPlayer nor in AudioStreamRandomizer documentation.
mrcdk
February 12, 2024, 6:45am
2
Does not seem possible. Open an issue here Issues · godotengine/godot · GitHub explaining your problem, what you tried so far, and what you want to achieve.
1 Like
suero
February 12, 2024, 6:48am
3
Hey! Thanks for replying.
Yes, this is the answer I was expecting, sadly its not possible.
I created an issue here already:
opened 06:26AM - 12 Feb 24 UTC
### Describe the project you are working on
A 2D game with background randomi… zed soundtrack, I was trying to display the current playing music on UI.
### Describe the problem or limitation you are having in your project
I don't see Any way I could get the current Stream playing at AudioStreamRandomizer?
### Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add any way to get the current stream resource playing when the AudioStreamPlayer is using a AudioStreamRandomizer
### Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Could be a property of the AudioStreamRandomizer resource.
### If this enhancement will not be used often, can it be worked around with a few lines of script?
I couldn't find any other solution beside not using the actual AudioStreamRandomizer and coding the random logic yourself.
### Is there a reason why this should be core and not an add-on in the asset library?
Not having it makes AudioStreamRandomizer very limited to an scalable use.
system
Closed
March 13, 2024, 6:48am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.