In SpriteKit there is a SKAudioNode, it seems to give a positional sound depending on the distance of two nodes, and everything works, the closer the "listener" to the sound source, the stronger the sound.
But the problem is that no matter what the distance between the two nodes is, the sound is still heard at a certain volume, and then it just amplifies as it approaches. But it is necessary that he was not heard at the start, and then when approaching he began to grow from scratch. In other words, you need to adjust the radius in which the positioning will work .. if the "listener" is outside the radius, then there is no sound at all.
Is it possible to implement such standard means?
UPD: If this can not be implemented using SKAudioNode, then which way should I dig? The most important thing is that the sound is started only when the object emitting it appears on the screen.