gpt4 book ai didi

audio - SIM800C:在通话过程中播放时,上传的音频AMR文件有噪音

转载 作者:行者123 更新时间:2023-12-03 00:26:49 27 4
gpt4 key购买 nike

  • 我能够将AMR文件成功上传到SIM800C。
  • 在通话中使用以下命令播放上载的音频文件时:
  •        #if CALL_RECORDED_AUDIO
    Serial1.print("AT+CMEDPLAY=1,C:\\REC\\");
    // "Command Media PLAY" -> to play an audio if it is a recorded audio
    #else
    Serial1.print("AT+CMEDPLAY=1,C:\\User\\");
    // "Command Media PLAY" -> to play an audio if it is a uploaded audio
    #endif

    播放的音频始终带有 C:\User\发出的噪音。
  • 但是,如果我在通话过程中录制了音频并保存了。在下次通话时播放录制的音频,然后没有噪音。 (通过在上面的代码片段中定义CALL_RECORDED_AUDIO)
  • 最佳答案

    根据sim800的文档,有必要在通话过程中播放声音波形

    Note

    . mode 2 and 3 are not supported when playing audio file during call.

    . The audio file can not be played duirng incoming call or outgoing call.

    . Only support WAV, PCM, AMR and MP3 format.

    . Only support WAV format with 8K 16bit during call.



    sim800 guide的第201/202页

    我个人没有没有sim800

    我认为通话录音必须为.WAV格式

    让我知道是否有效

    关于audio - SIM800C:在通话过程中播放时,上传的音频AMR文件有噪音,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57737775/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com