|
-
Sep 8th, 2009, 11:20 AM
#1
Thread Starter
Junior Member
Record From Sound Card
Hello
I need a way of recording any sound that is played through the computer so say if the user was open up windows media player and play a song then he could click record on my application and it would capture whatever is being played. After that there would also need to be a save button so the can click save and the user can save the file as a .wav or .mp3 or whatever! Please help me.
Michael
-
Sep 8th, 2009, 05:54 PM
#2
Re: Record From Sound Card
-
Sep 9th, 2009, 02:30 PM
#3
Thread Starter
Junior Member
Re: Record From Sound Card
Thanks for the help however I did struggle across some difficulties:
These are the errors that 'visual basic.net' has:
'WaveInStream' not defined
'WaveFileWriter' not defined
'WaveFormat' not defined
'WaveInEventArgs' not defined
and also there was a warning:
'NAudio.Wave' name space or type specified in the imports doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases
I don't know about the warning but it doesn't take an idiot to realise that all the errors are related to 'Wave'. I was wondering if this is because there wasn't something imported that should have been. Hope you can help.
Thanks
-
Sep 9th, 2009, 02:38 PM
#4
Thread Starter
Junior Member
Re: Record From Sound Card
Sorry didn't read the top bit.
It's getting late here and I'm quite tired
I'll download the program NAudio first
I don't know how you found this
I searched for ages, 20 minutes or so, and still couldn't find anything
-
Sep 9th, 2009, 03:27 PM
#5
Thread Starter
Junior Member
Re: Record From Sound Card
I tried it and it failed
maybe it's just me though I will just make what I want in visual C it has examples on the NAudio website on how to do it
-
Sep 9th, 2009, 03:33 PM
#6
Re: Record From Sound Card
Learn DirectSound, you will find you can do quite a lot of things with it...
-
Sep 9th, 2009, 05:42 PM
#7
Re: Record From Sound Card
You can record a simple WAV file using mciSendString("record filename"). I'm not sure exactly about the specifics, you should search it.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|