Cut Music File; Update Music File - PalmMicro AR1688 Development Manual

Based ip phone
Table of Contents

Advertisement

C o m m u n i c a t i o n s , I n c .
10. Select "8-bit mu-Law Compressed" in "Data Formatted As";
11. Select "PCM Raw Data (*.pcm, *.raw)" in "Save Type";
12. Input filename and click "Save";

Cut Music File

Music file updated to a phone must be a binary data file. After recording music, use
convert command to cut a music file(.pcm) to 196608Bytes and save as a binary data file.
Input command format:
Convert –r|--ring2bin srcFile dstFile(Enter)
See convert command section in Chapter 5 for more details.

Update Music File

Music Files include ring tone and call hold music. These file are named according to the
file naming principle, namely ringtone_xxx.dat and holdmusic_xxx.dat. Then copy the
music file to D:\sdcc\src, and use tftp command to update the phone. Tftp command and
convert command have been described in previous chapter and updating ring tone
process as follows.
Example 1, Update ring tone file:
1.
record a music file allice.pcm;
2.
use convert command to cut the music file and convert it to binary data file;
C:\sdcc\bin>convert -r allice.pcm ringtone_allice.dat(Enter)
3.
copy ringtone_allice.dat to sdcc\src;
4.
enter DOS window and input following commands in sdcc\src directory:
tftp -i 192.168.1.205 put ringtone_allice.dat (Enter)
"192.168.1.205"is phone IP address.
Example 2, Update call hold music file:
5.
record a music file allice.pcm;
6.
use convert command to cut the music file and convert it to binary data file;
C:\sdcc\bin>convert -r allice.pcm holdmusic_allice.dat(Enter)
7.
copy holdmusic_allice.dat to sdcc\src;
8.
enter DOS window and input following commands in sdcc\src directory:
tftp -i 192.168.1.205 put holdmusic_allice.dat (Enter)
"192.168.1.205"is phone IP address.
PalmMicro Communications, Inc.
© 2006-2007
Room 0611, Bldg.B Tsinghua Tongfang Technology Plaza, 1 Wangzhuang Road, Beijing, CHINA
27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents