• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Truncating an audio file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Truncating an audio file


  • Subject: Re: Truncating an audio file
  • From: Paul Davis <email@hidden>
  • Date: Thu, 01 Aug 2013 21:30:07 -0400




On Thu, Aug 1, 2013 at 7:27 PM, Brian Willoughby <email@hidden> wrote:

Sorry, but there isn't really a fast and easy solution here. You can write your own parser for file formats, and suffer the pains of creating support for every file format that your users want, or you can suffer the long delay of copying a file to remove trailing silence. Apart from that, the only option is to avoid storing the silence in the original file in the first place!

or you can, in many cases, use the LGPL'ed libsndfile, which is already used by many audio applications and whose only technical issue is lack of support for mp3. other than that, it supports more formats than just about anything else, and unlike apple's APIs also includes metadata support. of course, if your app's licensing and distribution is incompatible with the LGPL, then this is not an option.

however, per-application audio file code has to be one of the biggest sources of bugs in the entire little niche that we all occupy. i beseech you ... don't do it. whatever you pick, find a library that has been around for a while and is used by others.

--p


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Truncating an audio file
      • From: patrick machielse <email@hidden>
References: 
 >Re: Truncating an audio file (From: Brian Willoughby <email@hidden>)

  • Prev by Date: Re: Truncating an audio file
  • Next by Date: Re: Truncating an audio file
  • Previous by thread: Re: Truncating an audio file
  • Next by thread: Re: Truncating an audio file
  • Index(es):
    • Date
    • Thread