I think the tone codes can be #defined and moved to the header file.