- Home /
The question is answered, right answer was accepted
Audio Pitching
I got a simple question. I am pitching my audio source, I have an aircraft and when the throttle goes up so is the pitch on the audio source. Now, if I want to play some other audio file in the background (explosion/shooting/music for instance) the sound would be pitched.
How can I play a different audio file without the pitch?
Answer by Meltdown · Jul 16, 2012 at 05:34 PM
Van is correct. Simply add another AudioSource component to your gameObject. Usually for something specific to the scene like music you'll put it on your GameManager object.
Although ultimately in your project you would create a SoundManager singleton instance and use that to play/manage all your sounds and audio sources in your game.
Google can explain what a Singleton is :) Do you code in C# or US?
Answer by vanofthedawn12 · Jul 16, 2012 at 05:04 PM
you could attach an audiosource to an empty game object.. and play the sound from there...I'm just a noob trying to help..hahaha i'm not quite sure about this..