[DESCRIPTION]:
--------------
This tool is used to generate the audio memory data from audio file. Withe the memory data of audio, OpenCPU can compile the audio data into App bin.
[USAGE]:
--------------
1. edit audio.txt, add all audio files to audio.txt.
example: add "audio\wav11k.wav" to audio.txt.
2. Run "QlAudioResGen.exe", which will build all audio files to the audio stream data in audio.txt.
3. QlAudioResGen.exe will create resource_audio.c and resource_audio.h, then copy these two files to your project, or just copy the content of array to your codes.
4. To play audio resource bin to remoute side in call, you can call the APIs:
RIL_AUD_PlayMemBg()/RIL_AUD_StopPlayMemBg()
To play audio resource bin in idle (not in call), you can call the APIs:
RIL_AUD_PlayMem()/RIL_AUD_StopPlayMem()
Note:
You can compile the example_audio.c to test this feature.
Test procedure:
1. compile and run example_audio.c
2. Input commands through MAIN uart port.
"set channel: <0/1/2>" (set audio channel, normal/headset/handfree)
"play audio mem=<1/2/3>,0" (play audio with mp3/amr/wav format)
if play audio to remote side in call, you need establish voice connection before playing audio.
1. compile and run example_audio.c
2. Input commands through MAIN uart port.
"set channel: <0/1/2>" (set audio channel, normal/headset/handfree)
"ATDxxx;" (dial a cellphone number, or answer a call with "ATA")
"play audio mem=2,0" (play audio with amr format)
没有合适的资源?快使用搜索试试~ 我知道了~
MC20_OpenCPU_GS3_SDK_V1.3.rar_MC20 OPENCPU_MC20_OpenCPU_Quectel
共164个文件
c:80个
h:62个
txt:4个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 94 浏览量
2022-07-14
18:43:34
上传
评论
收藏 733KB RAR 举报
温馨提示
第5部分:MC20 OpenCPU SDK V1.3 Quectel移远MC20 GSM/GNSS/BLE模块的全部文档、资源,大部分未曾公开。分7个部分上传: 1. MC20模块介绍、指令/软件/使用手册、应用/生产指导、驱动 2. MC20硬件文档和设计指导 3. MC20 OpenCPU文档 4. MC20 OpenCPU SDK V1.1 5. MC20 OpenCPU SDK V1.3 6. MC20开发工具,含全部版本的QFlash 7. MC20开发OpenCPU所需的GCC编译器
资源推荐
资源详情
资源评论
收起资源包目录
MC20_OpenCPU_GS3_SDK_V1.3.rar_MC20 OPENCPU_MC20_OpenCPU_Quectel (164个子文件)
m66.amr 8KB
gcc_make.bat 539B
Make.bat 194B
example_audio.c 889KB
ril_sms.c 80KB
ril_bluetooth.c 61KB
mqttlib_ext.c 41KB
example_sms.c 36KB
example_tcpserver.c 33KB
example_bluetooth.c 32KB
example_tcpclient.c 32KB
fota_http.c 30KB
example_download_epo.c 28KB
example_udpclient.c 28KB
example_udpserver.c 28KB
example_file.c 27KB
example_multitask.c 25KB
hal_uart.c 22KB
fota_ftp.c 21KB
ril_urc.c 21KB
mqttxpg.c 21KB
cloud.c 20KB
example_spi.c 20KB
example_tcp_demo.c 19KB
ril_ftp.c 18KB
adapter.c 18KB
ril_network.c 17KB
gagent.c 16KB
Ril_dtmf.c 14KB
example_system.c 14KB
hal_socket.c 14KB
example_iic.c 13KB
nema_pro.c 13KB
ril_audio.c 12KB
fota_http_code.c 11KB
example_ftp.c 11KB
example_dtmf.c 11KB
example_csd.c 11KB
ril_system.c 10KB
Example_gps_iic.c 10KB
example_call.c 10KB
example_alarm.c 10KB
example_multitask_port.c 9KB
example_location.c 9KB
example_http.c 9KB
example_gps.c 8KB
ril_sim.c 8KB
ril_gps.c 8KB
example_pwm.c 8KB
utils.c 8KB
main.c 7KB
example_watchdog.c 7KB
example_fota_ftp.c 7KB
fota_main.c 7KB
ril_util.c 7KB
ril_http.c 6KB
example_fota_http.c 6KB
hal_timer.c 6KB
example_eint.c 6KB
http.c 6KB
example_timer.c 6KB
example_memory.c 6KB
ril_alarm.c 5KB
custom_sys_cfg.c 5KB
example_time.c 5KB
example_gpio.c 5KB
mqttbuffer.c 4KB
example_transpass.c 4KB
example_adc.c 4KB
example_float_math.c 4KB
ril_telephony.c 4KB
example_clk.c 4KB
ril_atResponse.c 4KB
utility.c 4KB
ril_location.c 3KB
ril_init.c 3KB
ril_custom.c 3KB
sys_config.c 2KB
gitwizs_cloud.c 2KB
ril_ntp.c 2KB
gitwizs_main.c 1KB
gitwizs_mcu.c 1KB
cloud_http.c 561B
app_image_bin.cfg 18B
header.dat 64B
make.exe 177KB
QlAudioResGen.exe 36KB
GFH_Generator.exe 8KB
gcc_makefile 4KB
gcc_makefiledef 4KB
ql_fs.h 30KB
ril_bluetooth.h 24KB
ql_gprs.h 22KB
lib_ril_sms.h 21KB
ql_socket.h 20KB
ql_uart.h 19KB
ril_sms.h 15KB
adapter.h 15KB
ql_system.h 14KB
ril_audio.h 10KB
共 164 条
- 1
- 2
资源评论
小贝德罗
- 粉丝: 68
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功