all the functions and variables for audio communication are condensed into the .h and .cpp files