Skip to content

Instantly share code, notes, and snippets.

@livibetter
Last active March 23, 2016 01:19
Show Gist options
  • Save livibetter/02b19eeb5bc23f98f29f to your computer and use it in GitHub Desktop.
Save livibetter/02b19eeb5bc23f98f29f to your computer and use it in GitHub Desktop.
Sweeping audio for testing
Uploaded by request from https://www.youtube.com/watch?v=Uoa6eyi_nXI&lc=z13yg5jy1oijhdtwl04cetbgbuubvhvydy00k
for i in {1..120}; do echo 6000 1 $((100*i)) | wave >> sweep-100-12kHz.raw; done
# Float 32 bit Little Endian, Rate 48000 Hz, Mono
cat sweep-100-12kHz.raw | aplay -f FLOAT_LE -r 48000 -c 1 -q; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment