# Sound quality is low for linguistic stimuli

**URL:** <https://discourse.psychopy.org/t/sound-quality-is-low-for-linguistic-stimuli/28132>\
**Category:** Builder\
**Tags:** sound\
**Created:** [March 22, 2022, 10:32am UTC](https://discourse.psychopy.org/t/sound-quality-is-low-for-linguistic-stimuli/28132 "2022-03-22T10:32:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![azizAkkaya](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/azizakkaya/32/33961_2.png) [@azizAkkaya](https://discourse.psychopy.org/u/azizAkkaya)\
**Post date:** [March 22, 2022, 10:32am UTC](https://discourse.psychopy.org/t/sound-quality-is-low-for-linguistic-stimuli/28132/1 "2022-03-22T10:32:16Z")

</div>

If this template helps then use it. If not then just delete and start from scratch.

**OS** : Win10  
**PsychoPy version** : 2021.2.3  
**Standard Standalone?** : yes  
**What are you trying to achieve?:**

I have created my experiment using the builder. However, when I run my experiment locally the sound quality changes. I use sound stimuli for my experiment. Specifically, some sentences are uttered in the sound files. The sound changes when I run the experiment locally. This problem disappears when I run it online. The sound files are wav.

**What did you try to make it work?:**

A similar problem was present for purely instrumental stimuli. And I am concerned about whether this will affect the sound patterns without my awareness and I will get incorrect results. Does anyone know the reason and how to fix it?

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [March 22, 2022, 7:01pm UTC](https://discourse.psychopy.org/t/sound-quality-is-low-for-linguistic-stimuli/28132/2 "2022-03-22T19:01:39Z")

</div>

Are you able to describe a little more how the sound changes? is it for example that it sounds higher pitched (indicating that the sampling frequency might be different?)

Thanks,  
Becca

---

<div class="post-metadata">

**Author:** ![azizAkkaya](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/azizakkaya/32/33961_2.png) [@azizAkkaya](https://discourse.psychopy.org/u/azizAkkaya)\
**Post date:** [March 23, 2022, 6:44am UTC](https://discourse.psychopy.org/t/sound-quality-is-low-for-linguistic-stimuli/28132/3 "2022-03-23T06:44:07Z")

</div>

Thank you Becca. Yes, exactly. It sounds higher pitched. I have created the sounds on Audacity with a sampling rate of 44100 Hz. Do you think the problem is related to this?

Thanks  
Aziz

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [March 23, 2022, 5:28pm UTC](https://discourse.psychopy.org/t/sound-quality-is-low-for-linguistic-stimuli/28132/4 "2022-03-23T17:28:14Z")

</div>

Hi Aziz,

Ah ok yes that may be the issue. There is a solution that may help described here: [Audio stimuli changed in pitch? - #11 by aeli](https://discourse.psychopy.org/t/audio-stimuli-changed-in-pitch/13800/11)

I believe that you may bee to resample your audio to be 48kz if possible?

Hope this helps,  
Becca

---

<div class="post-metadata">

**Author:** ![azizAkkaya](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/azizakkaya/32/33961_2.png) [@azizAkkaya](https://discourse.psychopy.org/u/azizAkkaya)\
**Post date:** [March 23, 2022, 6:49pm UTC](https://discourse.psychopy.org/t/sound-quality-is-low-for-linguistic-stimuli/28132/5 "2022-03-23T18:49:59Z")

</div>

Thank you Becca. I think I will try to change the settings.  
Best  
Aziz
