# When finding a player for the sound: could not find an appropriate player

**URL:** <https://discourse.psychopy.org/t/when-finding-a-player-for-the-sound-could-not-find-an-appropriate-player/25898>\
**Category:** Coding\
**Tags:** sound, online, pavlovia\
**Created:** [November 10, 2021, 3:39pm UTC](https://discourse.psychopy.org/t/when-finding-a-player-for-the-sound-could-not-find-an-appropriate-player/25898 "2021-11-10T15:39:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drfeinberg](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/drfeinberg/32/6594_2.png) [@drfeinberg](https://discourse.psychopy.org/u/drfeinberg)\
**Post date:** [November 10, 2021, 3:39pm UTC](https://discourse.psychopy.org/t/when-finding-a-player-for-the-sound-could-not-find-an-appropriate-player/25898/1 "2021-11-10T15:39:42Z")

</div>

Hi All,  
I’m having trouble presenting these wav files in Pavlovia. When I run it I get this error:  
“”"  
Unfortunately we encountered the following error:

- when finding a player for the sound
- **could not find an appropriate player.**

Try to run the experiment again. If the error persists, contact the experiment designer.  
“”"

This is the experiment URL: [jury\_psychopypsyexp-2 [PsychoPy]](https://run.pavlovia.org/fordesmc/testimony)

I have tried resampling the sounds and that did not change the error message. I have tested and the wav file do play normally in my browser if I drag and drop them in. I have another experiment with very similar code and the wav files play just fine: [PoliceSocialWorker (1) [PsychoPy]](https://run.pavlovia.org/feinbergdavid/policeperception).

If you have any ideas, please let me know. If anyone wants to look at the code, let me know.

---

<div class="post-metadata">

**Author:** ![drfeinberg](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/drfeinberg/32/6594_2.png) [@drfeinberg](https://discourse.psychopy.org/u/drfeinberg)\
**Post date:** [November 11, 2021, 4:57pm UTC](https://discourse.psychopy.org/t/when-finding-a-player-for-the-sound-could-not-find-an-appropriate-player/25898/2 "2021-11-11T16:57:54Z")

</div>

I have fixed this.

The problem was that in our excel files, we had the column title as “sound”, and that is the name of a class in pavlovia, so instead of finding the sound file, it found the object, and couldn’t play the files. I renamed that in excel to soundfile and it worked. I also had to rename the value field in “sound\_2” to soundfile (in where it calls it in the routine, not when it declares the variable before running anything).

Don’t name you columns “sound”
