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 Foemass · Feb 18, 2015 at 10:32 AM · iosaudioaudiosourceaudioclip

I have 3 audio sources, just one of these audio sources can't be heard on iOS without headphones, the others can clearly be heard through the device speakers. Why is this happening?

Riddle me this...

I have 3 audio sources.

Audio source 1 plays a clip formatted to native (wav) and set to load into memory.

Audio source 2 plays a clip formatted to native (wav) and set to load into memory.

Audio source 3 plays a clip formatted to compressed (mpeg) and set to decompress on load.

All audio sources have 3d sounds and the same initial settings.


Audio source 1 constantly plays with its volume and pitch varied as play progresses. This is successfully heard in unity and on device.

Audio source 2 constantly plays with its volume set to 0 until certain criteria are met and its volume is set to 1, it is intended to be heard "over the top of" audio source 1. This is successfully heard in unity but not on the device UNLESS you plug headphones in.

Audio source 3 constantly plays with its volume set to 0 until certain criteria are met and its volume is set to 1 (never occurs at the same time as 2), it is intended to be heard "over the top of" audio source 1. This is successfully heard in unity and on device.


To summarise I can hear some of the game's audio via my iPad's speakers but not Audio Source 2, unless I plug in headphones. I can hear all three exactly as intended when testing in unity. I don't think this is due to the app audio being set to mute or anything.

Any help would be greatly appreciated, in the meantime I'll be sporadically changing settings and/or approaches in the hope i'll stumble on a solution, I'll keep this thread updated as I progress.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Foemass · Feb 18, 2015 at 11:40 AM

Well that was embarrassingly simple. Disabling Audio Source 1 revealed that Audio Source 2 is playing just really really quietly compared to in Unity or with headphones, I can only assume this is a result of the specific nature of the sound combined with the iPad 3's single not-so-great speaker.

I've made Audio Source 2's clip 2D which has improved its volume a bit, to completely resolve the problem I imagine i'll have to turn down Audio Source 1 a lot and if that isn't good enough manually amplify the volume of the clip some more in Audacity.

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

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

Working Sound Clip not Audible on iOS Devices 0 Answers

Is there a way to create a random Audiosource loop? 2 Answers

Breathing volume increases as player gets more tired 0 Answers

Beginners troubles with audiosource 0 Answers

Triggering multiple audio clips to play in sequence 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