Text this: A Combined Mathematical Treatment for a Special Automatic Music Transcription System