Permalink
Browse files

no sound present delay

removed the 0.5 second delay of presenting sound to maintain time
between stimuli
  • Loading branch information...
1 parent 29c7fad commit c5102fd931736cc1915f3c1907df36d711a14193 ctmdev committed Dec 24, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/MegProsodyAuto.py
View
8 src/MegProsodyAuto.py
@@ -183,17 +183,15 @@
# update/draw components on each frame
# *fixation* updates
- #TIMEFIX: added a 0.5 second delay preceeding
- if t >= 0.5 and fixation.status == NOT_STARTED:
+ if t >= 0.0 and fixation.status == NOT_STARTED:
# keep track of start time/frame for later
fixation.tStart = t # underestimates by a little under one frame
fixation.frameNStart = frameN # exact frame index
fixation.setAutoDraw(True)
elif fixation.status == STARTED and t >= 0.5 + stimLength:
fixation.setAutoDraw(False)
# start/stop megStim
- #TIMEFIX: added a 0.5 second delay preceeding
- if t >= 0.5 and megStim.status == NOT_STARTED:
+ if t >= 0.0 and megStim.status == NOT_STARTED:
#PARALLEL CLEAR
parallel.setData(0) #sets all pins low
@@ -206,7 +204,7 @@
parallel.setData(trigg_code) #sends trigg_code from conditions file
#PARALLEL CHECK
- if t >= 0.5 + 0.05 and megStim.status == NOT_STARTED:
+ if t >= 0.0 + 0.05 and megStim.status == NOT_STARTED:
parallel.setData(0)
#TIMEFIX: changes megStim.status to FINISHED after duration

0 comments on commit c5102fd

Please sign in to comment.