Category: Development

Generate Mac App Icons Photoshop Action

Creating App Icons in all the required sizes for a Mac app can get pretty tedious. Here is a Photoshop action to simplify the task: Download Mac App Icon actions for Photoshop CS6+ The first thing it does is to paste the clipboard contents into a square document — so it's designed for workflows where […]

Making Sausage: Fixing a Previous Git Commit

Let's say I'm six commits ahead of master on my work branch. I've sent out a review, and find out I need to fix something on the 3rd commit. This is my workflow for fixing up the previous git commit: Get to a clean state on the work branch. (git stash if needed) Make the […]

Shuffle Algorithms for Music

Update, March 7, 2014: Improved shuffling has been rolled out on Spotify. More details at the Spotify Labs post, How to Shuffle Songs. Lots of users complain that Spotify's shuffle algorithms aren't really random. This can best be explained by a cognitive bias called the clustering illusion. Users aren't wrong to complain, though. What people […]

OpenCV 2.1 and 2.3 with Visual Studio 2010 Quick Start

I am using OpenCV 2.1/2.3 with the newer C++ style OpenCV interface. There are a few tricky parts and changes that aren't mentioned in the cheatsheet. Hopefully the OpenCV documentation will continue to improve as it grows.  Anyway, here is a quick start guide that might help beginners out. Camera Capture in OpenCV 2.x #include […]

Speech Gender Conversion

Interesting gender conversion results... Barack Obama obama.wav obama_to_female.wav obama_to_child.wav Sarah Palin palin.wav palin_to_male.wav palin_to_female.wav Katie Couric couric.wav couric_to_male.wav Al Gore algore.wav algore_to_female.wav algore_to_child.wav Hip-Hop turnstiles.wav turnstiles_to_child.wav Details on the project page.

WFS Designer Preview

Coming soon...

Display-Aided Head Tracking

If you've ever used Apple's PhotoBooth software to take a picture of yourself with the webcam built into the screen, you'll notice the display turns white when the picture is taken. The idea is to use the monitor as a flash bulb - it illuminates your face and produces a better image in low-light conditions. […]

Wave field synthesis graphical simulation

This is a Processing sketch/Java applet that simulates wave field synthesis. A virtual source follows the position of the mouse cursor. It's useful for visualizing the behavior and limitations of WFS. Right now it lets you change parameters of a line array, and I'll try to extend it to simulate other array configurations. Key Commands: […]