x


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?

more ▼

asked Jul 16 '12 at 04:32 PM

Ranger Ori gravatar image

Ranger Ori
108 3 10 15

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

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.

more ▼

answered Jul 16 '12 at 05:34 PM

Meltdown gravatar image

Meltdown
5.6k 18 25 49

SoundManager singelton? what do you mean?

Jul 16 '12 at 06:16 PM Ranger Ori

Google can explain what a Singleton is :) Do you code in C# or US?

Jul 16 '12 at 06:20 PM Meltdown

JS, it's easier.. I'll google it, thanks!

Jul 16 '12 at 07:46 PM Ranger Ori
(comments are locked)
10|3000 characters needed characters left

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..

more ▼

answered Jul 16 '12 at 05:04 PM

vanofthedawn12 gravatar image

vanofthedawn12
96 3 6 10

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1027
x57
x54
x43
x7

asked: Jul 16 '12 at 04:32 PM

Seen: 406 times

Last Updated: Jul 16 '12 at 07:46 PM