“记录”;“苹果无损检测”;iPhone上的音频

“记录”;“苹果无损检测”;iPhone上的音频,iphone,audio,core-audio,mp4,Iphone,Audio,Core Audio,Mp4,你能给我指一下文档/片段/博客吗 如何在iPhone上录制苹果无损音频文件 我已经检查了苹果的录音机示例 开发中心,但无法确定我使用的是哪种设置 用于无损音频 问候, Stefan看看Apple iPhone开发中心上的SpeakHere示例。iPhone操作系统支持使用多种不同的压缩音频编码格式录制.caf文件: 苹果无损-KaudioFormat苹果无损 iLBC(互联网低比特率编解码器)-kAudioFormatiLBC IMA/ADPCM(又名IMA4)-kAudioFormatAppl

你能给我指一下文档/片段/博客吗 如何在iPhone上录制苹果无损音频文件

我已经检查了苹果的录音机示例 开发中心,但无法确定我使用的是哪种设置 用于无损音频

问候,


Stefan

看看Apple iPhone开发中心上的SpeakHere示例。

iPhone操作系统支持使用多种不同的压缩音频编码格式录制.caf文件:

苹果无损-KaudioFormat苹果无损

iLBC(互联网低比特率编解码器)-kAudioFormatiLBC

IMA/ADPCM(又名IMA4)-kAudioFormatAppleIMA4

µLaw-kAudioFormatULaw

阿劳-考迪奥福马劳

- (id) initWithURL: fileURL {
    NSLog (@"initializing a recorder object.");
    self = [super init];

    if (self != nil) {

        // define the audio stream basic description for the file to record into

        // record audio at the current hardware sample rate
        // make sure the audio session is active before asking for properties
        UInt32 propertySize = sizeof(audioFormat.mSampleRate);
        AudioSessionGetProperty(kAudioSessionProperty_CurrentHardwareSampleRate,
                                &propertySize,
                                &audioFormat.mSampleRate);

        audioFormat.mFormatID           = kAudioFormatAppleIMA4; // record using IMA4 codec
        audioFormat.mChannelsPerFrame   = 1;

        AudioQueueNewInput(&audioFormat, ... );

        ...

    }

    return self;
}

您肯定想阅读

我使用iTalk Recorder Premium for.aiff(未压缩),然后导出到笔记本电脑并使用flac压缩它-它默认保留时间戳

flac --best *.aiff

我已经在这里说过了。但它是用来录制CAF的,可惜不是MP4失败者。无论如何,谢谢你。