# \#sound

**URL:** https://discourse.psychopy.org/tag/sound/17.md

[Latest](https://discourse.psychopy.org/latest.md) · [Categories](https://discourse.psychopy.org/categories.md) · [Tags](https://discourse.psychopy.org/tags.md)

---

## [PsychoPy stops playing audio files halfway through experiment but continues otherwise](https://discourse.psychopy.org/t/psychopy-stops-playing-audio-files-halfway-through-experiment-but-continues-otherwise/48142)

<div class="topic-metadata">

**Author:** [@floris.cos](https://discourse.psychopy.org/u/floris.cos)\
**Replies:** 5\
**Last updated:** [October 16, 2026, 9:17am UTC](https://discourse.psychopy.org/t/psychopy-stops-playing-audio-files-halfway-through-experiment-but-continues-otherwise/48142 "2026-10-16T09:17:52Z")

</div>

I’m preparing an EEG script in the coder (version 2026.2.4, Windows) in which I separately present video files (without audio) and audio files. During a testrun, I noticed that somewhere during the experiment, the audio …

---

## [No speaker device found with index None’ when using external microphone](https://discourse.psychopy.org/t/no-speaker-device-found-with-index-none-when-using-external-microphone/47903)

<div class="topic-metadata">

**Author:** [@mylinhtran.13](https://discourse.psychopy.org/u/mylinhtran.13)\
**Replies:** 10\
**Last updated:** [October 7, 2026, 9:45am UTC](https://discourse.psychopy.org/t/no-speaker-device-found-with-index-none-when-using-external-microphone/47903 "2026-10-07T09:45:11Z")

</div>

OS: Windows 11 PsychoPy version: 2026.1.3 Standard Standalone Installation? Yes Do you want it to also run online? No Hi everyone, I’m running an experiment in which participants listen to short audio descriptions o…

---

## [Error with auditory stimuli experiments](https://discourse.psychopy.org/t/error-with-auditory-stimuli-experiments/44921)

<div class="topic-metadata">

**Author:** [@marco.tettamanti](https://discourse.psychopy.org/u/marco.tettamanti)\
**Replies:** 3\
**Last updated:** [August 24, 2026, 3:29pm UTC](https://discourse.psychopy.org/t/error-with-auditory-stimuli-experiments/44921 "2026-08-24T15:29:08Z")

</div>

Hi all, I have a Thinkpad T14g5 laptop running Linux Debian: Linux bll4 6.12.27-amd64 #1 SMP PREEMPT\_DYNAMIC Debian 6.12.27-1 (2025-05-06) x86\_64 GNU/Linux I have installed Psychopy 2025.1.0 on a python3.10 virtual en…

---

## [UnboundLocalError: local variable 'watching' referenced before assignment](https://discourse.psychopy.org/t/unboundlocalerror-local-variable-watching-referenced-before-assignment/47563)

<div class="topic-metadata">

**Author:** [@Dzhaner\_Emilov\_Stefa](https://discourse.psychopy.org/u/Dzhaner_Emilov_Stefa)\
**Replies:** 2\
**Last updated:** [July 27, 2026, 1:57pm UTC](https://discourse.psychopy.org/t/unboundlocalerror-local-variable-watching-referenced-before-assignment/47563 "2026-07-27T13:57:48Z")

</div>

If this template helps then use it. If not then just delete and start from scratch. OS (e.g. Win10): PsychoPy version (e.g. 2026.1.3): Standard Standalone Installation? (y/n) yes Do you want it to also run online? (y…

---

## [Audios don't work on Pavlovia](https://discourse.psychopy.org/t/audios-dont-work-on-pavlovia/47431)

<div class="topic-metadata">

**Author:** [@JessicaGomes](https://discourse.psychopy.org/u/JessicaGomes)\
**Replies:** 4\
**Last updated:** [July 7, 2026, 10:20pm UTC](https://discourse.psychopy.org/t/audios-dont-work-on-pavlovia/47431 "2026-07-07T22:20:14Z")

</div>

Hi! I’m running an online experiment on Pavlovia and running into an audio playback issue. The first audio file always plays correctly, but every subsequent one fails with an “unknown resource” error — even though all t…

---

## [PsychoPy 2026.1.3 audio error: "No speaker device found with index 'None'" on macOS](https://discourse.psychopy.org/t/psychopy-2026-1-3-audio-error-no-speaker-device-found-with-index-none-on-macos/47300)

<div class="topic-metadata">

**Author:** [@emanuela\_phi](https://discourse.psychopy.org/u/emanuela_phi)\
**Replies:** 2\
**Last updated:** [July 2, 2026, 6:39pm UTC](https://discourse.psychopy.org/t/psychopy-2026-1-3-audio-error-no-speaker-device-found-with-index-none-on-macos/47300 "2026-07-02T18:39:26Z")

</div>

Hi everyone, I’m new to PsychoPy so please excuse me if this is a easy problem to solve. I’m trying to build a very simple experiment on macOS.The task is straightforward: participants press the space bar, a second rou…

---

## [Soundsensor/ Voice Onset](https://discourse.psychopy.org/t/soundsensor-voice-onset/47380)

<div class="topic-metadata">

**Author:** [@B\_A](https://discourse.psychopy.org/u/B_A)\
**Replies:** 1\
**Last updated:** [June 30, 2026, 11:12pm UTC](https://discourse.psychopy.org/t/soundsensor-voice-onset/47380 "2026-06-30T23:12:58Z")

</div>

Hi everyone, I am building a picture naming experiment in PsychoPy 2026.1.3 on Windows. The experiment shows pictures from a conditions file and records spoken responses. What I need is voice onset latency: the time be…

---

## [Loop medias do not change](https://discourse.psychopy.org/t/loop-medias-do-not-change/47340)

<div class="topic-metadata">

**Author:** [@Chester](https://discourse.psychopy.org/u/Chester)\
**Replies:** 10\
**Last updated:** [June 23, 2026, 12:47pm UTC](https://discourse.psychopy.org/t/loop-medias-do-not-change/47340 "2026-06-23T12:47:51Z")

</div>

If this template helps then use it. If not then just delete and start from scratch. Mac Tahoe PsychoPy 2026.1.3 Standard Standalone Installation? (y) URL of experiment: localhost Do you want it to also run locally? …

---

## [Static component with sound](https://discourse.psychopy.org/t/static-component-with-sound/47322)

<div class="topic-metadata">

**Author:** [@KateT](https://discourse.psychopy.org/u/KateT)\
**Replies:** 7\
**Last updated:** [June 16, 2026, 3:30pm UTC](https://discourse.psychopy.org/t/static-component-with-sound/47322 "2026-06-16T15:30:53Z")

</div>

OS (e.g. Win10): Win10 PsychoPy version (e.g. 2024.2.4 Py 3.8): 2024.2.4 Py 3.10.11 Standard Standalone Installation? (y/n) yes URL of experiment: I tried to make it public, but it gave me a warning about avatar size…

---

## [Audio issues when running experiment online](https://discourse.psychopy.org/t/audio-issues-when-running-experiment-online/47296)

<div class="topic-metadata">

**Author:** [@Johannes](https://discourse.psychopy.org/u/Johannes)\
**Replies:** 4\
**Last updated:** [June 11, 2026, 2:21pm UTC](https://discourse.psychopy.org/t/audio-issues-when-running-experiment-online/47296 "2026-06-11T14:21:57Z")

</div>

jsPsych version (e.g. 7.3.1): 2025.1.1 Hi, i’m new to PsychoPy and trying to make my experiment run online. It’s a word learning paradigm with short audio stimuli (words). The first (sometimes the first few) items plays…

---

## [Dynamic Sound component not playing online in PsychoPy 2026.1.3](https://discourse.psychopy.org/t/dynamic-sound-component-not-playing-online-in-psychopy-2026-1-3/47289)

<div class="topic-metadata">

**Author:** [@Chester](https://discourse.psychopy.org/u/Chester)\
**Replies:** 5\
**Last updated:** [June 10, 2026, 1:11pm UTC](https://discourse.psychopy.org/t/dynamic-sound-component-not-playing-online-in-psychopy-2026-1-3/47289 "2026-06-10T13:11:18Z")

</div>

PsychoPy 2026.1.3, macos tahoe 26.4.1, Safari browser A Sound component with a dynamic value ($voice\_context, set every repeat) works correctly in local PsychoPy but fails to play online. The sound property dropdown is …

---

## [Auditory Digit Span Task](https://discourse.psychopy.org/t/auditory-digit-span-task/19808)

<div class="topic-metadata">

**Author:** [@mayling](https://discourse.psychopy.org/u/mayling)\
**Replies:** 5\
**Last updated:** [June 9, 2026, 11:44am UTC](https://discourse.psychopy.org/t/auditory-digit-span-task/19808 "2026-06-09T11:44:13Z")

</div>

URL of experiment: gitlab link Pavlovia (set to running): online experiment Description of the problem: I am planning for an auditory digit span task. In this task, participants hear the numbers (during the presentatio…

---

## [Presenting an audio sound with certain stimuli but not others](https://discourse.psychopy.org/t/presenting-an-audio-sound-with-certain-stimuli-but-not-others/38440)

<div class="topic-metadata">

**Author:** [@ea\_ie](https://discourse.psychopy.org/u/ea_ie)\
**Replies:** 8\
**Last updated:** [June 4, 2026, 11:47am UTC](https://discourse.psychopy.org/t/presenting-an-audio-sound-with-certain-stimuli-but-not-others/38440 "2026-06-04T11:47:00Z")

</div>

Hi, I’m hoping someone can help me understand the best way to implement this as I’m a beginner to coding and struggling to figure this out. Is it possible to do the below using a coding element in builder? What are you …

---

## [Audio files stop working partway through experiment in Pavlovia](https://discourse.psychopy.org/t/audio-files-stop-working-partway-through-experiment-in-pavlovia/46479)

<div class="topic-metadata">

**Author:** [@Calvin\_Engstrom](https://discourse.psychopy.org/u/Calvin_Engstrom)\
**Replies:** 9\
**Last updated:** [May 23, 2026, 3:58pm UTC](https://discourse.psychopy.org/t/audio-files-stop-working-partway-through-experiment-in-pavlovia/46479 "2026-05-23T15:58:05Z")

</div>

PsychoPy version: 2025.2.3 Standard Standalone Installation? Y Do you want it to also run locally? N What are you trying to achieve?: My experiment loops through a conditions file and pulls a separate audio file (.wav…

---

## [Send triggers from psychopy to EEG recorder using MMBT-S](https://discourse.psychopy.org/t/send-triggers-from-psychopy-to-eeg-recorder-using-mmbt-s/39295)

<div class="topic-metadata">

**Author:** [@Shun](https://discourse.psychopy.org/u/Shun)\
**Replies:** 2\
**Last updated:** [May 23, 2026, 3:38pm UTC](https://discourse.psychopy.org/t/send-triggers-from-psychopy-to-eeg-recorder-using-mmbt-s/39295 "2026-05-23T15:38:47Z")

</div>

I would like to use MMBT-S to trigger the EEG recording machine from psychopy. The current status of the device is as follows Windows: 11 (We have confirmed that the same error occurs in windows 10.) Psychopy v2023.2.…

---

## [Some audio files don't play on pavlovia, instead play a click sound](https://discourse.psychopy.org/t/some-audio-files-dont-play-on-pavlovia-instead-play-a-click-sound/46103)

<div class="topic-metadata">

**Author:** [@yilmazozy](https://discourse.psychopy.org/u/yilmazozy)\
**Replies:** 6\
**Last updated:** [May 21, 2026, 8:04pm UTC](https://discourse.psychopy.org/t/some-audio-files-dont-play-on-pavlovia-instead-play-a-click-sound/46103 "2026-05-21T20:04:36Z")

</div>

Hi everyone. I’m trying to make a serial order reconstruction task (participants hear words, and then click on the words in the order they heard them in) on psychopy and publish it on pavlovia. however, I’m doing a modif…

---

## [How to allocate participants to 1 of 3 conditions](https://discourse.psychopy.org/t/how-to-allocate-participants-to-1-of-3-conditions/47077)

<div class="topic-metadata">

**Author:** [@skull666eater](https://discourse.psychopy.org/u/skull666eater)\
**Replies:** 1\
**Last updated:** [May 5, 2026, 2:49am UTC](https://discourse.psychopy.org/t/how-to-allocate-participants-to-1-of-3-conditions/47077 "2026-05-05T02:49:04Z")

</div>

Hi all, i am a student trying to make an experiment testing the effects of different sounds on memory. I am new to psychopy and want to randomly allocate participants to 1 of 3 conditions, where in each condition they w…

---

## [Audio File Name](https://discourse.psychopy.org/t/audio-file-name/47009)

<div class="topic-metadata">

**Author:** [@cz\_8](https://discourse.psychopy.org/u/cz_8)\
**Replies:** 10\
**Last updated:** [April 24, 2026, 4:51pm UTC](https://discourse.psychopy.org/t/audio-file-name/47009 "2026-04-24T16:51:02Z")

</div>

OS (e.g. Win10): macOS Tahoe 26.4.1 PsychoPy version (e.g. 2024.2.4 Py 3.8): v2026.1.3 Standard Standalone Installation? (y/n) y Do you want it to also run online? (y/n) n Hi! I am currently designing a study that w…

---

## [The "set every repeat" is unavailable for sound component](https://discourse.psychopy.org/t/the-set-every-repeat-is-unavailable-for-sound-component/42799)

<div class="topic-metadata">

**Author:** [@Zhangyun\_Sui](https://discourse.psychopy.org/u/Zhangyun_Sui)\
**Replies:** 7\
**Last updated:** [April 14, 2026, 6:19am UTC](https://discourse.psychopy.org/t/the-set-every-repeat-is-unavailable-for-sound-component/42799 "2026-04-14T06:19:00Z")

</div>

If this template helps then use it. If not then just delete and start from scratch. OS (e.g. Win11): PsychoPy version (StandalonePsychoPy-2024.2.3-win64-py3.8): \*\*What are you trying to achieve?: The “set every repeat…

---

## [Delay between video and sound in psychopy](https://discourse.psychopy.org/t/delay-between-video-and-sound-in-psychopy/46964)

<div class="topic-metadata">

**Author:** [@Alexandra-Hertz](https://discourse.psychopy.org/u/Alexandra-Hertz)\
**Replies:** 2\
**Last updated:** [April 13, 2026, 7:17am UTC](https://discourse.psychopy.org/t/delay-between-video-and-sound-in-psychopy/46964 "2026-04-13T07:17:52Z")

</div>

Hello, I am using moviestim3 with ptb as audiolib, and ffpyplayer for movielib. When I am playing 1080p videos at 60fps, there is a significative lag between the video and the sound of the video (sound is late). Did anyo…

---

## [Online study microphone data saved for each trial](https://discourse.psychopy.org/t/online-study-microphone-data-saved-for-each-trial/42555)

<div class="topic-metadata">

**Author:** [@AelinSar](https://discourse.psychopy.org/u/AelinSar)\
**Replies:** 5\
**Last updated:** [April 7, 2026, 9:53pm UTC](https://discourse.psychopy.org/t/online-study-microphone-data-saved-for-each-trial/42555 "2026-04-07T21:53:33Z")

</div>

URL of experiment: Pavlovia Description of the problem: So I need to conduct an online semantic decision study with about 160 trials, from each trial, besides semantic decision RT I also need a short audio file (0.5 to …

---

## [Recording amplitude mismatch - amplitude too high on psychopy, causing clipping](https://discourse.psychopy.org/t/recording-amplitude-mismatch-amplitude-too-high-on-psychopy-causing-clipping/46861)

<div class="topic-metadata">

**Author:** [@mchat](https://discourse.psychopy.org/u/mchat)\
**Replies:** 0\
**Last updated:** [March 23, 2026, 8:38pm UTC](https://discourse.psychopy.org/t/recording-amplitude-mismatch-amplitude-too-high-on-psychopy-causing-clipping/46861 "2026-03-23T20:38:22Z")

</div>

Hi everyone, I am using psychopy to record audio, and the outputted recording volume is very high and does not match gain tests from other software. I test the recording gain on Praat before running the experiment, and …

---

## [No more sound played when using external monitor](https://discourse.psychopy.org/t/no-more-sound-played-when-using-external-monitor/40067)

<div class="topic-metadata">

**Author:** [@johannesjuliusm](https://discourse.psychopy.org/u/johannesjuliusm)\
**Replies:** 7\
**Last updated:** [March 23, 2026, 12:45pm UTC](https://discourse.psychopy.org/t/no-more-sound-played-when-using-external-monitor/40067 "2026-03-23T12:45:19Z")

</div>

OS: Win10 Pro PsychoPy version: 2024.1.0 and 2024.1.4 Standard Standalone? (y/n): yes An experiment that worked well in PsychoPy v2023.2.4 suddenly gives us a head-ache after an update to 2024.1.0, specifically for so…

---

## [Audio issues in pavlovia with certain browsers](https://discourse.psychopy.org/t/audio-issues-in-pavlovia-with-certain-browsers/46750)

<div class="topic-metadata">

**Author:** [@KateT](https://discourse.psychopy.org/u/KateT)\
**Replies:** 0\
**Last updated:** [March 4, 2026, 7:03pm UTC](https://discourse.psychopy.org/t/audio-issues-in-pavlovia-with-certain-browsers/46750 "2026-03-04T19:03:51Z")

</div>

OS (e.g. Win10): Win11 PsychoPy version (e.g. 2024.2.4 Py 3.8): 24.2.4 Py Standard Standalone Installation? (y/n) If not then what?: y URL of experiment: Do you want it to also run locally? (y/n) n The problem I a…

---

## [Psychopy audio corrupted on new computer](https://discourse.psychopy.org/t/psychopy-audio-corrupted-on-new-computer/44698)

<div class="topic-metadata">

**Author:** [@kj537](https://discourse.psychopy.org/u/kj537)\
**Replies:** 3\
**Last updated:** [March 4, 2026, 4:37pm UTC](https://discourse.psychopy.org/t/psychopy-audio-corrupted-on-new-computer/44698 "2026-03-04T16:37:34Z")

</div>

Hi all, I’m having an issue where audio files which play fine on my computer (Mac M3 2024) but are completely distorted on an older mac (MacBook Air 2015). The task iteratively uses different audio clips, and when it pl…

---

## [Sound Problems when Running the Experiment Online Browser](https://discourse.psychopy.org/t/sound-problems-when-running-the-experiment-online-browser/46593)

<div class="topic-metadata">

**Author:** [@gift\_ayo](https://discourse.psychopy.org/u/gift_ayo)\
**Replies:** 2\
**Last updated:** [February 14, 2026, 8:56am UTC](https://discourse.psychopy.org/t/sound-problems-when-running-the-experiment-online-browser/46593 "2026-02-14T08:56:51Z")

</div>

OS (e.g. Win10): Windows 11 PsychoPy version (e.g. 2024.2.4 Py 3.8): Psychopy 2024.2.4 Standard Standalone Installation? (y/n) Yes URL of experiment: Pilot\_Audio.psyexp (72.0 KB) What are you trying to achieve?: …

---

## [Failing to record more than appr. 30 seconds](https://discourse.psychopy.org/t/failing-to-record-more-than-appr-30-seconds/46542)

<div class="topic-metadata">

**Author:** [@LeaElias](https://discourse.psychopy.org/u/LeaElias)\
**Replies:** 1\
**Last updated:** [February 6, 2026, 9:10pm UTC](https://discourse.psychopy.org/t/failing-to-record-more-than-appr-30-seconds/46542 "2026-02-06T21:10:37Z")

</div>

Long time reader, first time writer! OS (e.g. Win10): Win11 PsychoPy version (e.g. 2024.2.4 Py 3.8): 2025.2.3 What are you trying to achieve? I am using a microphone component to record my participants describing the…

---

## [Repeat button for sounds does not work on Pavlovia](https://discourse.psychopy.org/t/repeat-button-for-sounds-does-not-work-on-pavlovia/45120)

<div class="topic-metadata">

**Author:** [@Marcus\_Vinicius](https://discourse.psychopy.org/u/Marcus_Vinicius)\
**Replies:** 6\
**Last updated:** [February 5, 2026, 1:44pm UTC](https://discourse.psychopy.org/t/repeat-button-for-sounds-does-not-work-on-pavlovia/45120 "2026-02-05T13:44:01Z")

</div>

OS (e.g. Win10): Win10 PsychoPy version : 2024.2.4 What are you trying to achieve? : I would like a repeat button to replay a sound with each new click in a routine. Hi! I’m trying to make a repeat button for sound st…

---

## [Audio files stop playing after a few trials in online study](https://discourse.psychopy.org/t/audio-files-stop-playing-after-a-few-trials-in-online-study/40384)

<div class="topic-metadata">

**Author:** [@EllaVan](https://discourse.psychopy.org/u/EllaVan)\
**Replies:** 3\
**Last updated:** [January 30, 2026, 2:16pm UTC](https://discourse.psychopy.org/t/audio-files-stop-playing-after-a-few-trials-in-online-study/40384 "2026-01-30T14:16:36Z")

</div>

Hi everyone :slightly\_smiling\_face: I am conducting an online experiment on Pavlovia involving 18 trials where an audio file (currently .wav, but also tried .mp3) and a video file (.mp4, with muted audio) play simultane…

---

## [PTB error: audio device has 4 output channels but stereo audio provided](https://discourse.psychopy.org/t/ptb-error-audio-device-has-4-output-channels-but-stereo-audio-provided/46460)

<div class="topic-metadata">

**Author:** [@CeollaDOR](https://discourse.psychopy.org/u/CeollaDOR)\
**Replies:** 0\
**Last updated:** [January 22, 2026, 6:39pm UTC](https://discourse.psychopy.org/t/ptb-error-audio-device-has-4-output-channels-but-stereo-audio-provided/46460 "2026-01-22T18:39:39Z")

</div>

Hi I’m trying to run a PsychoPy experiment using an external sound card (USB audio interface) connected to a speaker, but I keep encountering the following error when using the PTB audio backend: PTB-ERROR: Audio devi…

[Next page](https://discourse.psychopy.org/tag/sound/17.md?match_all_tags=true&page=1&tags%5B%5D=sound)
