Merge pull request #2032 from openmv/update_examples

scripts/examples: Fix Nano 33 audio example.
This commit is contained in:
Ibrahim Abdelkader 2023-11-29 18:37:52 +02:00 committed by GitHub
commit 7310d5cc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ SIZE = 256 // (2 * CHANNELS)
raw_buf = None
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):