Skip to content
Browse files

pad stimuli duration by 1 frame

extend stimuli duration by 1 frame to ensure entire audio is played
  • Loading branch information...
1 parent 3f3082b commit bf9caa00951dd23364a44042ed7817bf86aac1fd ctmdev committed Jan 3, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/MegProsodyAutoFrame.py
View
3 src/MegProsodyAutoFrame.py
@@ -173,7 +173,8 @@
#TIMEFIX: gets the duration of the wav file for bawaSound
stimLength = megStim.getDuration()
- stimFrameLen = stimLength * 60 # gives the stim duration in frames (60 Hz)
+ # gives the stim duration in frames (60 Hz) & padded by 1 frame
+ stimFrameLen = stimLength * 60 + 1
#-------Start Routine "soundPresent"-------

0 comments on commit bf9caa0

Please sign in to comment.
Something went wrong with that request. Please try again.