I am working on a C # wpf application in which I want to do something with sound. the irrklang audio library provides me with a pcm-decoded 16-bit byte array.
I want to create a timeline control that shows a waveform along a timeline with an overlaid rectangle that the user can drag and click / drag the left and right sides to increase or decrease the selection.
Used to trim the audio track. I would like the selected min and max values to be data-bound, the minimum and maximum value of the common track to be bound.
To clarify, this is an image layout:

I do not ask for complete control, but advice and suggestions on how to deal with this are more than welcome. Perhaps such solutions already exist, but so far I have not been able to find them.
I think I need to decide: control (scaling, panning and changing the selection) and drawing the waveform in the control
Thanks in advance,
source
share