Recording from mic in

i have recorded thru the mike input from a cassette player and have had good results until today it starts recording and before the recording is finished it quits recording i have tried it several times and does the same thing each time it has never done this before help

Has anyone been able to record sound in mp3 using
java?
Can you please post the code or send it to
[email protected]?
Thanks in advance for the help.As far as I know, Java doesn't support mp3 format directly.
You'll have to capture the audio in some other format and
then encode it to mp3. See http://www.tritonus.org/plugins.html
for mp3 encoding.
Here are few links to sites that explain the audio capture part
http://www.jsresources.org/
http://www.java-tips.org/content/view/917/2/
Use google and the forum search function to find more.
kari-matti

Similar Messages

  • Recording from Mic Truncated

    Hi,
    I'm recording from a mic into a memory buffer. All works fine, except that it always cuts off the last second even though I believe I'm properly draining the target data line before closing it.
    I've tested with the AudioRecorder and SimpleAudioRecorder from the [url http://www.jsresources.org/examples/audio_playing_recording.html]JResources examples and a few other [url http://www.quadmore.com/swingrecorder/]examples out there. They seems to suffer from the same issue.
    Is this just a matter of some sort of latency when the recording is shut down?
    Here are the controlling methods for my recorder.
    public void startRecording()
       state_ = State.RUNNING;
       line_.start();
       thread_ = new Thread()
          public void run()
             recordLoop();
       thread_.start();
    private void recordLoop()
       while(state_ != State.STOPPED)
          int bytesRecorded = line_.read(block_, 0, blockSize_);
          if(bytesRecorded != 0)
             out_.write(block_, 0, bytesRecorded);
    public void stopRecording() throws Exception
       line_.stop();
       line_.drain();
       state_ = State.STOPPED;
       thread_.join();
    }I'm running jdk 1.6.0_22-b04 on Windows XP.
    Thanks for any ideas!!!

    windroid wrote:
    Seems to work so I'm happy. Maybe its specific to my recording setup?Ummmm, the "one second" is probably specific to your recording setup... but I would imagine there is a delta_t associated with starting a recording and the recording starting.
    I'd imagine the TDL drain should handle that, but if there's like a hardware buffer on the soundcard that Java just doesn't have permission to flush... then you'd have to handle that yourself as you have. If the soundcare or the OS is doing some real-time transcoding to give JavaSound data in the format it wants, for instance, there could be a hidden unflushable buffer...

  • Recording from mic, not sound card

    Hi there. Relatively new to Audition so trying to get my head around it!
    I'm using Adobe Audition 3.0 and i'm mucking about with it basically to get some experience for my uni project. I'm trying to compile and edit together a collection of audio clips from a number of web streams. I've done it before for a while on a different computer and it worked fine but i'm having trouble doing it right on this occasion.
    Basically, it's recording from my microphone rather than what's being played on the computer. I have no idea how to change this. Any help guys?

    I bet you've moved to a Vista or Windows 7 machine.
    Under pressure from the record companies, the ability to record the Stereo Mix output of you computer has been disabled or removed from many new computers.
    You may be lucky and find it's only been disabled on your machine.  If so, then do the following:
    To enable:
    ->> go to Control Panel
    ->> Hardware and Sound
    ->> Manage Audio devices
    ->> in the Recording tab window right click in the white area away from any devices and from the menu enable "Show Disabled Devices" and "Show disconnected devices"
    ->> right click on Stereo Mix to get the properties window and in Device usage "Use this device (enable)"
    However, there have been many reports in here (you can do a search) that some computer manufacturers are actually removing this ability entirely, again under pressure from the record companies.
    This being the case, you might try some software called Virtual Audio Cable:  http://software.muzychenko.net/eng/vac.htm
    You have to pay for it but at least there's a trial version so you can see if it works for you before laying out your money.
    Bob

  • Recording from mic

    how do i record from a microphone.
    I want to record from a microphone and play it later how do I go about it

    windroid wrote:
    Seems to work so I'm happy. Maybe its specific to my recording setup?Ummmm, the "one second" is probably specific to your recording setup... but I would imagine there is a delta_t associated with starting a recording and the recording starting.
    I'd imagine the TDL drain should handle that, but if there's like a hardware buffer on the soundcard that Java just doesn't have permission to flush... then you'd have to handle that yourself as you have. If the soundcare or the OS is doing some real-time transcoding to give JavaSound data in the format it wants, for instance, there could be a hidden unflushable buffer...

  • Audio Recording, from Mic to computer

    Good Peoples,
    I thought that plugging a mic into the mini port on the computer would work for using and external mic. I switched from internal to external in under system preferences but nothing is picked up. The internal mic works. Anyone know about this?
    Much Thanks,
    Jackson

    I had a similar problem with an external microphone that didn't need power supply. I checked the source on the sound of the system preferences, and whenever I had the microphone attached, no sound was being input, only sound picked up when I had the internal microphone selected.
    This summer for a class project, I thought it was picking up sound while I was recording a movie, using iSight, and when i finished, all i had was the video with no audio. Then I had to re-do the class project.
    Did your problem ever get resolved? If so, what did you end up doing to resolve it?

  • Quarter-inch female to a 3.55mm male to connect guitar to my Ipod Touch 4th gen. It still records from mic and not from wire.

    Hey everyone, I recently bought a quarter-inch female to a 3.55mm male to connect my acoustic electric guitar to my Ipod Touch 4th gen. Now when I connect it, it doesn't actually take the sound from the wire, it still keeps the mic open. Any suggestions?

    You can try putting the iPod into Recovery Mode and restoring it:
    http://support.apple.com/kb/ht1808
    If that doesn't work, then sorry but the jailbreak may have permanently corrupted your iPod. Since we cannot help with jailbroken devices in these forums, you'll need to look elsewhere for additional suggestions and advice.
    Regards.
    Message was edited by: Dave Sawyer

  • How do I separate audio channels to edit them seperatly ... they are both in the same clip when I record from two diffrent mics on two diffrent channels

    I have premier
    elements 12
    How do I separate audio channels to edit them seperatly ... they are both in the same clip when I record from two diffrent mics on two diffrent channels

    timc
    I do not see a way to separate audio channels to edit them separately in Premiere Elements (any version).
    Premiere Elements does have audio effects including Balance, Fill Right/Fill Left, and Swap channels, but that is not what you are seeking.
    I would refer you to an audio editor such as the free Audacity for what you want to do.
    Splitting and Joining Stereo Tracks - Audacity Manual
    I am not sure if this is close to what you seek
    https://forums.creativecow.net/thread/3/883383
    But, the opportunity seems to be in Premiere Pro, not Premiere Elements
    Please review and consider and then let me your thinking on the matter relating to your Premiere Elements 12 (what operating system).
    Thanks.
    ATR

  • Saving a sound recording from internal mic?

    Is there a way I could save a sound bit recording from the internal mic that I recorded in iMovie? Or should I use a different program? Thanks!

    Extract your audio track and export to QuickTime. This .aiff file can then be converted using iTunes to make a smaller file size.

  • Audigy 2 ZS Platinum - can't record from front panel "mic-

    I'm using an Audigy 2 ZS Platinum. I have an electric guitar plugged into the "mic-in" port on the front panel. I can hear the guitar through my speakers but I can't record from any program. I've tried using "Creative Wave Studio" and XP's "Sound Recorder" but it doesn't record.
    I can record by plugging a microphone into the back mic-in port.
    This is very frustrating, please help
    --Dan

    First is to set the Recording device to MIC2. The front panel device is considered the second microphone. Basically whatever program you use, I would assume it has to recognize this second microphone. Make sure you ahve it selected under the sound mixer (task bar Icon) "Line in 2/Mic 2" underneath "REC" on far right side. Then you can go from there.
    |)O( Try this, if not use the old Hamer to Front of PC method, lol.

  • Is it possible to record from 2 different mics in adobe audition?

    I have a blue snowball mic and a blue yeti mic and I want to record from both on the same computer (co-hosting a podcast). Is that possible in adobe audition without a mixer board?
    Thanks!

    ackadams wrote:
    I have a blue snowball mic and a blue yeti mic and I want to record from both on the same computer (co-hosting a podcast).
    Whilst it's possible to record as many ordinary mics as you want at once in Audition using a sound device capable of supporting them, it's not possible to use more than one USB mic at a time very easily, if at all. And even if you could get something like ASIO4ALL to recognise both at once, you'd still need to have the OS resample them, because they wouldn't have synchronised clocks, and this will inevitably lead to loud clicks at inappropriate places. And in Windows at least, I don't think that's possible at all, and even if it was I'm not sure that it would have them on seperate channels. In short, I'm pretty sure that it won't work. People seem to have a lot of problems with just using a single USB mic, never mind two of them...
    Apparently on a Mac it's easier to aggregate USB mics, but you'd still run into the problem of synchronising them, because each does its own digitising, with no external clock reference.
    If you want to use two mics at once, then absolutely the best way to do this is to use either a sound device that supports two mics, and use ordinary mics with it, or get a small mixer with a USB output, and mix a pair of ordinary mics in that. If you want to keep the channels separate, then all you have to do is pan one mic to the left channel, and the other to the right - you can arrange a better mix during editing.

  • Recording from line in and built in mic simultaneously?

    This might be more iMac hardware specific, but as it would be pertinent to GB I thought I'd ask here.
    I'm getting my feet wet with the program, and I have GB setup to record an instrument through the 1/8th jack plugged into the back of my iMac - but I'd also like to record some vocals at the same time through the integrated microphone. I figured that the stereo input was the microphone jack, and the mono inputs were for the integrated mic - but this doesn't seem to be the case.
    Can the mac record from both inputs simultaneously? Or do I need to go out and get a USB/Bluetooth/something else mic? It's starting to look like even though they are technically different inputs, only one can be active at a time. As it stands, I'm left swapping between one and the other and recording instrument and vocals on separate takes, which is less than ideal.

    I'd seen this posted to a similar question, but either I'm blind or doing something completely wrong. In my midi/audio screen (from GB> Preferences > Audio/Midi) I see no such option. Searched the '08 help for anything remotely close to "aggregate device" provides no topics.
    Am I looking in the wrong place? Has this feature been renamed in GB '08?

  • Recording from minidisc to creative player with an x

    I tried recording from my?minidisc onto my computer with the x-fi card, through the line-in and mic jacks. When I stop recording and turn off the source, I still have the record volume showing some input even though nothing is on. I?even?tried disconnecting the minidisc from the input jack but the player is still showing some input. This is causing my recording to have a steady interrupting noise every quarter of a second or so. Any ideas where to search for this mysterious input or how to get around this problem.Louis?

    If you are using the Digital input (SPDIF) to record from MiniDisc then you are correct that it is 44.1Khz, but are you ensuring that the SPDIF input is set as the master clock? You will need to ensure that is so whilst you record digitally from it.
    I can't fanthom why you might be have a problem recording from the analogue outs though. The phasing sound you describe sounds like you are hearing the original sound plus the slightly delayed sound due to software monitoring perhaps?

  • Recording from a stereo

    How do I set up a voice memo recorder to record from my stereo? It should be possible (as the manual on the voice memo recorder briefly notes, and Apple confirms), by switching the button behind the microphone from "mic" to "line." But so far I've only succeeded in getting a message that no microphone is connected. Ordinarily I have an AV cable hooked up in a way that works for sending music from the ipod to the stereo -- connecting to the output jacks for a VCR, since all the others were in use by cd player, tape deck, and phonograph player). But when I try switching it to the input jacks and recording an old LP, I get only the error message, whether I plug it into the place where the microphone goes or instead where the earphones go (which I guess can't be right) on the ipod. Can anyone explain what configuration would work? Am I right in assuming I don't need any further wires?
    Dell Latitude D610 Windows XP
    Dell Latitude D610   Windows XP  

    Hi,
    Are you trying to upload to your computer, the audio tracks on old LPs played on the stereo? If so, probably a better way to go is to get a second set of audio cables to go from the audio/line-out jack of either the phonograph or amplifier (depending upon your stereo's setup) to the audio-in jack at the back of your Dell (assuming you have a sound card installed).
    I suspect if you use the iPod Voice Memo mic for recording the LP as it plays over-the-air so to speak, the quality won't be great. Better to input directly into the sound card the audio output produced by the stereo.
    Depending upon what you want to do with the audio tracks once it's on the Dell, you can get other pieces of hardware, such as an M-box, or software to further clean up to sound, before you import it into iTunes (for example).
    Ed

  • Recording from a Stereo Device to Audio-In Port

    Hello, I'm new...I'm attempting to record from my korg kaoss pad to my powerbook g4 (17in) - the kaoss pad has stereo effects that are lost when recording through my mac's audio input jack. I am considering purchasing a usb audio interface - will this solve the problem? any other possible solutions?
    I can't even figure out how to record in mono so that the mono signal pans center...easy to do in garageband, but i can't seem to find this option in soundtrack...I've been resorting to duplicating every track and panning them right......bah!

    Hi,
    Are you trying to upload to your computer, the audio tracks on old LPs played on the stereo? If so, probably a better way to go is to get a second set of audio cables to go from the audio/line-out jack of either the phonograph or amplifier (depending upon your stereo's setup) to the audio-in jack at the back of your Dell (assuming you have a sound card installed).
    I suspect if you use the iPod Voice Memo mic for recording the LP as it plays over-the-air so to speak, the quality won't be great. Better to input directly into the sound card the audio output produced by the stereo.
    Depending upon what you want to do with the audio tracks once it's on the Dell, you can get other pieces of hardware, such as an M-box, or software to further clean up to sound, before you import it into iTunes (for example).
    Ed

  • Recording from Reel to Reel

    I am trying to record from an old reel to reel machine to my MacBook. I have a Griffin iMic and have tried using GarageBand to record the audio.
    There are 2 output connection on the Reel to Reel machine -- output to Amp and output to Speaker.
    I have tried hooking the iMic to both outputs and don't see much difference at the MacBook (however, it seems the output to Speaker might give a bit more volume).
    My primary problem is that the volumes in GarageBand are too low. I have every input slider on maximum (on the iMic input in Preferences and also in GarageBand), but the sound almost never reaches the 50% level in GarageBand. Is there a way to boost this output level ?
    Also, is there a plug in to help with noise reduction (to reduce the popping/humming, etc...) ?
    Thank you for any assistance that you can provide

    mob25 wrote:
    output to Amp and output to Speaker.
    I have tried hooking the iMic to both outputs
    don't use Speaker you may burn out the iMic.
    My primary problem is that the volumes in GarageBand are too low.
    try switching the iMic's switch between Line and Mic
    Also, is there a plug in to help with noise reduction
    you might be better off with an audio editor like Audacity, which does offer some noise reduction tools:
    http://www.bulletsandbones.com/GB/GBFAQ.html#audioeditors
    (Let the page FULLY load. The link to your answer is at the top of your screen)

Maybe you are looking for

  • Dashboard Error in OBIEE 11 g

    Hi ALl. I am getting this error when i was viewing the report in OBIEE 10 g i able to see the report but in OBIEE 11 g the same i am getting below error Please help me to solve this issue. Logic Error: PreKnownMetadataTable was accessed before result

  • File I/O strange behavior !!!!!!!

    Hello everyone, I have been writing a small program that parses a file and writing to another file. what I basically want to do is to read from a file named 10130.txt containing around 50 or 60 lines 19971021 10130 -9 0 0 0 0 -9 0 -9 0 0 0 0 0 0 0 0

  • 0FIGL_O02 DSO not activating

    Hi, I'm loading data into the 0FIGL_O02 DSO. I'm using an Initialization infopackage. The QM status in the monitor for the infopackage is green and I can see the data in the PSA. When I try to activate the DSO the QM status under DSO>Manage goes red

  • Apps audio goes of when Auto-lock is activated

    Hi folks I have a very annoying problem with my iPhone 3G, when I'm listening to music using FlyCast and 95.8 Capital FM apps the music stops when Auto-lock is activated after 2 minutes- I normally turnoff auto-lock but this reduces the battery life

  • Restoring an older file.

    Can I restore from a previous cloud file if a newer one exists?  I want to access data from yesterday that was overwritten in today's backup, both on the cloud and on my computer.