• 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 /
This question was closed Jul 18, 2016 at 06:54 PM by stephen_george98 for the following reason:

The question is answered, right answer was accepted

avatar image
1
Question by stephen_george98 · Jul 18, 2016 at 04:56 AM · audioaudiocliploopingmp3seamless

Why Won't My Audioclip Loop Seamlessly?

Hello all,

I made my gameplay music on GarageBand and I made it to be able to loop seamlessly, and it does just that on Garageband! Only t$$anonymous$$ng is, in Unity it does not loop 100% seamlessly, it had a very brief moment of no sound. Why is that? Is their somet$$anonymous$$ng regarding the way Unity does audio that I need to know or I am mis-using? Climax Audioclip

Thank you!

audio.png (122.9 kB)
Comment
Add comment · Show 2
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 Dave-Carlile · Jul 18, 2016 at 02:09 PM 0
Share

Your screenshot is showing an audio clip. What are the settings on your AudioSource? Is the loop property set?

avatar image stephen_george98 Dave-Carlile · Jul 18, 2016 at 03:51 PM 0
Share

Yes the loop is set in Unity under the AudioSource component. My problem is not that I cannot get the audioclip to loop, it does that perfectly, but that whenever it does loop, there is a very brief moment of silence and it is just choppy enough to bug me :/ . @Dave-Carlile

1 Reply

  • Sort: 
avatar image
1
Best Answer

Answer by Universalerror · Jul 18, 2016 at 02:09 PM

Looking at the ends of the waveform, it looks like there is a very slight bit of silence at the end. Try trimming it down by a slight bit and see if that helps. T$$anonymous$$s could be an issue with GarageBand making it sound perfectly looped and exporting it slightly different, or somet$$anonymous$$ng with Unity.

Comment
Add comment · Show 7 · 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 stephen_george98 · Jul 18, 2016 at 03:49 PM 0
Share

Can I trim an audioclip right inside Unity? @Universalerror

avatar image NickWu stephen_george98 · Jul 18, 2016 at 03:59 PM 1
Share

I think you will need an audio editing tool for that.

avatar image stephen_george98 NickWu · Jul 18, 2016 at 04:16 PM 0
Share

I have :/ . I trimmed up my clip a tiny bit on Garageband and that didn't work so I am going to try Audacity. I also tried converting the mp3 file to wav and looping that in Unity but the same problem prevails. I know that my problem is the very slight bit of silence at the end of my audioclip that Unity put in there. @NickWu

Show more comments
avatar image brunocoimbra · Jul 18, 2016 at 05:36 PM 1
Share

Just complementing:

alt text

The is a very slight bit of silence at the beginning AND at the end of the track. Just cut it of with audacity or something alike.

74289-audio.png (105.6 kB)
avatar image Universalerror brunocoimbra · Jul 21, 2016 at 03:14 PM 1
Share

Thanks for the illustration. I didn't have much time to do this myself as I was just doing fly-by answering. @brunocoimbra

avatar image stephen_george98 · Jul 18, 2016 at 06:53 PM 1
Share

@Universalerror @NickWu @brunocoimbra everything y'all said ended up working for me and helping me. I fixed it! Thank you! Have a great day ;)

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Related Questions

Loading MP3's into an Audio Array and assigning them to members of a GameObject Array 1 Answer

Existing solution for load MP3 from disc ? 2 Answers

Which AudioClip formats will decompress using hardware? 0 Answers

Play MPEG from web options 0 Answers

Is there a way to loop mp3 files seamlessly? 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