- Home /
Make feeling that sound comes from left or right side
Hi all! I need to create feeling like sound is coming from left or right so I put it there physically. Maybe some setting in the object that do the panning? Maybe I need put AudioSource left/right related to player position? Can you help please to choose the correct way?
Thanks!
Answer by DenisTribouillois · Sep 23, 2016 at 03:37 PM
You can use the Stereo Pan parameter to artificially adjust the sound on left/right.
https://docs.unity3d.com/ScriptReference/AudioSource-panStereo.html
In your case, maybe Spatial Blend is more adapted, since it calculates the sound spatialized in the 3D world (unlike Stereo Pan which is 2D)
https://docs.unity3d.com/ScriptReference/AudioSource-spatialBlend.html
Answer by PlayCreatively · Sep 23, 2016 at 12:26 PM
The AudioSource component has a variable called Stereo Pan. That's what you're looking for.
Your answer
Follow this Question
Related Questions
Need help with 3d sound 2 Answers
3D-audio-source limit 0 Answers
Audio on object plays low in unity 5 1 Answer
Prevent Feedback while recording audio RT 0 Answers
3D audio not working on trigger 0 Answers