Skip to content

Commit

Permalink
Update stream_reader_pyaudio.py
Browse files Browse the repository at this point in the history
remove non-ascii symbols from print statements
  • Loading branch information
aiXander authored Sep 14, 2022
1 parent 07cc7a6 commit ef488e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stream_reader_pyaudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ def stream_start(self, data_windows_to_buffer = None):

self.data_buffer = numpy_data_buffer(self.data_windows_to_buffer, self.update_window_n_frames)

print("\n--🎙 -- Starting live audio stream...\n")
print("\n-- Starting live audio stream...\n")
self.stream.start_stream()
self.stream_start_time = time.time()

def terminate(self):
print("👋 Sending stream termination command...")
print("Sending stream termination command...")
self.stream.stop_stream()
self.stream.close()
self.pa.terminate()
Expand Down Expand Up @@ -160,4 +160,4 @@ def print_mic_info(self, mic):
mic_info = self.pa.get_device_info_by_index(mic)
print('\nMIC %s:' %(str(mic)))
for k, v in sorted(mic_info.items()):
print("%s: %s" %(k, v))
print("%s: %s" %(k, v))

0 comments on commit ef488e5

Please sign in to comment.