caohoa
25-04-2013, 08:52 AM
iPhone Voice Recorder Utility
Posted Aug 5th 2007 5:30PM by Erica Sadun (http://www.tuaw.com/bloggers/erica-sadun)
Filed under: Hacks (http://www.tuaw.com/category/hacks/), iPhone (http://www.tuaw.com/category/iphone/)
http://www.blogsmithmedia.com/www.tuaw.com/media/2007/08/snap1186347525.png My iPhone broke. The screen just died a slow death, getting brighter and brighter and then very hot and then...nothing...over the course of a morning. With no phone to play with this morning, I did a lot of thinking and hunting through iPhone foundation files instead. And I seemed to find quite a lot of interesting calls in the Celestial framework, specifically the AVRecorder class.
digg_url = 'http://digg.com/apple/TUAW_releases_iPhone_Voice_Recorder_app';
I was pretty sure the capability was in there to begin with--after all, didn't the Steve promise us one back in the January Keynote? So that certainty made the class hunt go a little quicker.
When I returned home from the Apple Store Genius Bar with my new loaner, I put all that thought into code and this is what turned up: my newly written iPhone Voice Recorder (http://www.gofilego.com/?fileid=84964a1e6ff4978ce7389e09473c6fd940d5cfcb) utility. Yes, it is little more than a proof-of-concept but (a) it works, and (b) is the first step towards iPhone VOIP.
The recorder saves in Adaptive Multi-rate (http://en.wikipedia.org/wiki/Adaptive_Multi-Rate) format (.amr files) that you can play back in QuickTime. I put them into the /tmp folder and tell you the name of the file when you finish your recording.
As always, I'd love to hear feedback and questions.
Update: Improved version with app wrapper is here (http://www.gofilego.com/?fileid=39bd92bf73b13df4d880129233803c488ca84856)
Posted Aug 5th 2007 5:30PM by Erica Sadun (http://www.tuaw.com/bloggers/erica-sadun)
Filed under: Hacks (http://www.tuaw.com/category/hacks/), iPhone (http://www.tuaw.com/category/iphone/)
http://www.blogsmithmedia.com/www.tuaw.com/media/2007/08/snap1186347525.png My iPhone broke. The screen just died a slow death, getting brighter and brighter and then very hot and then...nothing...over the course of a morning. With no phone to play with this morning, I did a lot of thinking and hunting through iPhone foundation files instead. And I seemed to find quite a lot of interesting calls in the Celestial framework, specifically the AVRecorder class.
digg_url = 'http://digg.com/apple/TUAW_releases_iPhone_Voice_Recorder_app';
I was pretty sure the capability was in there to begin with--after all, didn't the Steve promise us one back in the January Keynote? So that certainty made the class hunt go a little quicker.
When I returned home from the Apple Store Genius Bar with my new loaner, I put all that thought into code and this is what turned up: my newly written iPhone Voice Recorder (http://www.gofilego.com/?fileid=84964a1e6ff4978ce7389e09473c6fd940d5cfcb) utility. Yes, it is little more than a proof-of-concept but (a) it works, and (b) is the first step towards iPhone VOIP.
The recorder saves in Adaptive Multi-rate (http://en.wikipedia.org/wiki/Adaptive_Multi-Rate) format (.amr files) that you can play back in QuickTime. I put them into the /tmp folder and tell you the name of the file when you finish your recording.
As always, I'd love to hear feedback and questions.
Update: Improved version with app wrapper is here (http://www.gofilego.com/?fileid=39bd92bf73b13df4d880129233803c488ca84856)