Skip to content

Commit 8177a7b

Browse files
authored
Update main.py
1 parent 52b2707 commit 8177a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# Get microphone stream
4141
FORMAT = pyaudio.paInt16
4242
CHANNELS = 1
43-
RATE = 16000
43+
RATE = 44100
4444
CHUNK = args.chunk_size
4545
audio = pyaudio.PyAudio()
4646
mic_stream = audio.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True, frames_per_buffer=CHUNK)

0 commit comments

Comments
 (0)