-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WavSampleProvider
: Add a warning when channel_ids
are duplicated.
- Duplicating channel IDs means the same audio channel from a wav file represents multiple labels. - E.g. the user provides a one channel wav file and maps the single channel to both L2 and R2. - This is strange, but we can and have safely handled it for a while. Log and warn when this occurs. - Add tests for existing behavior: - `channel_ids` may be duplicated. - `channel_labels` may not be duplicated. - Drive-by: Update some names that are really just testing `Initialize`. PiperOrigin-RevId: 686896385
- Loading branch information
Showing
3 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters