Changes

Jump to navigation Jump to search
189 bytes added ,  13:29, 13 June 2023
Line 21: Line 21:  
<syntaxhighlight lang="python" line>
 
<syntaxhighlight lang="python" line>
 
from psychopy import sound, core
 
from psychopy import sound, core
 +
from psychopy import prefs
 +
prefs.hardware['audioLib'] = ['PTB']
 +
 +
#preBuffer – integer to control streaming/buffering -1 means store all
 +
piep = sound.Sound('1000hzsine.wav',preBuffer=-1)
    
# Pad naar het audiobestand
 
# Pad naar het audiobestand

Navigation menu