- Home /
how the remove the parasite noise at the begging and end of an AudioSource when Play a clip ?
Hi everyone,
I'm working on some methods to help people to be guiding by audio (for blind people, surgeon for operation, ect). So i started by implement the basic audio guiding, the same as the car, I create an AudioClip using AudioClip.Create and an array filled by a sinusoidale function to make a continu and nice beep. But when i play the sound at the beggining it's like speakers are suddenly cut at the begging and the end of the sound. For long sound it's not a really a problem but when my sound has a lenght of 0.03 seconde we only heard this noise sound. How can i remove this parasite sound at the begining and the end of a clip ?
Bonus Question : Can i change the frequency of a sound during runtime or i need to create an other sound and alternate two sound to make the impression of a continu beep but with change of frequency ?
Thanks for the help !
might yiu want to create audio sounds in an external engine? you could achieve way mutch preciser audio clips for your needs, just when your project is all about audioguidance.
The problem is not from the creation of the sound, when i play them on a loop there is no artefact at all, and when i play them in an external logiciel there are fine. I think it's the Play method who cut the sound in a wierd way (After some testing when you put volume on 1 and suddendly you put it to 0 there is the same noise). $$anonymous$$aybe there is no way to avoid that or maybe use a trick or an other method ... i dunno .... And to answer your question, i'm using unity3D because it's easier to have an application to make tests as clic on a target or find an object in a 3D scene ect
Your answer
Follow this Question
Related Questions
Only one audio active. Others do not activate 2 Answers
Noise cancelling 0 Answers
Audio Clip Playing every frame 2 Answers
Do unused audio sources hurt performance? 0 Answers
Play audio when destroying gameobject without removing sprite 1 Answer