Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by $$anonymous$$ · Apr 21, 2014 at 05:32 PM · audiosoundbackgroundeffectmusic

audio different in game than preview?

In my editor i have music, i made the audio file in audacity. It is saved as a Wave format or a .wav When i play the sound in the preview box at the side it sounds perfect but when i put the audio in game it sounds horrible it sounds like interference has been put over it. I am currently using it as a 3D sound because it sounded even worse as 2D even thought i want it for background music so ideally i would like it 2D. Does anyone know what could be causing this?

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image aceX · Apr 21, 2014 at 05:35 PM 0
Share

Try setting the doppler level to 0 http://docs.unity3d.com/Documentation/Components/class-AudioSource.html

Ref: Unity3D Forum post I saw a while ago...

avatar image $$anonymous$$ · Apr 21, 2014 at 05:50 PM 0
Share

ok i will

avatar image $$anonymous$$ · Apr 21, 2014 at 05:52 PM 0
Share

didnt work

avatar image $$anonymous$$ · Apr 21, 2014 at 06:00 PM 0
Share

it seems to be only happening in this scene, i have 2 music works fine in one but not the other

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by $$anonymous$$ · Apr 21, 2014 at 06:18 PM

I found the problem but i have no idea y this happens. I was using a script to do audio.PlayOneShot(music); playing the music like this messed up the quality. When i turned off the script and just used play on awake it sounded great, however i dont want it to play on awake anyone know what is wrong?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image $$anonymous$$ · Sep 27, 2020 at 06:18 PM 0
Share

I tried this and found the same results. When i turn off my Audio$$anonymous$$anager script, it sounds prefect. When played by a script the audio sounds distorted.

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Background Music 3 Answers

Why is my backtrack's volume getting lower? 0 Answers

Audio slider for multiple scenes. 2 Answers

footstep sound 1 Answer

How To trim audio run time in game? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges