Comments (4)
Hi there @sanosenx86
Is there a reason you need to use pygame for the sound player? The PTB engine is far superior in terms of performance and that's the strongest recommendation. Can you change your preferences to use that as the first listed option?
You should be seeing a warning within the app that this is strongly recommended when you run your study
from psychopy.
Hi there @sanosenx86 Is there a reason you need to use pygame for the sound player? The PTB engine is far superior in terms of performance and that's the strongest recommendation. Can you change your preferences to use that as the first listed option?
You should be seeing a warning within the app that this is strongly recommended when you run your study
Thank you for your reply. Yes, I have tried PTB at the first, and all the other engines; however, the sound plays weirdly (like 10x faster than it should be), I think it is relevant to the sampling rate but I have no idea how to fix it. Only pygame works as expected.
By the way, the experiment with pygame engine works well in v2022.2.3 version.
from psychopy.
For us to look at this one at all we would need the full stack-trace (to work out where the problematic seek call was being made) but we won't be willing to spend much time on this since our supprot for pygame is essentially deprecated in favour of the higher-performance sound engines. If you have a minimal demo (e.g. a sound file and the minimal code/exp) of the PTB engine failing, or some more information for us to work out what's gone wrong there then we'd prefer to fix that instead.
thanks
from psychopy.
I'm closing this for now pending further info. To reiterate, we really want to focus on a single audio engine so let us know how to get PTB working
from psychopy.
Related Issues (20)
- [Bug]: Pandas version differs across operating systems HOT 1
- [Bug]: 2024.1.1 is packaged with Python 3.8.x but will not run locally with said version HOT 2
- [Bug]: Two Counterbalance routines with the same name can be added / Conditions file is not updated in Counterbalance routine
- [Bug]:
- [Bug]: System default audio device not used in versions >= 2024
- [Bug]: `Dlg` example raises an exception HOT 2
- Is the entire `pyobjc` package collection required? HOT 1
- [Bug]: Use of pythonw on macos conda/mamba environments breaks app HOT 4
- [Bug]: Space character in column name of conditions file yields `UnboundLocalError` in Builder HOT 1
- [Bug]: Mistake in documentation for FormComponent
- [Bug]: OverflowError: line number table is too long
- [Bug]: pkg_resources is deprecated
- [Bug]: crash after launch on Ubuntu 22.04
- [Bug]: Not able to connect to my Pavlovia account when running local psychopy version HOT 4
- [Feature Request]: Using serial port without access to the port HOT 9
- [Bug]: Builder: Line drawing anchoring behavior is inconsistent with other polygons
- [Bug]: Psychopy standalone won't open HOT 2
- [Bug]: pyglet keyboard input not working on MacOS
- [Feature Request]: Builder: detect whether a Linux user can already change the priority, rather than checking for whether the .conf file exists? HOT 1
- [Bug]: Failed thread_policy_set with EyeLink eyetracker device HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psychopy.