mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
scripts/examples: Fix Nano 33 audio example.
This commit is contained in:
parent
1e454f4022
commit
fb1dbdf1ba
@ -12,7 +12,7 @@ SIZE = 256 // (2 * CHANNELS)
|
|||||||
|
|
||||||
raw_buf = None
|
raw_buf = None
|
||||||
fb = image.Image(SIZE + 50, SIZE, image.RGB565, copy_to_fb=True)
|
fb = image.Image(SIZE + 50, SIZE, image.RGB565, copy_to_fb=True)
|
||||||
audio.init(channels=CHANNELS, frequency=16000, gain_db=80, highpass=0.9883)
|
audio.init(channels=CHANNELS, frequency=16000, gain_db=80)
|
||||||
|
|
||||||
|
|
||||||
def audio_callback(buf):
|
def audio_callback(buf):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user