Ruby script to convert pitches.h