I have generated waveform using How to render audio waveform? answer from Illaya and displayed on picturebox, now i want to play sound at specific point (mark on waveform), i have used NAudio for waveform.
Screenshot can explain all things:
I have generated waveform using How to render audio waveform? answer from Illaya and displayed on picturebox, now i want to play sound at specific point (mark on waveform), i have used NAudio for waveform.
Screenshot can explain all things:
The main idea to play from that point is you should know the seconds or milliseconds value for that point. For example I use media player control to play a file and this way, I make the player to play from second 100:
this.axWindowsMediaPlayer1.URL = "path to my file";
this.axWindowsMediaPlayer1.Ctlcontrols.currentPosition = 100;
this.axWindowsMediaPlayer1.Ctlcontrols.play();