neuro-team-femto / cleese

Combinatorial Expressive Speech Engine
MIT License
42 stars 10 forks source link

Bpf file format #25

Closed jjau closed 5 months ago

jjau commented 5 months ago

What

This PR changes the format of the BPF files that are stored by PhaseVocoder and FaceWarp to make them directly compatible with deployment in the JONES/revcor app (issue #18)

Why

The revcor online experimentation app expects (1) that parameters are stored in filenames with the same basename as the stimuli and the .txt extension (2) file format with a header (which is used to get column names in the dataframe storing experiment's results) and (3) comma-separated. CLEESE's PhaseVocoder fixed behaviour so far has files as "_bpf.txt", no header, and tab separated. FaceWarp has header and comma-separated, and the ability to change file ext, but default is ".dfm"

How

Testing

Tested using the speech and face tutorial, checking correct file format and names in single calls & chained.