psychopy.org | Reference | Downloads | Github

sound_1.setSound(audio, secs=$sound)

version v1.85.6
Trying to play a movie with audio through movie properties backend avbin
SyntaxError: invalid syntax
sound_1.setSound(audio, secs=$sound)

coded:
sound = sound_1.getDuration()

sound_1 properties:
name: sound_1
start time 0.0
stop duration: $sound
sound: audio (set every repeat) volume : 1 (constant)

excel file: audio -->(column)
audio/name.wav

folder: audio
name.wav