With this release you can now access the audio stream directly while recording. Use the new AudioStreamer
for this. This allows you to process the audio directly as it comes in 🤯
To help you with this processing, we alap added a couple of audio listeners you can use out of the box!
With these listeners you can tap into the live audio stream and do whatever you want with it! This version comes with pre-built listeners to:
- Detect silence
- Measure decibels
- Measure RMS
You can use just one of these, or all of them together. Or, if you want to do some other processing, you can write your own listener as well!
In addition to that we have updated the plugin to use .NET 9, added documentation for all this, added missing API documentation in this library and fixed a couple of bugs.
Additionally, you can now fast play an already prepared audio channel and you have some additional options to set specific to Android playback.
Big shoutout to @Toine-db and @taublast for doing the hard work on this version 🙏
Enjoy!
What's Changed
- Recording stream option with eventhandler for LinearPCM by @Toine-db in #160
- Add AudioContentType & AudioUsageKind for Android by @jfversluis in #163
- Add fast-Play method to AudioMixer by @taublast in #158
- fix audio stream options may crash stream by @Toine-db in #165
- Audio listeners by @Toine-db in #166
- Add missing XML API docs by @jfversluis in #167
- Update to .NET 9 by @jfversluis in #168
- Documentation, audio manipulation example, and splitting audio in different channels by @Toine-db in #169
- Fix sample pages layout by @jfversluis in #172
- Remove obsoleted SetSpeed method by @jfversluis in #170
- Audio should not play when changing speed by @jfversluis in #171
- Improve READMEs by @jfversluis in #174
New Contributors
Full Changelog: v3.1.1...v4.0.0