Skip to content

Instantly share code, notes, and snippets.

@ptytb
Created September 14, 2018 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptytb/6eade153de6f54dbc0fc1fc0d469939e to your computer and use it in GitHub Desktop.
Save ptytb/6eade153de6f54dbc0fc1fc0d469939e to your computer and use it in GitHub Desktop.
@echo off
rem Listen on SoundCloud: https://soundcloud.com/xca8biolusw4/sets/seti-space-noise-mapped-to-audio
rem ImageMagick command
convert aliens.gif -type truecolor img/xx_%%05d.bmp
set MIN=100
set MAX=6000
set PIXELS_PER_SECOND=50
FOR %%f IN (img\*.bmp) DO (
rem Method #1
arss.exe -q -s -r 44100 -min %MIN% -max %MAX% -p %PIXELS_PER_SECOND% %%f snd\s\%%~nf_s.wav
rem Method #2
rem arss.exe -q -n -r 44100 -min %MIN% -max %MAX% -p %PIXELS_PER_SECOND% %%f snd\n\%%~nf_n.wav
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment