This commit is contained in:
jreinking 2020-12-05 21:31:58 +01:00
parent 37f8fe580d
commit 1dd31a32ec
2 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ SECONDS = (400000 / SAMPLE_RATE) / NUMBER_OF_SNIPPETS
snippets = []
i = 0
while True:
myrecording = sd.rec(int(SECONDS * SAMPLE_RATE), samplerate=SAMPLE_RATE, channels=2)
myrecording = sd.rec(int(SECONDS * SAMPLE_RATE), samplerate=48000, channels=1)
snippets.append(myrecording)
sd.wait()

Binary file not shown.