Can I use LabChart to play and output an Audio File in a channel whilst also recording data?

It is possible to use LabChart to both show and output and Audio Stimulus and record live data, using a combination of the Playback File and Audio Output add-ons, coupled with the Multiple Devices feature (note that this protocol requires LabChart 7.2 or newer)

1. Saving your Audio File as a LabChart File (LabChart can open .wav, .ogg and .flac Audio Files)

    a. Open your Audio File into LabChart, by going to File | Import | Audio File

  

b. Save the resulting file as a LabChart (.adicht) file by going to File | Save As

2. Configuring LabChart to Play the Audio File as a Channel of data

    a. Open a New LabChart File, by going to File | New

    b. Go to Setup | Playback File Settings

    c. Click Browse and select the LabChart File you just saved in step 1b

    d. Choose the Playback settings you want to use. If you want the recording to stop after the Audio File has finished, choose Stop at end of file. If you want recording to be continuous with the Audio File looping, choose Loop file forever:

LabChart is now configured to play your Audio File as if it were a live channel of data (in Channel 1) when you Start recording in LabChart.

3. Playing the Audio through your Computer's Speakers (or Headphones)

    a. Open the Audio Output dialogue by going to Setup | Audio Output within LabChart

    b. Set the Sources drop-down menu to Channel 1, and check the Play while sampling checkbox:

4. Setting up your PowerLab Recording Channels (with a PowerLab attached)

    a. Go to Setup | Devices and Channels

    b. Within this window, add any required number of Inputs from your attached PowerLab

You have now configured this file to display and playback an Audio File, whilst simultaneously recording parameters from an attached PowerLab(s).

You can find an Example File here. The Recording file uses Playback file and Audio Output to play the Audio File (Channel 1) whilst also measuring the subject's peripheral pulse using a Finger Pulse Transducer (Channel 2) and calculating Heart Rate (Channel 3).