working commit of all files needs some testing and assertions for tone constant and changing pitch