Created
September 14, 2018 11:42
-
-
Save ptytb/6eade153de6f54dbc0fc1fc0d469939e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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