I am writing a work for an experiment, I need a user to make that 400 sound pure wink and 600 Interval between MS, but - changes the interval period in 10% of the interval.
The user every time changes in that period (time is required to avoid in the array ..) and if there is no change then the user will not touch the key. (That is why it is 1 for input , For input 1)
for i = 1: pulse_number; Wavplay (amplitude * beep, senior, 'async') pause (ISIRRA (i)) Variable interval end array I have no way to run and collect loop
Thanks for the input of the user ( GetChar (psychotoolbox) user input waiting to move forward)
Use KbCheck or KbQCheck (if using queue). You will not be able to use punctuation, instead, use a while loop:
start_time = GetSecs; While GetSecs - start_time & lt; Interval_district (i) [press second] = backcrack; End
No comments:
Post a Comment