Hello there

I am very interested in music production and so forth, and I am also trying to master programming

Well, long story short. When I make music I like to use samples from older songs, and by doing so I usualy chop the audio file based on peaks.
What I want to do is make a program that automatically does that for me, just to speed things up a little.
I just have a little problem, I don't know where to start? I want to do it in the .net environment because that's where I am most certainly comfortable.
I have managed to load/play/pause .wav and .mp3 files using NAudio, but as it goes to detecting peaks in the audio file and create a slice from that peak to the next and save it I really don't know where to start of.