Audio Playback and Record

mpappert

Well-known member
Joined
Oct 5, 2002
Messages
58
Location
Ottawa, ON, Canada
Hey Everyone,

Im creating a small dictation system that will allow a user to record voice notes and play them back at a later time. I need to be able to record and store the recordings in either MP3 or the new WMA9 format (which I heard is better than MP3?!) Anyways, I am looking for a control that will support my requirements:

- ability to record (with pause/resume capabilities)
- ability to playback
- rewind/adjust slider to specific playback point (so in case the user wants to review part of what s/he said to continue their voice note)

I was thinking of using the Microsoft Encoder SDK, which I know is for video, but maybe its for audio only as well? I also want it to be fairly simple to implement ...

Ive looked at the Allen-Martin Wave control but it seems that the only playback supported is from beginning to end, you cant set a playback start point ...

Anyone know where I can find a good control (preferably native .NET, but ActiveX if it is .NET compatible works) .. or whether I should use the Microsoft Encoder product ...

Thanks!!!!

M.
 
DirectX 9 will (hopefully) appear next week. I suggest waiting to see what managed methods it has to work with audio.
 
DirectX 9 is out ... Ive been playing with the Media Player encoder and its not too bad, the SDK beta docs are only somewhat helpful ...

Do you think Dx9 is the way to go or Windows Media Encoder 9?


Thx!
M.
 
Since DirectX 9 has only been out a few hours Im not really qualified to give an opinion on that :P
 
Last edited by a moderator:
Ok .. here is my attempt at creating a simple VoiceNote application ... Ive attached all the source but I cant seem to assign a profile to the encoder ...

When I use the Profile = acProfile.SaveToIWEncProfile it gives me an error to the tune of "invalid parameters" ...

Can someone please take a look and tell me what Im doing wrong ... I feel so close, yet so far .. LOL

Thanks!
M.

PS. Youll need to install the Windows Media Encoder Series 9 RC from here:
http://www.microsoft.com/windows/windowsmedia/9series/encoder/default.asp
 

Attachments

Back
Top