Framework not found AudioUnit
Remove AudioUnit.framework and add CoreAudio.framework
Remove AudioUnit.framework and add CoreAudio.framework
Automatic Reference Counting – 3.2.4. Bridged casts You should use __bridge cast for it. AudioSessionInitialize(NULL, NULL, NULL, (__bridge void *)self);
Admittedly, I didn’t know anything about your issue before, so I did a little bit of looking at your code, and at Mac Developer’s CoreAudioOverview.pdf which led me all over the place. I didn’t see anything too sneaky going on in your code. It looks quite tight, but I did wonder about these lines: // … Read more
1718449215 is the decimal representation of the four character code for the kAudioFormatUnsupportedDataFormatError error. In general you can use something like this to get more information from the errors you receive: NSError *error = [NSError errorWithDomain:NSOSStatusErrorDomain code:my_error_code userInfo:nil]; NSLog(@”Error: %@”, [error description]);
I made a brief graphical overview of Core Audio and its (containing) frameworks: The framework closest to the hardware is Audio Unit. Based on that there is OpenAL and AudioToolbox with AudioQueue. On top, you can find the Media Player and AVFoundation (Audio & Video) frameworks. Now it depends on what you want to do: … Read more
AVPlayer can play from AVPlayerItem using AVURLAsset with an iPod library url. The AVAudioPlayer cannot play from an iPod library url. AVPlayer has no volume property and requires the use of the system volume setting which can be controlled only by the hardware switch or an MPVolumeView. But you can set the mix volume of … Read more
The Flite speech synthesis engine can be run on an iPhone, ref http://artofsystems.blogspot.com/2009/02/speech-synthesis-on-iphone-with-flite.html
afconvert -f caff -d LEI16@44100 -c 1 in.wav out.caf References: Apple’s Multimedia Programming Guide: Using Audio: Preferred Audio Formats in iOS afconvert(1) man page (use afconvert -h for complete info)
I was searching for a similar thing and decided to “roll my own.” I realize this is an old post, but in case anyone else is in search of this, here is my solution. it is relatively quick and dirty and normalizes the image to “full scale”. the images it creates are “wide” ie you … Read more