diff --git a/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/DISVoiceProgram.py b/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/DISVoiceProgram.py new file mode 100644 index 0000000000000000000000000000000000000000..3cda1a1ac7ca0b3c31e1c9405de3e4fb543f370d --- /dev/null +++ b/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/DISVoiceProgram.py @@ -0,0 +1,41 @@ +# Title: DISVoiceProgram.py +# +# Authors: Captain Matthew Robinson and Captain Max Schlessel +# +# This program is a simple chat program using vidstream and pyaudio. +# Use https://www.lfd.uci.edu/~gohlke/pythonlibs/ to download the +# .whl file for pyaudio and then pip install pyaudio and pip install +# vidstream. Use available ports such as 9999 and 5555 for the sender +# and receiver ports. May also need to disable firewalls and wifi +# security settings to be able to send and receive on such ports. +# +# Resources: https://www.youtube.com/watch?v=ikJZIT4H6Bc +# +# Last updated: 20210915 + +from vidstream import AudioSender +from vidstream import AudioReceiver + +import threading +import socket + +ip = socket.gethostbyname(socket.gethostname()) + +print('Your IP address is:' + ip) + +receiverport = int(input('What port would you like to use?')) +senderip = str(input('What is the ip address of the person who you are trying to talk to?')) +senderport = int(input('What is the port of the person who you are trying to talk to?')) + +receiver = AudioReceiver(ip, receiverport) +receive_thread = threading.Thread(target=receiver.start_server) + +sender = AudioSender(senderip, senderport) +sender_thread = threading.Thread(target=sender.start_stream) + +receive_thread.start() +sender_thread.start() + + + + diff --git a/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/MV3500_Final_Schlessel_Robinson.pdf b/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/MV3500_Final_Schlessel_Robinson.pdf new file mode 100644 index 0000000000000000000000000000000000000000..e45e97efa8ff12255c469e3f22c207f95fb63e4e Binary files /dev/null and b/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/MV3500_Final_Schlessel_Robinson.pdf differ diff --git a/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/MV3500_SchlesselRobinson.pptx b/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/MV3500_SchlesselRobinson.pptx new file mode 100644 index 0000000000000000000000000000000000000000..a5fe9ad4f1eb8eab08b5c9989a8e7737d20f2046 Binary files /dev/null and b/assignments/src/MV3500Cohort2021JulySeptember/projects/RobinsonSchlessel/MV3500_SchlesselRobinson.pptx differ