Skip to content

MCM Audio Files Setup Guide

Directory Location

Audio files must be placed in the mcm-audio-files/ directory relative to the ATF Agent root.

Typical location:

../atf-agent/mcm-audio-files/

Quick Setup

# Navigate to agent directory
cd ../atf-agent

# Create audio files directory
mkdir -p mcm-audio-files

# Copy audio files
cp /path/to/your/test_tone.wav mcm-audio-files/

# Verify
ls -la mcm-audio-files/

Expected output:

drwxr-xr-x  3 user  staff   96 Jan 26 10:00 .
drwxr-xr-x 15 user  staff  480 Jan 26 10:00 ..
-rw-r--r--  1 user  staff 524288 Jan 26 10:00 test_tone.wav

Audio Format

  • Required: WAV format (.wav)

Usage in Test Cases

Reference files by filename only (the file must exist in mcm-audio-files/ directory):

{
  "functionType": "START_AUDIO_PLAY",
  "functionParams": {
    "FILE_NAME": "test_tone.wav"
  }
}

Note: The FILE_NAME parameter should be the filename only, not a path. The file must be located in the mcm-audio-files/ directory.

Notes

  • mcm-audio-files/ must be created manually