wichmann-lab / psychopy-pixx

Psychophysical experiments with high luminance resolution in Python, using Psychopy and VPixx devices
GNU Lesser General Public License v3.0
5 stars 5 forks source link

Feature: Datapixx audio #1

Open dekuenstle opened 2 years ago

dekuenstle commented 2 years ago

The Viewpixx/Datapixx can be used to play sounds, too. It would be great to create a psychopy sound backend that uses pypixxlib's audio functions. Ultimately, the backend should provide a sound class (i.e. play, stop, ...) and a getDevices function. This backend should replace the default before the experiment starts (like here)

Here is a minimal example of how to play sound with pypixxlib.