[Hilo] How to build and play audio files with HiloV2?

Answer: Hilo supports 2 kinds of audio files: Sierra Wireless proprietary audio format and AMR format.
KPLAYSOUND can play Sierra Wireless proprietary audio format file which is stored in “/ftp" folder.
KPLAYAMR can play AMR format file which is stored in “/ftp" folder also.

For the build of Sierra Wireless proprietary audio format files, please refer to "Appendix 14: How to Build an Audio File”.
For the build of AMR file, you can get some tools from Internet to transfer mp3 to AMR format.

An example for KPLAYAMR: (AMR format)
AT+KFSFILE=0,"/ftp/test.amr",102433 ----Store the audio file in /ftp folder
CONNECT
OK
AT+KPLAYAMR=0,“test.amr”,10,1 --Start playing with volume 10, with progress display.
OK
+AMR playing : 0%
+AMR playing : 1%
+AMR playing : 2%

AT+KPLAYAMR=2 ----Pause
OK
AT+KPLAYAMR=3 ----Resume
OK
AT+KPLAYAMR=1 ----Stop
OK
AT+KFSFILE=4,"/ftp" —List the files
+KFSFILE: test.amr 102433
+KFSFILE: 945433 bytes free
OK
AT+KFSFILE=2,"/ftp/test.amr" ----Delete the file
OK

Another example for KPLAYSOUND: (Sierra Wireless proprietary audio format)
AT+KFSFILE=0,"/ftp/abc.snd",128 ----To store the audio file in /ftp folder
CONNECT
OK
AT+KPLAYSOUND=0, “abc.snd”, 3, 20 ----Play abc.snd in 3 volume for 20 seconds
OK
AT+KPLAYSOUND=0, “abc.snd”, 3, 0 ---- play abc.snd file repetitively
OK
AT+KPLAYSOUND=0, “abc.snd”, 3 ---- play abc.snd file for one time
OK
AT+KPLAYSOUND=1 ----stop playing
OK
AT+KFSFILE=1,"/ftp/abc.snd",128 ----Read the audio file
CONNECT
R杅?朥??朥?..
OK
AT+KFSFILE=4,"/ftp"
+KFSFILE: abc.snd 128 ----List the audio file
+KFSFILE: 1047835 bytes free
OK
AT+KFSFILE=2,"/ftp/abc.snd" ----Delete the audio file
OK