Depends on what is feeding the headphone. You could put microphones in the headphones and record. Or you could plug recorder directly into the
output jack that you are using to feed the headphone. Use a Y if you have to.
More generally, any loudspeaker will act as a microphone. It may be low quality, and the gain may be too low to use without specialized amplifiers, but a microphone and a loudspeaker are electrically identical.
Both headphones and microphones distort the music. So recording the output of a headphone with a mic is going to layer in at least two sets of distortions.
If you are playing a file that is on your computer, you are done. If you are streaming something on the computer, say a Netflix movie, then you don't want to send it to a headphone, what you want to do is redirect the stream's audio to a file. Audacity is designed to help you record a real microphone into a song. That sounds to me to be far from what you want.
I don't understand what the headphone is doing in your scenario. Do you literally mean the headphone? or do you mean the headphone jack? or perhaps you mean whatever sound is going out to the headphone jack.
Thanks for your reply. I tried with Sound Recorder in Windows but it cannot record what I am hearing from the head phone. NOTE: I want to record the music playing in the headphone, not my voice through the microphone. Hope you get the idea.
Joined: Feb 15, 2010
In my case I can record music playing from the headphone/ear phone
It is a ear set with both mic and earphone in one unit.
If I understood you correctly, the sound card will do the trick, cant guarantee about quality, though, change the recording/capturing device to analog mixer from front mic/any mic ;D in the device setting of your sound driver.
Then record with audacity or mixxx or ANY recording software.
You can record Skype video calls with the program Evaer Skype video recorder.
Evaer supports recording Skype video calls to your hard disk with side-by-side, separate files, audio-only, local-webcam-only and remote-webcam-only mode. Up to 10 ways Skype group video recording is supported. It's very easy to use with friendly UI.
Thanks for your reply. I tried Camtasia program and it can record what I hear from the headphone nicely.
My problem is now how to do that with Java Sound API.
This is the meaningless drivel forum...you are not likely to get the help you need here for actual java questions.
I would suggest starting a new thread in the Java In General forum. There is a lot of garbage in this thread, else I'd just move it. But with all the misunderstandings and false starts, I'd think a new thread would be best.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors