As it is now, duration and sample rate are needed to create a Recording object, before loading the file. This is because headers are read in the GUI but kind of useless when creating a single object for testing
Besides, when loading, property sr is set instead of sample_rate. Make sure this is not used elsewhere.
As it is now, duration and sample rate are needed to create a Recording object, before loading the file. This is because headers are read in the GUI but kind of useless when creating a single object for testing Besides, when loading, property sr is set instead of sample_rate. Make sure this is not used elsewhere.