Help with Vocal Analysis

I need a tools or API for these functions

1) Read a file from any recording device or microphone (internal or external)

2) API to extract vocal

3) A tool to transpose a key of a song to another key 

Sounds to me that you need Melodyne? That should be the best tool for doing this kind of thing, I think. Never used Melodyne myself, but saw the following clip:

http://www.youtube.com/watch?v=9FScFKuXXM0