x


Audio file slow down

Hi,

I've got this storage problem, I have 6 mono .wav sound files in a simple scene, walking swinging a weapon and impact sounds, but wen playing the scene and moving the character around the sounds slowly play slower and slower like someone talking in slow-motion, everything else in the scene move ok no slowdown in the graphics.

My audio setting are Volume - 1 Roll of scale - 1 Speed of sound - 347 Doppler factor - 1 Default speaker mode - mono DSP Buffer size - default

Anyone know what can be causing this? Is there a command to reset the audio file before playing it?

Thanks.

more ▼

asked Jun 05, 2012 at 01:47 PM

Griffo gravatar image

Griffo
2.8k 233 1232 327

pls post your script, we cant help you without it...

Jun 05, 2012 at 06:42 PM Driseus

I fixed it by creating a soundController.js script, putting it on the camera that follows the model, then putting all my sound files on there and then doing a

var SoundCntrl : soundController; and dragging the camera into it in the inspector window.

And calling

soundCntrl.RunSound(); when I need the sounds and it's working fine now.

Jun 05, 2012 at 06:50 PM Griffo

but next time pls just post your code

Jun 05, 2012 at 09:24 PM Driseus
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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:

x1704
x28

asked: Jun 05, 2012 at 01:47 PM

Seen: 868 times

Last Updated: Jun 05, 2012 at 09:24 PM