NAudio.WaveFormRenderer icon indicating copy to clipboard operation
NAudio.WaveFormRenderer copied to clipboard

Waveform renderer for UWP

Open TyJOrtiz opened this issue 2 years ago • 3 comments

Hi,

I changed some things to be able to create a waveform control for UWP. It doesn't create a png but just a regular control.

TyJOrtiz avatar Jul 18 '22 16:07 TyJOrtiz

TyJOrtiz, I as looking for a way to display audio waveforms within a UWP app and just found your PR to NAudio. It's been only two days since you requested to pull your commits. What a funny coincidance. Until your code will eventually be merged, may I ask for a working example of your code? And one other thing - since you already have experiences with this library: The idea of NAudio.WaveFormRenderer is to analyse peaks from a provided audio file and render them, right? What if I already have data and no need to analyse an audio file.. is it possible to inject ready-to-use data into the renderer without having to provide the respective audio file?

Mephisztoe avatar Jul 20 '22 11:07 Mephisztoe

Hello,

Yes I can provide a working sample by the end of the day.

As for saving the waveform for later loading, that's something I still need to experiment with

Thanks,

TyJOrtiz

TyJOrtiz avatar Jul 20 '22 17:07 TyJOrtiz

Here's a link to my working sample repository: https://github.com/TyJOrtiz/WaveFormUWP

TyJOrtiz avatar Jul 20 '22 18:07 TyJOrtiz