Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Is it actually possible to record any format besides a WAVE?

The code I'm using below to record WAVE's works just fine - straight from the Kitchen Sink. When I switch it to MP3 or AIFF my app either crashes(MP3) or just does nothing(AIFF). Does each format use a specific audio format? Not sure what's going on…

var recording = Ti.Media.createAudioRecorder();
recording.compression = Ti.Media.AUDIO_FORMAT_ULAW;
recording.format = Ti.Media.AUDIO_FILEFORMAT_WAVE;


— asked September 26th 2010 by Kelly Redd
  • aiff
  • audio
  • ipad
  • mp3
  • record

3 Answers

  • Bump.

    Keep hoping for a fix with each SDK release.

    Is it possible to break things by mixing the wrong compression with the wrong format? If it's just plain broke why put it in the API?

    Anyone know of a solution or have any info about this? Thx!!

    — answered November 30th 2010 by Kelly Redd
  • I don't see a ticket in Lighthouse against it, so it looks like the issue is not on our radar screen. To put it there, can you:


    Thanks for letting us know - we whack the moles as fast as we possibly can.

    — answered November 30th 2010 by Kevin Whinnery
    • Thanks Kevin, will do!

      — commented November 30th 2010 by Kelly Redd
    • Ticket created. Couldn't figure out how to add the tags ;) Thx again.

      — commented November 30th 2010 by Kelly Redd
  • Any fixes on this issue?

    — answered June 7th 2013 by Vaughn Dabney
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.