Skip to content

Fix bug when zeropadding wav files - #105

Open
sfregosi wants to merge 1 commit into
MarineBioAcousticsRC:masterfrom
sfregosi:zero-padding-bug-fix
Open

Fix bug when zeropadding wav files#105
sfregosi wants to merge 1 commit into
MarineBioAcousticsRC:masterfrom
sfregosi:zero-padding-bug-fix

Conversation

@sfregosi

Copy link
Copy Markdown
Contributor

WAV/FLAC gets read in as column vector, but XWAV gets read in as row vector, so can cause issues with concatenating the zeros. If/else statement checks size of 'data' and concatenates accordingly.

This is a cleaned-up version of #86 (many new additions to Triton made the commits a mess, will close) where this pull request only includes a single file change/commit.

Fixes issue flagged in #85 and related to #83.

wavs are read in as column vector vs xwavs read in as row vector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant