Time-domain scrambling of audio signals

Scramble audio signals by shuffling short-time windows

You are now following this Submission

These routines scramble an audio file by moving around short, overlapping windows within a local window. They can be used to create new versions of existing recordings that preserve the spectral content over longer time scales, but remove structure at shorter timescales. This can be useful e.g. for making speech unintelligible.

Routines are also included to shuffle Gammatone subbands independently, for further scrambling.

Code is also available from http://www.ee.columbia.edu/~dpwe/resources/matlab/scramble/

Includes Gammatone / ERB filtering routines lightly adapted from Malcolm Slaney's Auditory Toolbox,
http://cobweb.ecn.purdue.edu/~malcolm/interval/1998-010/

Cite As

Dan Ellis (2026). Time-domain scrambling of audio signals (https://www.mathworks.com/matlabcentral/fileexchange/29396-time-domain-scrambling-of-audio-signals), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Audio Processing Algorithm Design in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Updated with improved (refactored) code, include acknowledgment of the use of Malcolm Slaney's code as a starting point.

1.0.0.0