USURP (Unwanted SoUnd RePlacement)
The Child Mind Institute is developing USURP (Unwanted SoUnd RePlacement) as an open source software package to automate the replacement of unwanted sounds with sounds comparable to ambient noise in the rest of a given soundfile.
.. toctree:: :maxdepth: 1 license
.. todo:: `sound resynthesis <https://github.com/ChildMindInstitute/USURP/sound_resynthesis>`_
- audio file :
- labels :
USURP takes 16-bit waveform soundfiles (
.wav) as inputs. USURP is capable of converting the following filetypes to 16-bit waveforms:
- Material eXchange Format (
- MPEG Audio Layer III (
- 32-bit waveform (
Currently, USURP also needs start times and stop times marked in a labeled XML file, which can be generated in Audacity. Unwanted sounds must be silenced and have their temporal boundaries marked for optimal performance.
- If necessary, convert inputs to 16-bit waveforms.
- Find a likely ambient clip elsewhere in the file by choosing a segment with no peaks at or above a given threshold (default threshold: median of the amplitude envelope of the entire file). Copy that clip into each of the segments labeled for replacement.
- Collapse the marked silences, shortening the file.
- Output the new files.
- Clone replacement (
- Timeshifted replacement (