Category: hacks

  • Generate an extremely long brown/pink/white noise MP3 in Linux

    Using https://bitbucket.org/rsvp/gists/src/fc42e2068cf0e2109bf58c94f59bfb1976405755/noise.sh?at=default, simplified. Added fade-in and fade-out. Compile sox and lame with sndfile support to get the w64 format. #!/bin/bash noise=’brown’ # ^your choice: ‘white’, ‘pink’, ‘brown’, ‘tpdf’ # where tpdf stands for Triangular Probability Density Function (cf. dither). # N.B. – white and pink noise have higher frequencies than Brown. #does not determine the…

  • jQuery UI button tweaks

    I recently completed a project which included a complicated web application. jQuery UI looked really nice, so I went with it. I don’t regret that decision, but one thing was especially annoying: the buttons are unpolished to the point of being almost broken. They just don’t behave at all like desktop GUI buttons. I guess…

  • midilog-0.1: MIDI logging of practice sessions

    If you play keyboard and practice on an instrument that features MIDI output, it’s quite feasible to save all your practice sessions, using standard MIDI files (which are very compact). This program does just that! For me, it’s nice to have a record of my progress over the years. It’s also nice knowing that if…