Skip to content

Instantly share code, notes, and snippets.

View colin-marshall's full-sized avatar

Colin Marshall colin-marshall

View GitHub Profile
@colin-marshall
colin-marshall / render_spectrograms.zsh
Created May 19, 2017 14:36
zsh command line function that recursively renders a spectrogram for all audio files in a directories
function render_spectrograms () {
setopt null_glob
for file in **/*.(wav|flac|mp3|m4a|aiff|aif); do
outfile="${file%.*}.png"
title_in_pic="${file%.*}"
sox "$file" -n spectrogram -t "$title_in_pic" -o "$outfile"
done
}
@colin-marshall
colin-marshall / Contract Killer 3.md
Created January 17, 2018 19:27
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post