.Net substitute for the Borland TMediaPlayer control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

My client has an existing project done in Borland C++ that I was wanting to
port to .Net.
Most of seems fairly easy to move over except that it uses (heavily) the
Borland TMediaPlayer control for:
- playing small music files (currently stored as MP3s)
- at the same time listening to the microphone input and processing that to
display the pitch (the incoming sound is not saved - only processed to see if
the note they are singing matches the note that is being played)

I know there is a MS Speech SDK/API but I didn't know if that would fit my
needs. I did a quick search for shareware/open-source code but most of it
deals with processing mp3s or converting music files etc.
I'm fine with a suggestion of a third party control as long as it is
royalty-free and isn't an outrageous price for the relatively simple stuff I
wanted to do.

Thanks.
 
- playing small music files (currently stored as MP3s)
- at the same time listening to the microphone input and processing that to
display the pitch (the incoming sound is not saved - only processed to see if
the note they are singing matches the note that is being played)

I know there is a MS Speech SDK/API but I didn't know if that would fit my
needs. I did a quick search for shareware/open-source code but most of it
deals with processing mp3s or converting music files etc.
I'm fine with a suggestion of a third party control as long as it is
royalty-free and isn't an outrageous price for the relatively simple stuff I
wanted to do.

Have a look at the classes in the Microsoft.DirectX.AudioVideoPlayback
(<http://msdn2.microsoft.com/en-us/library/bb318762.aspx>) and
Microsoft.DirectX.DirectSound
(<http://msdn2.microsoft.com/en-us/library/bb318770.aspx>) namespaces.
Although I haven't used them, they should allow to do that.
 
Back
Top