So, instead of printing the volume level on screen once, I wish to modify the code so that it loops every 50 ms and sends the result, say "86", to the computer serial port (COM1, baud rate 9600), continously until the executable is closed.
Once transmitting, I'll rig an Arduino to listen on the same port and baud rate, but I'll figure out that part for myself.