Reply To: Saving Recordings with Appropriate Filename

PennController for IBEX Forums Support Saving Recordings with Appropriate Filename Reply To: Saving Recordings with Appropriate Filename

#7123
ginopino09
Participant

Hello Jeremy,
I tried this solution about a month ago and it was working, now I am back to work on my experiment and the debug shows this message: Unrecognized expression ‘variable’ (line inside PennController.Template) (PennController: 116).

Here what I wrote:

        Template("REAL_NDS", row =>  newTrial("ndsr",
            newText("+").css({'font-size':'1.5vw'}).print("center at 50%","middle at 50%"),	
            newTimer(500).start().wait(),
newText(row.WORD).css({'font-size':'1.5vw'}).print("center at 50%","middle at 50%"),
            newMediaRecorder(variable.REC, "audio").record(),
            newTimer(500).start().wait(),
            newKey("Enter").print().wait(),															
            newTimer("pad", 500).start().wait(),clear(),
                getMediaRecorder(variable.REC)
                .stop()
                .log()	))

My table:

AddTable("REAL_NDS",`Audio1,WORD,REC
sheep.wav,SHEEP,NDS_SHEEP_6_10
...`)

Do you have any idea why this is not working anymore?
Thank you!