| Reference | Downloads | Github

Error when specifying baseline in voice key

Hi there,

I’m trying to specify a specific baseline for the voice key using one of the listed configs, like this:

vpvk = vk.OnsetVoiceKey(sec=60,file_out=‘data/word.wav’,baseline=10)

However I’m getting this error:

Traceback (most recent call last):
File “/Users/brionybanks/Categorisation task/Pilot/”, line 378, in
File “/Applications/”, line 398, in start
AttributeError: ‘OnsetVoiceKey’ object has no attribute '_baselinetrig’
Exception RuntimeError: RuntimeError(‘sys.meta_path must be a list of import hooks’,) in <bound method ExperimentHandler.del of < object at 0x111aa1c90>> ignored
Exception TypeError: “‘NoneType’ object is not callable” in <bound method Server.del of <pyolib.server.Server object at 0x11e26fa90>> ignored

We think that the specified baseline is not overriding the default ‘baselinetrig’ attribute, i.e. it’s a bug in the code, but we don’t know how to fix it. Can anyone help?

Many thanks!