changed frequency(2.0) to sample_rate(3.0)
This commit is contained in:
parent
a2857397e7
commit
f2b1be81b9
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def normalized_rms(values):
|
|||
mic = audiobusio.PDMIn(
|
||||
board.MICROPHONE_CLOCK,
|
||||
board.MICROPHONE_DATA,
|
||||
frequency=16000,
|
||||
sample_rate=16000,
|
||||
bit_depth=16
|
||||
)
|
||||
samples = array.array('H', [0] * 160)
|
||||
|
|
|
|||
Loading…
Reference in a new issue