Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This extension provides the ability to record audio from the microphone and play it back through the speakers. It also provides the ability to monitor real-time audio data from the microphone and master output, which can be used to create audio visualizations such as a spectrogram, oscilloscope, RMS/Peak meter, or other animations which respond to properties of the audio signal.
How to use the extension
The extension provides events (StartMicRecording/StopMicRecording) to record audio from the microphone using the MediaStream Recording API, and then the SaveMicRecording event pushes those recordings to the project data so that the recording can be played back through the sound manager with the PlayMicRecording event. It also provides access to real-time audio data from the microphone and the Howler master output with GetAnalyzerFrequencyData/GetAnalyzerTimeDomainData events (which use WebAudio AnalyserNode objects), to allow a user to create audio visualizations
Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
42db3c5d-d779-4c9f-b95e-b81f0f802bd7.zip
Extension file
AudioVisualizer.zip