PennController for IBEX › Forums › Support › Recording Audio › Reply To: Recording Audio
April 28, 2020 at 11:02 am
#5147
Jeremy
Keymaster
Hello,
Do you have a Sequence command anywhere in your script? If so, you need to be explicit about when you want the InitiateRecorder trial to run. So for example you could do this (I’m shortening the commands from your code, consistently with PennController 1.7):
Sequence( "init" , randomize("choice1") ) InitiateRecorder("https://XXXXXXXXXXXXXX/ibex.php") .label("init") Template( "XXXXXXXXX.tsv", row => newTrial( "choice1" , newVoiceRecorder("recorder") .print() , newText("nameInput", row.Sentence ) .center() .print() , // Adding a validation button (feels wrong to end the trial when the slider gets released) newButton("validate", "Next") .center() .print() .wait() ) )
Jeremy