Skip to content

Commit

Permalink
Readying for presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpitts committed Apr 7, 2017
1 parent 3baa61c commit d09bf7d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
Binary file removed clientSecondFile.wav
Binary file not shown.
4 changes: 2 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import pyaudio
makuServerIP = '10.200.41.37'
makuServerIP = '192.168.20.10'
makuChunk = 1024
makuFormat = pyaudio.paInt16
makuChannels = 2
makuRate = 44100
makuRecordSeconds = 3
makuRecordSeconds = 6
makuOutputFilename = "sentVoice.wav"
makuInputFilename = "receivedVoice.wav"
makuClientInputFilename = "clientSecondFile.wav"
Expand Down
Binary file removed receivedFile.wav
Binary file not shown.
Binary file removed sentVoice.wav
Binary file not shown.
4 changes: 2 additions & 2 deletions vClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def __init__(self):
Label(self.master, text = "Send your message to others on the network!\n\n").pack()
self.record_button = Button(self.master, text="Record Message",command=self.recordPress)
self.record_button.pack()
print "b4thread"
#print "b4thread"
thread.start_new_thread(self.contCheckForAudio,())
print "aftrthrea"
#print "aftrthrea"
mainloop()


Expand Down
2 changes: 0 additions & 2 deletions vServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ def checkForData(self):
file.close()
file2 = open('receivedFile.wav','rb')
for client2 in self.clients.values():
#time.sleep(5)
client2["socket"].sendall(file2.read())
#time.sleep(5)

def receiveData(self, sound):
print "Sound has been received: ",sound
Expand Down

0 comments on commit d09bf7d

Please sign in to comment.