From: Erik C. <e.c...@sm...> - 2007-03-15 15:53:45
|
I am attempting to write a simple finger tapping task in PEBL. My stimuli are 6 WAV files of beeps at various intervals: subbeep1 <- LoadSound("sounds/subbeep1.wav") ## 250ms interval, 5s subbeep2 <- LoadSound("sounds/subbeep2.wav") ## 290ms interval, 5s subbeep3 <- LoadSound("sounds/subbeep3.wav") ## 330ms interval, 5s supbeep1 <- LoadSound("sounds/supbeep1.wav") ## 1400ms interval, 15s supbeep2 <- LoadSound("sounds/supbeep2.wav") ## 1800ms interval, 15s supbeep3 <- LoadSound("sounds/supbeep3.wav") ## 2000ms interval, 15s I have shuffled them to give me a random order which I want to present to my participants like so: stim <- Shuffle(subbeep1,subbeep2,subbeep3,supbeep1,supbeep2,supbeep3) loop(s,stim) { ## Trial stuff goes here - not worked out just yet... } My problems is - how do I write out to my data file which of the stimuli is being used? I can't do a Print(s) because the contents of the variable is audio not a string. |