Questions tagged [caf]

CAF (Core Audio Format) is a container audio file format developed by Apple. CAF files can contain audio data of a variety of different formats and are not limited to 4GB in size. The format is used by certain Apple products (such as Apple Loops) and is supported on both Mac OS X and iOS platforms.

CAF (Core Audio Format) is a container audio file format developed by Apple. CAF files can contain audio data of a variety of different formats and, unlike AIFF and WAVE format files, are not limited to a size of 4GB. The format is used by certain Apple products (such as Apple Loops) and is supported on both Mac OS X and iOS platforms.

78 questions
2
votes
1 answer

A way to crop AudioFile while recording?

I'm writing a first in first out recording app that buffers up to 2.5 mins of audio using AudioQueue. I've got most of it figured out but I'm at a roadblock trying to crop audio data. I've seen people do it with AVAssetExportSession but it seems…
aBikis
  • 323
  • 4
  • 16
2
votes
1 answer

How to convert 2 mono files into a single stereo file in iOS?

I'm trying to convert 2 CAF files locally into a single file. These 2 CAF files are mono streams, and ideally, I'd like for them to be a stereo file so that way I can have the mic from one channel and the speaker from another. I originally started…
A21
  • 181
  • 3
  • 18
2
votes
1 answer

combine two .caf files

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…
jfalexvijay
  • 3,681
  • 7
  • 42
  • 68
2
votes
1 answer

convert caf on iphone or on server for sharing

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…
Ward
  • 3,318
  • 3
  • 30
  • 50
2
votes
2 answers

How often is an expanding list evaluated

Is fib evaluated from start for each element of cumfib? fib = (1:1: zipWith (+) fib (tail fib)) cumfib = [ sum $ take i fib | i<-[1..]] Or are the first i elements cached and reused for element (i+1) of cumsum? I am more or less guessing that fib…
Herbert
  • 5,279
  • 5
  • 44
  • 69
2
votes
1 answer

How to play and read .caf PCM audio file

I have an app that selects a song from the iPod Library then copies that song into the app's directory as a '.caf' file. I now need to play and at the same time read that file into Apples FFT from the Accelerate framework so I can visualize the data…
Snick
  • 115
  • 1
  • 10
2
votes
1 answer

convert .caf file to .wav file with progress bar in ios

I record audio in .caf format and later need to convert it to .wav in order to upload the file as a dropbox. How can I convert the file to wav format in iOS? i don't want record audio directly .wav format how to Convert .CAF to .WAV file while…
ragul K
  • 25
  • 5
2
votes
1 answer

How to debug error -1500 returned by AudioServicesCreateSystemSoundID?

Any help really appreciated. See my questions (1) and (2) at the bottom. I'm new to Objective C programming, coming from Flex development. I've tried for the first time doing a simple sound playback. I'm failing, and this is a common problem when I…
Erik van der Neut
  • 2,245
  • 2
  • 22
  • 21
2
votes
0 answers

CaptureSessionController.mm in AVCaptureToAudioUnit won't record wav, aac or mp3 files

I'm using sample code of AVCaptureToAudioUnit to record voice using iPhone as a microphone. I used this example as a starting point because I had more success with this sample project than with other sample projects. When the file is .aif or .caf…
Greg
  • 1,750
  • 2
  • 29
  • 56
2
votes
1 answer

generate waves from .caf using ios sdk

Actually I am trying to generate waves from .caf file. Is it possible? If yes, then can anyone tell me how can I generate the waves? I searched for it but I get demo which generates the waves from mp3, not from .caf. So, now can anyone suggest me…
user7388
  • 1,741
  • 2
  • 19
  • 25
2
votes
0 answers

SOX in iPhone For Audio Conversion

I want to implement conversion of .caf file to any other format of audio. I heard about sox. But i did not find any suitable reference or any code about how to implement it. Anyone having an idea??
Mansi Panchal
  • 2,357
  • 18
  • 27
2
votes
2 answers

iOS: Record audio in other format than caf

I am working on audio recording. I am able to record my audio in caf (Core audio format). Now I want to record sound in .mp3 or .amr. I tried a lot of google but didn't found anything. I am not sure if my steps following work: Write that Audio with…
Kapil Choubisa
  • 5,152
  • 9
  • 65
  • 100
1
vote
1 answer

How to convert caf to mp3/amr?

Is there a way to convert the iphone record .caf files to .mp3 or amr files? Because the caf file need to upload, and server part can't use this format. I am not familiar with audio processing. Here is my conclude : The iphone sdk don't have a…
TK189
  • 1,490
  • 1
  • 13
  • 17
1
vote
3 answers

Combine two .wav files in iPhone using Objective C

I want to combine two .wav recording files together. Can any one help me figure out how to achieve this.I tried combining the data but the headers are creating problem. Can we do the combining as we do to combine the wave files. This is how i am…
Selwyn
  • 1,621
  • 6
  • 21
  • 38
1
vote
0 answers

displaying waveform in xcode

Possible Duplicate: rendering a waveform on an iphone Efficient method to draw a line with millions of points Can anyone please help me with displaying the waveform of an audio file in xcode? Actually, I've recorded an audio through…
Cocoy
  • 11
  • 2