How to record sound ?

I would like to record sound from f ex YouTube. Is it possible ?

To edit, Trim:
Open the finished product in iTunes and then you can change it to a mp3, AAC, AIFF or WAV file.

Similar Messages

  • How To Record Sound Using Applet

    How To Record Sound Using JApplet

    Hallo there,
    I am intrested on the same topic but I am not so good to modify the sound sdk demo. Is there anyone willing to share some code?
    Thanks
    Matteo

  • How to record sound with JMF?

    I just want to record a clip of sound and save it in a WAV file. I exhausted the web but just couldn't find a tutorial. Would someone be kind enough to give me a tutorial or a sample code? The simpler the better. Thanks.

    Hi there,
    The following lines of code will record sound for 5 sec and save it in file C:/test.wav.
    import java.io.IOException;
    import javax.media.CannotRealizeException;
    import javax.media.DataSink;
    import javax.media.Format;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.NoDataSinkException;
    import javax.media.NoProcessorException;
    import javax.media.NotRealizedError;
    import javax.media.Processor;
    import javax.media.ProcessorModel;
    import javax.media.format.AudioFormat;
    import javax.media.protocol.FileTypeDescriptor;
    public class WAVWriter {
         public void record(){
              AudioFormat format = new AudioFormat(AudioFormat.LINEAR, 44100, 16, 1);
              ProcessorModel model = new ProcessorModel(new Format[]{format}, new FileTypeDescriptor(FileTypeDescriptor.WAVE));
              try {
                   Processor processor = Manager.createRealizedProcessor(model);
                   DataSink sink = Manager.createDataSink(processor.getDataOutput(), new MediaLocator("file:///C:/test.wav"));
                   processor.start();
                   sink.open();
                   sink.start();
                   Thread.sleep(5000);
                   sink.stop();
                   sink.close();
                   processor.stop();
                   processor.close();
              } catch (NoProcessorException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (CannotRealizeException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (NoDataSinkException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (NotRealizedError e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (InterruptedException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public static void main(String[] args) {
              new WAVWriter().record();
    }I hope this will help. Don't forget to go through JMF guide (http://www.cdt.luth.se/~johank/smd151/jmf/jmf2_0-guide.pdf), especially page 81... it's not always helpfull, but sometimes, it may give you some good answers.
    Happy coding!!!

  • How to record sound with Java Sound?

    I just want to record a clip of sound and save it to a WAV file. I exhausted the web but didn't find a tutorial. Would someone be kind enough to give me a tutorial or a sample code? The simpler the better. Thanks.

    Here's the code I used to record and play sound. Hope the length do not confound you.
    import javax.sound.sampled.*;
    import java.io.*;
    // The audio format you want to record/play
    AudioFormat.Encoding encoding = AudioFormat.Encoding.PCM_SIGNED;
    int sampleRate = 44100;
    byte sampleSizeInBits = 16;
    int channels = 2;
    int frameSize = 4;
    int frameRate = 44100;
    boolean bigEndian = false;
    int bytesPerSecond = frameSize * frameRate;
    AudioFormat format = new AudioFormat(encoding, sampleRate, sampleSizeInBits, channels, frameSize, frameRate, bigEndian);
    //TO RECORD:
    //Get the line for recording
    try {
      targetLine = AudioSystem.getTargetDataLine(format);
    catch (LineUnavailableException e) {
      showMessage("Unable to get a recording line");
    // The formula might be a bit hard :)
    float timeQuantum = 0.1F;
    int bufferQuantum = frameSize * (int)(frameRate * timeQuantum);
    float maxTime = 10F;
    int maxQuantums = (int)(maxTime / timeQuantum);
    int bufferCapacity = bufferQuantum * maxQuantums;
    byte[] buffer = new byte[bufferCapacity]; // the array to hold the recorded sound
    int bufferLength = 0;
    //The following has to repeated every time you record a new piece of sound
    targetLine.open(format);
    targetLine.start();
    AudioInputStream in = new AudioInputStream(targetLine);
    bufferLength = 0;
    for (int i = 0; i < maxQuantums; i++) { //record up to bufferQuantum * maxQuantums bytes
      int len = in.read(buffer, bufferQuantum * i, bufferQuantum);
      if (len < bufferQuantum) break; // the recording may be interrupted
      bufferLength += len;
    targetLine.stop();
    targetLine.close();
    //Save the recorded sound into a file
    AudioInputStream stream = AudioSystem.getAudioInputStream(new ByteArrayInputStream(buffer, 0, bufferLength));
    AudioFileFormat.Type fileType = AudioFileFormat.Type.WAVE;
    File file = new File(...); // your file name
    AudioSystem.write(stream, fileType, file);
    //TO PLAY:
    //Get the line for playing
    try {
      sourceLine = AudioSystem.getSourceDataLine(format);
    catch (LineUnavailableException e) {
      showMessage("Unable to get a playback line");
    //The following has to repeated every time you play a new piece of sound
    sourceLine.open(format);
    sourceLine.start();
    int quantums = bufferLength / bufferQuantum;
    for (int i = 0; i < quantums; i++) {
      sourceLine.write(buffer, bufferQuantum * i, bufferQuantum);
    sourceLine.drain(); //Drain the line to make sure all the sound you feed it is played
    sourceLine.stop();
    sourceLine.close();
    //Or, if you want to play a file:
    File audioFile = new File(...);//
    AudioInputStream in = AudioSystem.getAudioInputStream(audioFile);
    sourceDataLine.open(format);
    sourceDataLine.start();
    while(true) {
      if(in.read(buffer,0,bufferQuantum) == -1) break; // read a bit of sound from the file
      sourceDataLine.write(buffer,0,buffer.length); // and play it
    sourceDataLine.drain();
    sourceDataLine.stop();
    sourceDataLine.close();You may also do this to record sound directly into a file:
    targetLine.open(format);
    targetLine.start();
    AudioInputStream in = new AudioInputStream(targetLine);
    AudioFileFormat.Type fileType = AudioFileFormat.Type.WAVE;
    File file = new File(...); // your file name
    new Thread() {public void run() {AudioSystem.write(stream, fileType, file);}}.start(); //Run this in a separate thread
    //When you want to stop recording, run the following: (usually triggered by a button or sth)
    targetLine.stop();
    targetLine.close();Edited by: Maigo on Jun 26, 2008 7:44 AM

  • How to record sound using video setting of camera?

    using camera as a video recoder works fine but no sound. is sound recording with video possible? Ipad 2

    Hallo there,
    I am intrested on the same topic but I am not so good to modify the sound sdk demo. Is there anyone willing to share some code?
    Thanks
    Matteo

  • How to record sound only

    please anybody help me for giving a useful forum or some text or some example source code

    Its simple dear,
    just find the Audio i/p device using CaptureDeviceManager and defining audio format you wish to record
    Vector<CaptureDeviceInfo> devices =new Vector<CaptureDeviceInfo>();
              devices=CaptureDeviceManager.getDeviceList(new AudioFormat("LINEAR",44100, 16, 2));
    then you got device
    make datasource using this device location (using getLocator())
    then set Datasource realize processor and tranmission is started then

  • How to record sound into array using DAQ ?

    Hi to everyone
    Im last year student , im using LABVIEW for the first time.
    i have an myDAQ , i need to record audio go through the analog ports/AUDIO INPUT of the myDAQ, into array, for later singal proccesing.
    its for my final project.

    First, Learn to use LabVIEW with myDAQ is a series of videos.  To quote the Introduction,
    The Learn to LabVIEW with MyDAQ provides fundamental LabVIEW knowledge for a great out of the box experience with your MyDAQ. Each unit provides a set of videos to allow you to learn at your own pace and review material an unlimited number of times. As well, most videos are accompanied by minor exercises which will help drive home important topics and challenge you along the way.
    View the videos, do the exercises, and I suspect many of your questions will be answered.  If you write some LabVIEW code and have a problem, come back, show us your code, and explain the problem.
    Bob Schor

  • Recording sound from DVD and CD play

    I just bought a Zen V Plus. Could someone please tell me how to record sound from a DVD and/or CD to my MP3? Thank you!

    Try this:
    1. Connect the Line IN jack on your player to the line output of an external stereo source, such as a CD or MiniDisc player, using the supplied line-in cable.
    2. Press the Back/Options .You may need to do this more than once until the main menu appears.
    3. Select Extra button to start a line-in encoding.
    5. On your external stereo source, start playing the song you want to encode.
    6. While encoding, you can press and hold the Back/Options button and select one of the following items:
    Pauses the encoding. You can also pause the encoding by pressing the Play/Pause button.
    Stops and saves the encoding. You can also stop the encoding by pressing the Record
    Split Ends and saves current recording session, and begins a new one.
    7. Press the Record button to end the line-in recording. The recorded track is named LINE followed by the date and time of the recordin YYYY-MM-DD HH:MM:SS<. For example, if you record a track on March 5, 2004 at 2:57 pm, the track is named LINE
    This information can also be found in your user's guide, it's a .chm file found in your installation cd.

  • Recording sound with Siemens API

    Hello, there is only com.siemens.mp.media package instead of javax.microedition.media on my Siemens C55. It containes most of classes from MMAPI but class RecordControl is missing:( Is there some other approach how to record sound in java on this telephone? There is built-in dictafone creating WAVs..
    Thank you for answers.
    Honza

    While Premiere and Soundbooth both support a Windows audio standard called ASIO, both also include a driver that will let you use audio devices that do not support this format.  The driver is configured by default, but may not always select the proper input port - depending on the audio device and what Windows reports to the application.
    Fortunately, it's not too difficult to tinker around and find the right setting.  In Soundbooth, choose Edit > Preferences > Audio Hardware...  In the dialog that pops up, you should see a drop-down labeled "Default Device"  If you are running Soundbooth CS4, you should see "Soundbooth 2.0 WDM Sound" listed here.  Click the Settings button, and in the new dialog, click the "Input" tab.  Here you'll see a list of input ports for your selected audio device.  Make certain your microphone port is enabled, and click OK a few times to get back to the main program.  Click the Record button and make sure the microphone input is selected in the Port: dropdown.  Try recording and see if this solves the problem.
    If it still does not record, or you do not see the proper input to enable, you may need to verify the proper audio device is selected, or if you're running Windows Vista, that the input port you want to use is enabled in Window's Audio settings.  You can find this by right clicking on the speaker icon in your system try and choose "Recording Devices."
    Good luck!
    Durin

  • Recording sound in as3...

    Hi All...
         Can any one tell me please, How to record sound for mobile devices and save those recoded files in local system in mp3 format using as3 and air?

    Hi bhargavi,
    I'm not sure if you can save sound files to the local system even with AIR.
    Some time ago I made a similar application, just for test, but I had to send the bytes to a server in order to be recorded. The idea at the time was to use a TTS system.
    I used this page to guide me:
    http://www.bytearray.org/?p=1858
    After googling a bit, I found this one with an example... this is probably what you want:
    http://www.addictivetips.com/windows-tips/microphone-free-adobe-air-mp3-audio-sound-record er/
    See if it works.
    Cheers

  • How to use a recorded sound in voice memos as a ringtone.

    How to use a recorded sound in voice memos as a ringtone.

    You may have better luck dumping those to computer and using an application that includes the ability to scrub.
    Try the Mac App Store for choices.

  • Satellite A300-1NO - How can I record sound?

    Hello. I've got a Satellite A300-1NO machine, but I don't know how to set my sound card, because I want to record any sound that my sound card plays. For example listening an internet radio and record a track from it.
    I can only set my microphone to record it, and can't see any more opportunity. Waveout or anything else....How could i solve this problem? I've got the 6.0.1.5599 sound driver.

    Hello
    If you want to record the sound that plays the sound card you need an additional program. So its not possible to record sound only with the sound driver.
    There are many programs that can do this. I have good experience with No23 Recorder. Use Google to find it. Its freeware and easy to use.
    Furthermore there are some programs that streams internet radio and record it too. But I dont use such a program but Google can help you to find one.
    Greets

  • How do I record sound?

    I have very little experience recording sound onto my computer. I know how to use garage band, sound studio, etc. But I am interested in recording live chamber music. I was wonderng what additional programs and/or tools I will need. A microphone maybe? Any little bit of info will help. Thank you!

    A few items I found Googling:
    Recording Audio on Your Mac
    Basic Recording
    Audio Recording Software
    How to Record a Podcast
    Recording Audio
    If your Mac has a Mic input jack you can use a high quality microphone. If you don't have a Mic input jack then you can purchase a Griffin iMic to provide a Mic input connection via a USB port.

  • HT1349 When I choose a song or navigate to playlist, the notification sound is a brief 'scratching record' sound. How can I get rid of it? Thanks.

    When I choose a song or navigate to a playlist, the notification sound is a brief 'scratching record' sound. How can I get rid of it? Thanks.

    Try another browser such a Safari. If you get the same issue then it's probably the site, if it works OK on another browser then it's probably Chrome and you should re-post on a Chrome forum discussion board.

  • How to record the sound from a website on Satellite A100-307

    I have a Satellite A100-307.
    Audio record properties show only CD, Micro and Line as possible inputs
    I want to record sounds (music) which I hear when I visit sites on the Internet
    On other PC's, I select the Wave or Wave/MP3 input and it works
    I Cannot find this option on my PC
    Please help by indicating how to solve this problem
    Thanks in advance
    gbonamy

    Hi
    What sound card was installed on other notebooks??
    I have got 2 notebooks at home. One Satellite and one from other manufacture but I do not found such option like you have described.
    There is no recording from the wave or mp3. The sound card does not support such function.
    I think its not possible to record from other audio source. I think you can only use the external micro jack as a recording source because the line-in jack is not available on this unit.

Maybe you are looking for

  • How to syn multiple google calendars

    Hi, I share my calendar with my wife's gmail calendar. Now on my Lumia 720 my appointments have synced but I am not sure how to set up the phone so it will also sync my Wife's calendar. Do I need to add her account on to my phone and just tag calenda

  • How to set "choose template" as default when open pages?

    Hi, I am new to pages/numbers/keynote. My pages starts with the document browser and not with the "choose template" menu. However, on my second account this is not the case, here it starts with "choose template". Anyone knows how I can change this? T

  • Recreating a program interface with the drawing API?

    Hey there all! I've been out of the developing arena for awhile, so please bear with me. I'm currently doing a road trainer gig, and it would help me out tremendously to have a Flash version of the software I'm providing training on. Can someone poin

  • Merge issue : page numbering

    hi all, does anybody know how to add "total pages" after merging pdf documents adding "page <?>" works fine in other words , i need to add at the bottom of the merge document "page <?> from <total pages>" ---- code sample --- the code provide only pa

  • Firefox on Mac, now Bing search has replaced Google and I can't get rid of Bing- how?

    Bing has mysteriously replaced Google and pops up in new tabs, etc. I have tried to change this, but Bing pesists. I don't want it, I didn't ask for it (intentionally, anyway) - how do I get rid of it?