# Audio stimuli changed in pitch?

**URL:** <https://discourse.psychopy.org/t/audio-stimuli-changed-in-pitch/13800>\
**Category:** Builder\
**Tags:** sound\
**Created:** [May 29, 2020, 7:10pm UTC](https://discourse.psychopy.org/t/audio-stimuli-changed-in-pitch/13800 "2020-05-29T19:10:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![LukasPsy](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/lukaspsy/32/4582_2.png) [@LukasPsy](https://discourse.psychopy.org/u/LukasPsy)\
**Post date:** [June 2, 2020, 6:10am UTC](https://discourse.psychopy.org/t/audio-stimuli-changed-in-pitch/13800/2 "2020-06-02T06:10:42Z")

</div>

> [@aisa2](#):
>
> This has been working well for the past few weeks, but today I ran it and the pitch of the stimuli was increased by a little over an octave.

Did you change anything in the meantime - install a new version of Psychopy or change the sound files?  
If the behaviour is due to the sound library mistaking your sampling rate, you could edit your sound as suggested in the post you quote:

> [@Playing sounds (wav files) on a mac (1.90.2 / 1.90.3 differences)](https://discourse.psychopy.org/t/playing-sounds-wav-files-on-a-mac-1-90-2-1-90-3-differences/4771/3):
>
> It might be worth opening it in Audacity and checking what it is and potentially saving it a a different sampling rate (check elsewhere for recommended frequencies).

If you’re planning on running your experiment online, your choice of the offline Python sound library is irrelevant as far as I know. But if the sampling rate is to blame, you may still want to check, because you might get the same problem when running online with the PsychoJS counterpart of the sound libraries of Psychopy.

---

_[View the full topic](https://discourse.psychopy.org/t/audio-stimuli-changed-in-pitch/13800)._
