Converting UCCx prompt files on Mac

If you have a MacBook, keep reading, otherwise this may not interest you.

In addition to creating temporary prompt files from the command line on your Mac, you can also convert incompatible prompt files quickly and easily from the command line for use with UCCx by using the following command.

afconvert -d 'ulaw@8000' -f 'WAVE' -c '1' {source file name} {destination file name}

For example, to convert HelpDesk.mp3 to the compatible uLaw format, the following command would be executed from the directory containing HelpDesk.mp3.

afconvert -d 'ulaw@8000' -f 'WAVE' -c '1' HelpDesk.mp3 HelpDesk.wav

The -d switch defines the data format of uLaw and sample rate of 8000 Hz.
The -f switch defines the file format as .wav file.
The -i switch defines the number of channels as 1 channel.

Use afconvert -hf to view the file types that are supported for this.

Use afinfo {filename} to view the file type and format of the prompt file.

Leave a Reply

Your email address will not be published. Required fields are marked *