Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add options to fix clipping and apply peak normalization to the gener…
…ated soundscape (#132) * bump version to 1.6.3 * Remove unused imports and clean up formatting * Implement peak normalize * First pass at fix_clipping and peak_normalization, tests failing * fix bug in code for saving isolated events audio * test peak_normalize * Warn user when ref_db changes due to clipping prevention * Return ref_db_change * update regression jams with new generate fields * Store all generation parmas in the jams sandbox * Add ability to exclude sandbox keys from jams comparison * exclude sandbox keys not relevant to tests * add new sandbox fields to prevent unit test fail on load * add tests for clipping and normalization * Remove pyrsistent==0.15.4 dep since we've dropped 2.7 and 3.4 * Update changelog * start working on more tests, commented out for now * make generate from jams backward compatible with files that don't have fix_clipping and peak_normalization * test generating from file that doesn't have fix_clipping and peak_normalization * regression * Almost done with tests... * Fixing generate_from_jams so it saves to the ann. * move transformer creation into conditional reverb block. MUST apply reverb AFTER peak normalization, doesn't work otherwise (in sox) * Use os.makedirs(..., exist_ok=True), update some inline comments * Updating profile script. Co-authored-by: pseeth <[email protected]>
- Loading branch information