# \#audio

**URL:** https://psychtoolbox.discourse.group/tag/audio/10.md

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

---

## [VBL endline beamposition queries and audio timestamping issues 2](https://psychtoolbox.discourse.group/t/vbl-endline-beamposition-queries-and-audio-timestamping-issues-2/5791)

<div class="topic-metadata">

**Author:** [@MBBP](https://psychtoolbox.discourse.group/u/MBBP)\
**Replies:** 4\
**Last updated:** [March 3, 2026, 6:46pm UTC](https://psychtoolbox.discourse.group/t/vbl-endline-beamposition-queries-and-audio-timestamping-issues-2/5791 "2026-03-03T18:46:58Z")

</div>

Psychtoolbox Version: 3.0.22 MATLAB Version: 2025b OS Name: Microsoft Windows 11 Enterprise Version: 10.0.22631 Processor: Intel(R) Core(™) Ultra 7 165H, 3800 Mhz, 16 Core(s), 22 Logical Processor(s) MATLAB: 9.13.0.…

---

## [ASIO now dual licensed under GPLv3](https://psychtoolbox.discourse.group/t/asio-now-dual-licensed-under-gplv3/5764)

<div class="topic-metadata">

**Author:** [@aforren1](https://psychtoolbox.discourse.group/u/aforren1)\
**Replies:** 0\
**Last updated:** [October 22, 2025, 1:53pm UTC](https://psychtoolbox.discourse.group/t/asio-now-dual-licensed-under-gplv3/5764 "2025-10-22T13:53:05Z")

</div>

Maybe relevant to some? Press release, SDK page

---

## [Inquiry Regarding PsychPortAudio('Stop') Function](https://psychtoolbox.discourse.group/t/inquiry-regarding-psychportaudio-stop-function/5689)

<div class="topic-metadata">

**Author:** [@yangzhangpsy](https://psychtoolbox.discourse.group/u/yangzhangpsy)\
**Replies:** 1\
**Last updated:** [April 15, 2025, 7:33pm UTC](https://psychtoolbox.discourse.group/t/inquiry-regarding-psychportaudio-stop-function/5689 "2025-04-15T19:33:54Z")

</div>

Dear Mario Kleiner, I have a quick question regarding the PsychPortAudio('Stop') function. According to the help documentation, this function is supposed to return four output parameters: \[audioStartTimeEnd, endPosition…

---

## [Psychportaudio: play 3 audio through 3 MOTU speakers all at the same time](https://psychtoolbox.discourse.group/t/psychportaudio-play-3-audio-through-3-motu-speakers-all-at-the-same-time/5649)

<div class="topic-metadata">

**Author:** [@fasumed](https://psychtoolbox.discourse.group/u/fasumed)\
**Replies:** 0\
**Last updated:** [February 21, 2025, 7:29pm UTC](https://psychtoolbox.discourse.group/t/psychportaudio-play-3-audio-through-3-motu-speakers-all-at-the-same-time/5649 "2025-02-21T19:29:59Z")

</div>

I need to play 3 sound files through 3 spatially located loudspeakers(front, left, right) all at the same time. We have a MOTU sound system connected to the 3 loudspeakers, however, psychportaudio shows 2 available chan…

---

## [PsychPortAudio freezes after first sound](https://psychtoolbox.discourse.group/t/psychportaudio-freezes-after-first-sound/5639)

<div class="topic-metadata">

**Author:** [@baptiste](https://psychtoolbox.discourse.group/u/baptiste)\
**Replies:** 3\
**Last updated:** [February 11, 2025, 9:36pm UTC](https://psychtoolbox.discourse.group/t/psychportaudio-freezes-after-first-sound/5639 "2025-02-11T21:36:05Z")

</div>

Hello. I experience an issue with PsychPortAudio on Ubuntu 22.04.4 LTS. I use the PTB 3.0.19.64715640, and PsychPortAudio 3.0.19.64657228. When running an experiment that used to work fine on another system, PsychPortA…

---

## [How to play 24 channel audio by motu sound card](https://psychtoolbox.discourse.group/t/how-to-play-24-channel-audio-by-motu-sound-card/4598)

<div class="topic-metadata">

**Author:** [@Maryam](https://psychtoolbox.discourse.group/u/Maryam)\
**Replies:** 13\
**Last updated:** [February 5, 2025, 8:32pm UTC](https://psychtoolbox.discourse.group/t/how-to-play-24-channel-audio-by-motu-sound-card/4598 "2025-02-05T20:32:25Z")

</div>

Hello! I want to use PsychPortAudio to play sound in 24Ao Motu sound card. we have 24 Speaker and we want to play mono sound in one speaker anytime. I know ASIO is supported by Motu, and find Motu in asioseetings()…

---

## [Unknown problem playing movies with Gstreamer on Ubuntu Linux](https://psychtoolbox.discourse.group/t/unknown-problem-playing-movies-with-gstreamer-on-ubuntu-linux/4876)

<div class="topic-metadata">

**Author:** [@snoah](https://psychtoolbox.discourse.group/u/snoah)\
**Replies:** 12\
**Last updated:** [November 21, 2024, 7:29pm UTC](https://psychtoolbox.discourse.group/t/unknown-problem-playing-movies-with-gstreamer-on-ubuntu-linux/4876 "2024-11-21T19:29:50Z")

</div>

Hello, I’m having problems getting movies to play with Psychtoolbox on my Ubuntu stimulus laptop. The same movie-playing script works fine on a different laptop running a mac operating system. My script is supposed to …

---

## [Best practice: TTL event triggers in PTB stimulus presentation loop](https://psychtoolbox.discourse.group/t/best-practice-ttl-event-triggers-in-ptb-stimulus-presentation-loop/4659)

<div class="topic-metadata">

**Author:** [@johannesjuliusm](https://psychtoolbox.discourse.group/u/johannesjuliusm)\
**Replies:** 6\
**Last updated:** [October 5, 2024, 2:30am UTC](https://psychtoolbox.discourse.group/t/best-practice-ttl-event-triggers-in-ptb-stimulus-presentation-loop/4659 "2024-10-05T02:30:14Z")

</div>

Dear community, I am working on an auditory experiment in which multiple short sounds (400ms long) are played in random order, which is controlled by a loop. For every sound onset, I wish to send an event marker (TTL pu…

---

## [Script is running, but no sounds are played](https://psychtoolbox.discourse.group/t/script-is-running-but-no-sounds-are-played/4997)

<div class="topic-metadata">

**Author:** [@Ellen](https://psychtoolbox.discourse.group/u/Ellen)\
**Replies:** 4\
**Last updated:** [August 19, 2024, 1:50pm UTC](https://psychtoolbox.discourse.group/t/script-is-running-but-no-sounds-are-played/4997 "2024-08-19T13:50:49Z")

</div>

Hi, I am setting up my audio-visual experiment. My code, which has video and audio, worked perfectly fine on my screen and computer (it is a PRIME B560M-A with Windows 11 version 22H2, 64-bit operating system and 11th G…

---

## [Using two Soundcards in Parallel (11 Channels needed)](https://psychtoolbox.discourse.group/t/using-two-soundcards-in-parallel-11-channels-needed/5341)

<div class="topic-metadata">

**Author:** [@Annaelisa7](https://psychtoolbox.discourse.group/u/Annaelisa7)\
**Replies:** 2\
**Last updated:** [May 21, 2024, 8:22am UTC](https://psychtoolbox.discourse.group/t/using-two-soundcards-in-parallel-11-channels-needed/5341 "2024-05-21T08:22:32Z")

</div>

Hello everybody, Is there a way to use two soundcards at the same time using psychportaudio on Windows? For a study we would like to play back mono sound from 11 separate speakers and we would need very low latency. Th…

---

## [Can I SkipSyncTests (ignore the synchronization failure) if I only play or record audio? (no need for precise visual presentation.)](https://psychtoolbox.discourse.group/t/can-i-skipsynctests-ignore-the-synchronization-failure-if-i-only-play-or-record-audio-no-need-for-precise-visual-presentation/5224)

<div class="topic-metadata">

**Author:** [@Long](https://psychtoolbox.discourse.group/u/Long)\
**Replies:** 1\
**Last updated:** [December 18, 2023, 10:29pm UTC](https://psychtoolbox.discourse.group/t/can-i-skipsynctests-ignore-the-synchronization-failure-if-i-only-play-or-record-audio-no-need-for-precise-visual-presentation/5224 "2023-12-18T22:29:42Z")

</div>

Dear all, I am running experiment which require audio playback and audio record with precise time accuracy, but no need to have very accuract visual presentation. Is it OK to ignore the synchronization failure in my ca…

---

## [Clicks in Video (with sound) display](https://psychtoolbox.discourse.group/t/clicks-in-video-with-sound-display/5160)

<div class="topic-metadata">

**Author:** [@Ellen](https://psychtoolbox.discourse.group/u/Ellen)\
**Replies:** 1\
**Last updated:** [November 3, 2023, 4:22pm UTC](https://psychtoolbox.discourse.group/t/clicks-in-video-with-sound-display/5160 "2023-11-03T16:22:20Z")

</div>

Hi everyone, I am performing an EEG experiment using Psychtoolbox to display the stimuli. In short, I play 500 stimuli of a female speaker pronouncing /ba/ after each other. So, it is a video+sound. Sometimes, around 12…

---

## [PTB Latency Modes not reacting as expected under PsychoPy + MS Windows](https://psychtoolbox.discourse.group/t/ptb-latency-modes-not-reacting-as-expected-under-psychopy-ms-windows/5114)

<div class="topic-metadata">

**Author:** [@ALopez](https://psychtoolbox.discourse.group/u/ALopez)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 9:13am UTC](https://psychtoolbox.discourse.group/t/ptb-latency-modes-not-reacting-as-expected-under-psychopy-ms-windows/5114 "2023-10-09T09:13:21Z")

</div>

Hi all, I’m seeing some odd behavior when presenting sound stimuli and using PTB latency modes. I’m synchronizing the sound presentation with a trigger output for an EEG experiment and when using Latency mode 3 I was ge…

---

## [Multichannel Audio in Ubuntu 22.04](https://psychtoolbox.discourse.group/t/multichannel-audio-in-ubuntu-22-04/5085)

<div class="topic-metadata">

**Author:** [@zilinex](https://psychtoolbox.discourse.group/u/zilinex)\
**Replies:** 5\
**Last updated:** [September 18, 2023, 5:04pm UTC](https://psychtoolbox.discourse.group/t/multichannel-audio-in-ubuntu-22-04/5085 "2023-09-18T17:04:03Z")

</div>

I would like to present multichannel audio using PsychPortAudio in Matlab under Ubuntu 22.04. I have installed a Creative Sound Blaster Audigy Fx - 5.1 PCIe Sound Card (https://au.creative.com/p/sound-blaster/sound-blas…

---

## [EyeLink video calibration issue on Ubuntu (22.04)](https://psychtoolbox.discourse.group/t/eyelink-video-calibration-issue-on-ubuntu-22-04/5059)

<div class="topic-metadata">

**Author:** [@dbNeg](https://psychtoolbox.discourse.group/u/dbNeg)\
**Replies:** 10\
**Last updated:** [August 10, 2023, 6:14pm UTC](https://psychtoolbox.discourse.group/t/eyelink-video-calibration-issue-on-ubuntu-22-04/5059 "2023-08-10T18:14:58Z")

</div>

I understand the following issue is likely on EyeLink’s side. Since there is a partnership undergoing between SRResearch and PTB development, I hope there is a joint effort to address this issue. I would be very happy to…

---

## [Audio device disappeared after movie playback](https://psychtoolbox.discourse.group/t/audio-device-disappeared-after-movie-playback/5005)

<div class="topic-metadata">

**Author:** [@dbNeg](https://psychtoolbox.discourse.group/u/dbNeg)\
**Replies:** 3\
**Last updated:** [June 4, 2023, 1:12pm UTC](https://psychtoolbox.discourse.group/t/audio-device-disappeared-after-movie-playback/5005 "2023-06-04T13:12:20Z")

</div>

Hi, I’ve encountered a very strange issue when I play audio and video in an experiment. I have an audio sound, a movie, and another audio clip playing sequentially. And I have to use PsychPortAudio(‘Open’) before the f…

---

## [Multichannel Windows audio playback problems when C++ 2015-2022 redistributable libraries are installed](https://psychtoolbox.discourse.group/t/multichannel-windows-audio-playback-problems-when-c-2015-2022-redistributable-libraries-are-installed/5002)

<div class="topic-metadata">

**Author:** [@jacanterbury](https://psychtoolbox.discourse.group/u/jacanterbury)\
**Replies:** 4\
**Last updated:** [May 29, 2023, 12:43pm UTC](https://psychtoolbox.discourse.group/t/multichannel-windows-audio-playback-problems-when-c-2015-2022-redistributable-libraries-are-installed/5002 "2023-05-29T12:43:14Z")

</div>

Warning to others. I was using PsychPortAudio through matlab with 8 output channels but when I ported the experiment to another Windows 10 box, it consistently performed incorrectly in specific, reproducible scenarios. …

---

## [Ubuntu 22.04: Issue with audio device in BasicSoundOutputDemo](https://psychtoolbox.discourse.group/t/ubuntu-22-04-issue-with-audio-device-in-basicsoundoutputdemo/4968)

<div class="topic-metadata">

**Author:** [@Jiji](https://psychtoolbox.discourse.group/u/Jiji)\
**Replies:** 5\
**Last updated:** [May 15, 2023, 1:29pm UTC](https://psychtoolbox.discourse.group/t/ubuntu-22-04-issue-with-audio-device-in-basicsoundoutputdemo/4968 "2023-05-15T13:29:38Z")

</div>

Hi everyone :slight\_smile: When I run the BasicSoundOutputDemo (Psychtoolbox-3 - BasicSoundOutputDemo), it crashes when trying to open a PortAudio audio device. I get these errors : PTB-INFO: Choosing deviceIndex 0 \[H…

---

## [Audio-related crash: "Desired audio parameters for device -1 unsupported by audio device: Illegal combination of I/O devices"](https://psychtoolbox.discourse.group/t/audio-related-crash-desired-audio-parameters-for-device-1-unsupported-by-audio-device-illegal-combination-of-i-o-devices/4879)

<div class="topic-metadata">

**Author:** [@martin.rolfs](https://psychtoolbox.discourse.group/u/martin.rolfs)\
**Replies:** 11\
**Last updated:** [March 13, 2023, 7:33pm UTC](https://psychtoolbox.discourse.group/t/audio-related-crash-desired-audio-parameters-for-device-1-unsupported-by-audio-device-illegal-combination-of-i-o-devices/4879 "2023-03-13T19:33:16Z")

</div>

MVDPSWVZ-20233722233:8e728b4166a96bd3a343654e87f74deedc80045367d4a096af3fec222311b01a Dear support team, dear Mario, We are experiencing a psychtoolbox error that we have never experienced before on any of our setups. …

---

## [Clicking noise in sonification](https://psychtoolbox.discourse.group/t/clicking-noise-in-sonification/4799)

<div class="topic-metadata">

**Author:** [@Andreas](https://psychtoolbox.discourse.group/u/Andreas)\
**Replies:** 3\
**Last updated:** [January 25, 2023, 12:55pm UTC](https://psychtoolbox.discourse.group/t/clicking-noise-in-sonification/4799 "2023-01-25T12:55:00Z")

</div>

Hi, I’m trying to use mouse positions for audio output modulation by frequency (y-axis) and channel weighting (x-axis). There are several ways to produce sounds with PsychPortAudio but independent of using (FillBuffer, …

---

## [Continuous sound input using PsychPortAudio](https://psychtoolbox.discourse.group/t/continuous-sound-input-using-psychportaudio/4796)

<div class="topic-metadata">

**Author:** [@ening](https://psychtoolbox.discourse.group/u/ening)\
**Replies:** 4\
**Last updated:** [January 23, 2023, 3:32pm UTC](https://psychtoolbox.discourse.group/t/continuous-sound-input-using-psychportaudio/4796 "2023-01-23T15:32:44Z")

</div>

Hi all, I’m trying to record audio using PsychPortAudio and noticed the following problems: In my case, I’m recording music, and each recording is about 180 secs. I follow the PsychDemos’s BasicSoundInputDemo, and for …

---

## [Configuration to utilize AudioFeedbackLatencyTest( ) correctly](https://psychtoolbox.discourse.group/t/configuration-to-utilize-audiofeedbacklatencytest-correctly/4787)

<div class="topic-metadata">

**Author:** [@AMale](https://psychtoolbox.discourse.group/u/AMale)\
**Replies:** 1\
**Last updated:** [January 20, 2023, 7:45pm UTC](https://psychtoolbox.discourse.group/t/configuration-to-utilize-audiofeedbacklatencytest-correctly/4787 "2023-01-20T19:45:18Z")

</div>

I am very fond of Psychtoolbox. I commend the writers for maintaining this invaluable tool. The psychtest I am having trouble with is the AudioFeedbackLatencyTest( ) %%% version function AudioFeedbackLatencyTest(roundt…

---

## [Portaudio - C++ Runtime Library error](https://psychtoolbox.discourse.group/t/portaudio-c-runtime-library-error/4716)

<div class="topic-metadata">

**Author:** [@sausili](https://psychtoolbox.discourse.group/u/sausili)\
**Replies:** 0\
**Last updated:** [December 1, 2022, 3:28pm UTC](https://psychtoolbox.discourse.group/t/portaudio-c-runtime-library-error/4716 "2022-12-01T15:28:36Z")

</div>

Any idea how to address this problem? Everything was working fine and now I have this error which is happening when opening a device with psyportaudio. specifically when running: PsychPortAudio(‘Open’… Really appre…

---

## [How to play multichannel audio without ASIO](https://psychtoolbox.discourse.group/t/how-to-play-multichannel-audio-without-asio/4562)

<div class="topic-metadata">

**Author:** [@qiuzelin](https://psychtoolbox.discourse.group/u/qiuzelin)\
**Replies:** 2\
**Last updated:** [August 8, 2022, 5:52am UTC](https://psychtoolbox.discourse.group/t/how-to-play-multichannel-audio-without-asio/4562 "2022-08-08T05:52:42Z")

</div>

Hello! I want to use PsychPortAudio to play multichannel(\>2) audio with a steinberg UR824 soundcard. I know now ASIO is not supported, but I can only find 2 channels through WASAPI. So I want to know how I can finis…

---

## [PTB-3 Launch on Ubuntu 22.04 on GNU Octave 6.4](https://psychtoolbox.discourse.group/t/ptb-3-launch-on-ubuntu-22-04-on-gnu-octave-6-4/4518)

<div class="topic-metadata">

**Author:** [@Atul](https://psychtoolbox.discourse.group/u/Atul)\
**Replies:** 1\
**Last updated:** [June 30, 2022, 5:16pm UTC](https://psychtoolbox.discourse.group/t/ptb-3-launch-on-ubuntu-22-04-on-gnu-octave-6-4/4518 "2022-06-30T17:16:21Z")

</div>

Hi, I am novice with PTB. I have installed Ubuntu 22.04, in dual boot, on my laptop. then downloaded GNU Octave 6.4 from “Ubuntu Software”. For PTB-3, I followed the commands given in Neurodebian for my Ubuntu version, …

---

## [How to add pink noise to a video?](https://psychtoolbox.discourse.group/t/how-to-add-pink-noise-to-a-video/4487)

<div class="topic-metadata">

**Author:** [@Len](https://psychtoolbox.discourse.group/u/Len)\
**Replies:** 3\
**Last updated:** [June 22, 2022, 2:43pm UTC](https://psychtoolbox.discourse.group/t/how-to-add-pink-noise-to-a-video/4487 "2022-06-22T14:43:36Z")

</div>

Hi! I’m coding an experiment in which we show short (3-5 s) videos containing audio, in which actors say some words. This works well. Now I need to add pink noise on top of the audio to make it hard to hear the actors’ w…

---

## [Audio and Surface Pen questions](https://psychtoolbox.discourse.group/t/audio-and-surface-pen-questions/4276)

<div class="topic-metadata">

**Author:** [@kcross](https://psychtoolbox.discourse.group/u/kcross)\
**Replies:** 9\
**Last updated:** [April 3, 2022, 8:17pm UTC](https://psychtoolbox.discourse.group/t/audio-and-surface-pen-questions/4276 "2022-04-03T20:17:47Z")

</div>

Priority Support Code: SMXY5-SB-20223185039:172c27b88cdf2b14d0e36f6d7673b52536bc53cd613984fa26b7ff10829afe7f I am looking for help on two separate questions on the following system: Surface Pro 6 3.0.18 - Flavor: Debi…

---

## [Generating a click stimuli](https://psychtoolbox.discourse.group/t/generating-a-click-stimuli/4136)

<div class="topic-metadata">

**Author:** [@Mohadeseh](https://psychtoolbox.discourse.group/u/Mohadeseh)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 5:06pm UTC](https://psychtoolbox.discourse.group/t/generating-a-click-stimuli/4136 "2021-12-10T17:06:33Z")

</div>

Hello everybody I want to generate a sound (a 5 dB sound) with a specefic charictristics ( frequency=250, I=3.1\*10^(-12), duration=1) when I run this program no sound generate, but this amplitude can generate 5 dB sound…

---

## [Audio volume does not change](https://psychtoolbox.discourse.group/t/audio-volume-does-not-change/4026)

<div class="topic-metadata">

**Author:** [@JScholl](https://psychtoolbox.discourse.group/u/JScholl)\
**Replies:** 5\
**Last updated:** [November 24, 2021, 12:25pm UTC](https://psychtoolbox.discourse.group/t/audio-volume-does-not-change/4026 "2021-11-24T12:25:50Z")

</div>

I am new to psychtoolbox and love it! It’s by far the best software for experiments I’ve used… I’ve managed to code a task with visual stimulation and that all works perfectly. I am struggling a bit adding an auditory st…

---

## [Simultaneous use of screen and beeper incompatibility between Windows 7 and Windows 10](https://psychtoolbox.discourse.group/t/simultaneous-use-of-screen-and-beeper-incompatibility-between-windows-7-and-windows-10/4133)

<div class="topic-metadata">

**Author:** [@etuflylab](https://psychtoolbox.discourse.group/u/etuflylab)\
**Replies:** 3\
**Last updated:** [November 23, 2021, 8:52pm UTC](https://psychtoolbox.discourse.group/t/simultaneous-use-of-screen-and-beeper-incompatibility-between-windows-7-and-windows-10/4133 "2021-11-23T20:52:57Z")

</div>

Hello, I am a new PTB user. In the designed experiment, we would like to have a beep sound while the stimulus on the screen is rotating. I would like to update an existing code working just fine on windows 7 and mac (be…

[Next page](https://psychtoolbox.discourse.group/tag/audio/10.md?match_all_tags=true&page=1&tags%5B%5D=audio)
