I have a directory with about 50 wav files that I need to convert to caf, because AudioServicesCreateSystemSoundID() returns an error for some of them (but not all).
Here's an example of the command I've used successfully for a single file:
afconvert -f caff -d LEI16@44100 -c 1 whistle.wav whistle.caf
How do I do this quickly - not o...
Hi,
I'm building a voice recorder. Recoding and playing works fine on simulator. But on iphone it doesn't work. (I followed the exact steps as mentioned in iPhoneOSProgrammingGuide/AudioandVideoTechnologies)
printf("%s(player)\n",[[self.soundFileURL absoluteString] UTF8String]);
AVAudioPlayer *newPlayer =
[[AVAudioPlayer alloc] ...
Apparently SDK 3.1.2 has a built in discrimination about certain audio.caf files being passed to AVAudioplayer.
Some files that worked fine with SDK 3.0.1 get a returned content null from AVAudioplayer using exact same code on simulator or iphone with SDK 3.1.2.
All files are 16-bit Integer, Big Endian, Mono, 22.050 KHz, Data rate 352....
Have few short sound effect samples, which play just fine in emulator, but not at all in real iPhone 3GS. Here's the code, about as-is from Apple SysSound sample:
CFBundleRef mb = CFBundleGetMainBundle ();
CFURLRef soundFileURLRef = CFBundleCopyResourceURL
(mb, CFSTR("mySound"), CFSTR ("caf"), NULL);
SystemSoundID sid;
AudioService...
In a scenario where Software AG's webMethods Composite Application Framework (CAF) experienced developers are hard to find, compared to .Net, this question comes into play: does webMethods CAF have .Net integration capabilities?
...
I am developing an iPhone voice recording application which creates audio files in caf format.
When I play those files back, the only thing I here is static. Also, the sizes of the files are huge e.g. up to 1.7 mb for a 10 sec recording.
Could I record in another format such as mp3. Does anyone have some example code of how to do so?...
Hey there,
I have an app that records short sounds (as caf files) and uploads them to a server. I want to be able to share these sounds so they need to be in a more ubiquitous format like mp3. I've got a linux server. Is there anything I can use either on the iphone or the server to perform the conversion?
thanks,
Howie
...
Hi,
I am experimenting with the sampling rate of the mp3 file to convert it into caf format.
afconvert -f caff -d LEI16@44100 ./fricatives_play_all.mp3 ./test.caf
afconvert -f caff -d LEI16@22100 ./fricatives_play_all.mp3 ./test.caf
afconvert -f caff -d LEI16@12000 ./fricatives_play_all.mp3 ./test.caf
afconvert -f caff -d LEI16@2010...
Hello,
As the title said, I have a CAF file and I want to insert that file into a video file using ffmpeg(Programmatically ) using C.
CAF file has Linear PCM audio format
I am successfully able to build the video file and now want to add the audio to the video file from CAF (Core Audio Format) file.
Can anyone provide a sample please...
Hi,
I have used below code to combine two .caf files.
NSMutableData *datas = [NSMutableData alloc];
NSData *data1 = [NSData dataWithContentsOfFile:path1];
NSData *data2 = [NSData dataWithContentsOfFile:path2];
NSLog(@"file1 size : %d", [data1 length]);
NSLog(@"file2 size : %d", [data2 length]);
[datas appendData:data1];
[datas appendD...