• 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: patrick machielse <email@hidden>
  • Date: Fri, 02 Aug 2013 14:31:33 +0200

Op 2 aug. 2013, om 01:27 heeft Brian Willoughby <email@hidden> het volgende geschreven:

> 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!

Thank you, everyone who shared their insights.

It seems as if there is no 'real easy' way to achieve this. I'm not too keen on transcoding after the recording is complete, so perhaps preventing those final seconds of silence from reaching the file would be the best solution.

That might also require a fair bit of code (and testing). The usage scenario is as follows:

- The user is working with the application, all the while recording to file (asynchronously)
- He can pause his work for up to 60 seconds without stopping the recording process.
- If he resumes audio output within 60 seconds, the recording simply continues (containing the silent part in the middle)
- If the audio output is not resumed, the recording is closed and the final seconds of silence should not reach / or be removed from the file.

It seems that I should build a 'buffered recorder' with room for at least 60 seconds of audio.

p.
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
email@hidden


 _______________________________________________
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: Paul Davis <email@hidden>
References: 
 >Re: Truncating an audio file (From: Brian Willoughby <email@hidden>)
 >Re: Truncating an audio file (From: Paul Davis <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