Search code examples
c#audiowavplayback

C# Play wav file with selected range time


Would you please give me solution due to play wav file with selected range time via C# ?

I used NAudio, but it seems not support this feature.

Thanks


Solution

  • This might be what you're looking for: How do I create a seekbar in C#\NAudio Music Player? It has audioFileReader.SetPosition() and audioFileReader.Seek() which you can use to set your range.