update
This commit is contained in:
parent
37f8fe580d
commit
1dd31a32ec
@ -48,7 +48,7 @@ SECONDS = (400000 / SAMPLE_RATE) / NUMBER_OF_SNIPPETS
|
|||||||
snippets = []
|
snippets = []
|
||||||
i = 0
|
i = 0
|
||||||
while True:
|
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)
|
snippets.append(myrecording)
|
||||||
sd.wait()
|
sd.wait()
|
||||||
|
|
||||||
|
BIN
src/sample_5.wav
BIN
src/sample_5.wav
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user