clarkezone / audiovisualizer

A UWP audio visualization component that provides a stream analyzer and XAML visualization controls for displaying VU and spectrum meters powered by Win2D
MIT License
122 stars 26 forks source link

[Feature Request] Waveform Analysis on any audio #67

Closed Code-ScottLe closed 5 years ago

Code-ScottLe commented 5 years ago

Would it be possible to read in any audio source, either via by a storage file or an MediaSource instance and then perform waveform analysis on them without having to playback the item? I am basically looking to do sort of a waveform seekbar, which could look like this:

image

I think this would be a great addition to the package.

tonuv commented 5 years ago

Yes - in the next commit there will be a wrapper around IMFSourceReader, which will allow you to read from any audio or video file that has a decoder installed and get the decoded audio. You can use the read frames then to pass on to the AudioAnalyzer for spectrum or read the raw values to create a visualization like you have attached. This should get in before holidays

tonuv commented 5 years ago

This functionality is now in the latest release

tonuv commented 5 years ago

This feature is part of the latest release now.