mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
7431537010f081947989c50b2ed39b01ffd6882c
This works for init:
AudioManager(i2s_pins=i2s_pins, adc_mic_pin=1)
And then this for recording:
AudioManager.record_wav_adc(file_path="/recording.wav",duration_ms=5000,sample_rate=16000,on_complete=lambda msg: print(f"Finished: {msg}"))
Main repository for MicroPythonOS.
See https://MicroPythonOS.com/ and https://docs.MicroPythonOS.com/ for more info.
Languages
Python
75.3%
C
11.5%
JavaScript
7.2%
HTML
3.5%
Shell
1.4%
Other
1%