首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏全栈程序员必看

    [AVAudioIONodeImpl.mm:1158:SetOutputFormat: (format.sampleRate == hwFormat.s[通俗易懂]

    outputFormatForBus:0]; [inputNode installTapOnBus:0 bufferSize:1024 format:recordingFormat block:^(AVAudioPCMBuffer [inputNode installTapOnBus:0 bufferSize:1024 format:recordingFormat block:^(AVAudioPCMBuffer * _Nonnull [inputNode removeTapOnBus:0]; [inputNode installTapOnBus:0 bufferSize:1024 format:format block:^(AVAudioPCMBuffer

    60710编辑于 2022-11-07
  • 来自专栏字节流动

    音频基础知识 - PCM 浅析

    然后通过AVAudioFormat和音频采样帧数(等于采样率乘以时长)构建AVAudioPCMBuffer,并且通过AVAudioFile.read把音频数据解码到AVAudioPCMBuffer,获取到解码后的 AVAudioPCMBuffer包含了多个声道的数据,多个声道的数据是如何存储的那? 最后基于AVAudioPCMBuffer提供的PCM数据,针对单一声道,计算出分贝值,计算方式与Android平台类似,此处不再赘述。

    4.9K21发布于 2021-03-16
  • 来自专栏Molier的小站

    关于实现唱吧清唱功能的理解

    . */ typedef void (^AVAudioNodeTapBlock)(AVAudioPCMBuffer *buffer, AVAudioTime *when); 我们需要把 buffer 转成 0 bufferSize:4096 format:[_engine.inputNode inputFormatForBus:AVAudioPlayerNodeBufferLoops] block:^(AVAudioPCMBuffer

    1.7K40编辑于 2022-11-03
  • 来自专栏一“技”之长

    iOS10语音识别框架SpeechFramework应用

    property (nonatomic, readonly) AVAudioFormat *nativeAudioFormat; //拼接音频流 - (void)appendAudioPCMBuffer:(AVAudioPCMBuffer

    1.4K20发布于 2018-08-15
领券