Closed RichardLitt closed 2 years ago
It sounds like the issue probably doesn't concern your audio file contents or sample rate, but rather the combination of the file name (in particular, the "Ithaca" part) and the station and device metadata that are in your archive. Whenever you import a recording, Vesper uses those metadata and the file name to figure out which station the recording is from and associate a microphone with each recording channel, and the "Could not infer recorder channel numbers for recording file" indicates that it couldn't do that. I'm happy to help debug such problems as they arise. I also plan to eliminate a lot of the device metadata that Vesper currently requires to simplify archive setup. This should make it easier to provide the information that Vesper needs to assign microphones to recording channels, especially for small (e.g. single-station, single-microphone) archives.
the combination of the file name (in particular, the "Ithaca" part) and the station and device metadata that are in your archive.
I agree.
I'm happy to help debug such problems as they arise.
Thanks. In that case, maybe let's close this? No need for a long-standing issue.
I also plan to eliminate a lot of the device metadata that Vesper currently requires to simplify archive setup. This should make it easier to provide the information that Vesper needs to assign microphones to recording channels, especially for small (e.g. single-station, single-microphone) archives.
This will help! Thank you!
I've run into this issue a few times, where I have a bad setup in one way or another, and when I try to import some Recordings, they fail because Vesper "Could not infer recorder channel numbers for recording file". I've run a diff on the output of
ffprobe -i Ithaca_2022-03-06_00.00.00_Z_01.wav -show_streams -select_streams a:0
on two files: my own, and the example audio that the Vesper docs suggest I use to start and test and instance. I found these results:My audio:
Example audio:
Of which the only difference was this:
I couldn't figure out how to change my WAV file to match the settings, so I scraped the entire Vesper instance and started over. I didn't run into the issue again.
I'm logging this because this isn't the first time I've had a channel issue for my files, which I always record in mono for Vesper and for NFCs. If I run into this again, I'm going to add to this here. For now, there might be some way to check whether the channel error is overfiring.