Started to integrate in the trumpet.py file... Now can play sounds and read keys, just need microphone input... This could be easier said than done. However, by using the multiprocessing library and a shared memory space I think it can be done with some success.