#AudioStream2D spatial problem

1 messages · Page 1 of 1 (latest)

merry vale
#

Hi, I have a problem with AudioStream2D, i use it in another scene of my main scene, in the _process function of a script (to make a timer/interval). But the sound doesn't seem to play when I use play(). But it works with classical AudioStream, so it seems to be a spatial issue or smthing like that
Any idea ? Ty

ripe ibex
#

Where are the coordinates of the Heartbeat sound compared to the player / camera

merry vale
ripe ibex
#

are you using commas as decimal points?

#

Or is the player at 20 thousand

#

does it print out the playing value?

merry vale
#

sry Player is x : 20px, y: 641 px
Heart, x : 2906px, y : 8882px

merry vale
ripe ibex
#

that's really far away

merry vale
#

yeah but closer is the same

ripe ibex
#

are you starting the sound over every frame?

#

since you're calling play every frame

merry vale
#

i made an interval, not every frame, print is every second

ripe ibex
#

ok

merry vale
#

and the play function works with classical AudioStream

ripe ibex
#

what's the volume on the AudioPlayer2D?

merry vale
#

0db, default value

ripe ibex
#

what's max_distance

merry vale
#

6000px, tried 8000 too

#

attenuation 1