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
2
Question by muckel · Dec 22, 2009 at 07:53 PM · audioiphoneperformance

iPhone best Audio Compression for in Game Sounds like Shoot or Hit

Hello, well i'm looking for the best compression for playback Shoot & Hit Sounds on iPhone... Is 16 bit 44100 Hz Mono better in performance than 16 bit 22500 Hz Mono ? or is 8 bit 22500 Hz better performance wise ???

and what is if i want to alter the Pitch & Volume of the Sound ??? So if i change the Pitch & Volume @ moment i get some framerate drops... here is how i change the Sound:

function ShipSpeed (Speed : float) {
        Ship.ShipSpeed = Speed;
        Ship.audio.pitch = Speed;
        Ship.audio.volume = Speed;

}

many thanxx for your help

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 Jessy · Dec 22, 2009 at 11:16 PM 0
Share

I don't have the answers to your questions. However, this is not a question about compression. This is a question about uncompressed formats.

2 Replies

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

Answer by Diet-Chugg · Dec 24, 2010 at 06:29 PM

8 bit at 22500 HZ will kill sound quality in any circumstance. I would do 8 bit at 44100 if the audio file is pretty loud and noisy thing. if it's a quieter type song I would do 16 bit at 44100 HZ. 22500 HZ just sounds really bad unless you are recording an orchestra if I remember right.

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 ReJ · Jan 21, 2010 at 08:25 AM

Neither do I have an answer. Just launch the Activity Monitor from XCode (Run->Start with Performance Tool->Activity Monitor) and try out sounds with different formats. Observe how much CPU your application is consuming.

Profiling your application is always the best way to figure it out.

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

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

No one has followed this question yet.

Related Questions

What does Audio CPU Usage mean in the Profiler? 1 Answer

how to load ogg files from documents folder. 1 Answer

iTween iPhone Performance 4 Answers

Halo effect perfomance on mobile devices 1 Answer

Is it normal for string operations to be very expensive on the iPhone? 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