Skip to content

Instantly share code, notes, and snippets.

@jsoffer
Last active December 24, 2015 10:49
Show Gist options
  • Save jsoffer/6786639 to your computer and use it in GitHub Desktop.
Save jsoffer/6786639 to your computer and use it in GitHub Desktop.
Mezcla una canción consigo misma
# lame --decode song.mp3 song.wav
WAV=$1
OFFSET=$2
# podría integrar los cambios en un solo comando,
# sin usar archivos intermedios, con 'delay'
# 'remix' hace el equivalente de 'pan', el canal
# derecho aparece antes al hacer offset
sox $WAV echo.wav pad $OFFSET 0
sox -v 0.75 $WAV pre.wav pad 0 $OFFSET remix 1p+2, 2p-2
sox -m pre.wav echo.wav mix.wav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment