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
1
Question by dansav · Jul 25, 2013 at 04:17 PM · iphoneconvertmp3wavogg

Does unity convert wav's to mp3 on iphone build?

Are wav's in a unity project converted to mp3's during an iphone build? If so is that true no matter what folder they are in? Resources? Documents? Streaming Assets?

I have an iphone project with wav's and they are large and I would like them to compress them to ogg, but then I read that unity will not play ogg so now I'm confused. They are also in the streaming assets folder.

Should I convert them or is there some process of doing a build that converts and optimizes audio files?

Comment
Add comment · Show 1
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 Eric5h5 · Jul 26, 2013 at 06:03 AM 1
Share

http://docs.unity3d.com/Documentation/$$anonymous$$anual/AudioFiles.html

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Tarlius · Jul 26, 2013 at 06:37 AM

Only if you tell it to. There are various audio format import methods, each suited to different needs. If you don't select a lossy compression it won't be mp3. Using mp3 is recommended for bgm/etc because it will be played by the iPhone's built in hardware codec, but only one sound may be played in this way at once (including via iTunes). You can also select quality/etc.

See the documentation for details. Also note that its technically the import settings, not the build settings. Where they are will make no difference.

Comment
Add comment · 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
1

Answer by Quantum2 · Jul 25, 2013 at 04:20 PM

You don't need to worry with the formats, when building the project Unity will automattically convert all audio to it's own format. In other words, if you can play the sound in your asset browser you're good to go

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 dansav · Jul 26, 2013 at 05:07 AM 0
Share

Okay. I'll trust that unity knows what it's doing. Thanks.

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

18 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

Related Questions

convert wav to compressed format like ogg 1 Answer

Questions about using custom mp3's vs unity's automatic wav to mp3 compression 1 Answer

Playing .Ogg audio backwards? 1 Answer

Batch Replace wavs to mp3s in Unity Project? 1 Answer

Can I use a user's mp3 music as background in an app? 2 Answers


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