Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show AudioEffectCapture by use of a shader showing the captured waveform in stereo #1172

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

goatchurchprime
Copy link

Microphone data is normally read using AudioEffectCapture rather than AudioEffectRecord, so we should adapt this demo project to use it. And a good way to show that something is happening is to plot the waveform using a shader.

This shows it in stereo because a lot of computers have two microphones.

It's also useful to measure the sample rate of the microphone according to the data stream it is generating.

Screenshot from 2025-03-02 18-23-26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants