Description
Background:
When testing projects that use a buzzer (or other audio components) in Wokwi-CLI, there is currently no way to capture or analyze the generated audio output. This makes it impossible to automatically verify sound signals, melodies, or timing in tests.
Suggestion:
Please add the ability to start and stop audio recording from the buzzer (or any sound-generating component) via wokwi-cli. It should be possible to save the recorded output to a file, so it can later be analyzed or compared with a reference recording in automated tests.
Benefit:
This would enable more comprehensive testing for projects using buzzers or other sound output devices. Automated tests could validate not just that sound is generated, but also check the melody, frequency, and timing for correctness.