AudioLoader and process function behavior
ketos tutorial create_a_narw_detector is not working in the current ketos version.
The issue comes from running an audio loader multiple times without resetting it. In past ketos versions, the audio loader was reset by default at the end (the stop
argument was set to False
as default). But sometime between ketos 2.4.2 and ketos 2.6, this was changed (stop
is now set to True
).
We can, of course, just update the tutorial and call reset when needed with a text similar to the following: "Now to reuse the audio loader, we have to first rest it by calling xxx function"
But could you give an explanation as to why you changed stop
to True
by default? It seems to me that the most common use case would be to reset the audio loader by default so that it can be reused again if necessary.
Do you remember why this change was made? @kirsebom