# Troubleshooting Audio Object Recognition Task

**URL:** <https://mworks.discourse.group/t/troubleshooting-audio-object-recognition-task/1089>\
**Category:** Support\
**Created:** [April 29, 2025, 12:56pm UTC](https://mworks.discourse.group/t/troubleshooting-audio-object-recognition-task/1089 "2025-04-29T12:56:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyakub](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@eyakub](https://mworks.discourse.group/u/eyakub)\
**Post date:** [April 29, 2025, 12:56pm UTC](https://mworks.discourse.group/t/troubleshooting-audio-object-recognition-task/1089/1 "2025-04-29T12:56:31Z")

</div>

Hi Chris,

I am designing a two-alternative forced-choice discrimination task where a target audio stimulus is presented and then the choice is between two visually presented tokens. My colleague and I have previously asked a question about this design in this discussion thread ([Looking for Access to iPad MWorks with Audio Support for macOS 16.2](https://mworks.discourse.group/t/looking-for-access-to-ipad-mworks-with-audio-support-for-macos-16-2/1079)).

I have come across a small bug where, on some seemingly random trials, the target audio cannot be heard even though the path to the audio stimulus (as a .mp4 file) is loaded into experiment variables. No errors are shown on the console and I have checked that each audio file is not corrupt or empty (i.e., should be audible). I am still very new to MWorks, so I would greatly appreciate any recommendations as to how to go about troubleshooting this.

Thank you in advance for your time and assistance!

Kind regards,

Elizaveta

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [April 29, 2025, 2:36pm UTC](https://mworks.discourse.group/t/troubleshooting-audio-object-recognition-task/1089/2 "2025-04-29T14:36:11Z")

</div>

Hi Elizaveta,

If you want to send me your MWEL file(s), I can take a look and try to spot the issue.

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![eyakub](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@eyakub](https://mworks.discourse.group/u/eyakub)\
**Post date:** [April 29, 2025, 4:01pm UTC](https://mworks.discourse.group/t/troubleshooting-audio-object-recognition-task/1089/3 "2025-04-29T16:01:01Z")

</div>

Hi Chris,

Please find the experiment folder attached. Everything is designed to be compatible with release 0.11 and the aor\_set3\_task1 folder contains everything necessary to run the experiment. The .mwel file can be found under the different\_tasks directory.

Thank you again for your help.

Kind regards,

Elizaveta

> **(attachments)**
>
> [aor\_set3\_task1.zip](https://mworks.discourse.group/uploads/short-url/e6oib13xQvmRiKwrQOcwGTc69NM.zip) (6.65 MB)

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [April 30, 2025, 2:07pm UTC](https://mworks.discourse.group/t/troubleshooting-audio-object-recognition-task/1089/4 "2025-04-30T14:07:05Z")

</div>

Hi Elizaveta,

Thanks for sending a runnable copy of your experiment. It’ so much easier to debug a problem when I can reproduce it myself!

I see the issue: You dequeue the current video in “Post Sample Image Delay”, but your experiment never enters that state, instead going directly from “Present Sample Image” to “Present Test Images”. Because videos are never dequeued, their “played” state is never reset. This means that when you try to queue and play a video that you’ve already shown once, nothing happens, because the video has already ended. The fix is just to make sure you always dequeue each video after showing it.

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![eyakub](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@eyakub](https://mworks.discourse.group/u/eyakub)\
**Post date:** [May 1, 2025, 1:44am UTC](https://mworks.discourse.group/t/troubleshooting-audio-object-recognition-task/1089/5 "2025-05-01T01:44:25Z")

</div>

Hi Chris,

Thank you so much for your help! I have been able to correct the target on the expired timer in the “Present Sample Image” state to correct the issue.

Thank you again,

Elizaveta

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [May 1, 2025, 1:42pm UTC](https://mworks.discourse.group/t/troubleshooting-audio-object-recognition-task/1089/6 "2025-05-01T13:42:57Z")

</div>

Closed on May 1, 2025, 1:42pm UTC


