Multiple changes:

Made the global var all caps
Added bits2pitches()