Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1facc7f

Browse files
committed
fix little issue on audio recorder tutorial
1 parent575e311 commit1facc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎general/recording-and-playing-audio/audio_recorder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
frames= []
3636
print("Recording...")
37-
foriinrange(int(44100/chunk*record_seconds)):
37+
foriinrange(int(sample_rate/chunk*record_seconds)):
3838
data=stream.read(chunk)
3939
# if you want to hear your voice while recording
4040
# stream.write(data)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp