Converting wav to mp3 (mpeglayer3)?

using JMF, i've managed to convert the wav file to mp3 (mpegaudio: 22050Hz : 16bps : stereo), i just have a problem in playing it in some players. So...
is it possible to convert the same wav file (linear : 22050Hz: 16bps : stereo) to
mp3 (mpeglayer3 : 22050Hz : 16bps : stereo), so i could play it in any player?
Kind regards!

Hi,
Could you help me in identifying where I am wrong in my code, where I am trying to convert a wav to mp3 using JMF and Java MP3 plugin:
Processor p = new MediaProcessor();
p.start();
MediaLocator source = new MediaLocator ("file://E:/workspace2/Test/ALSNDMGR.wav");
DataSource d = Manager.createDataSource(source);
p.setSource(d);
p.configure();
TrackControl[] tc = p.getTrackControls();
tc[0].setFormat(new AudioFormat(AudioFormat.MPEGLAYER3));
p.realize();
p.setContentDescriptor(new ContentDescriptor (FileTypeDescriptor.MPEG_AUDIO));
DataSource ds = p.getDataOutput();
MediaLocator destination = new MediaLocator ("file://E:/workspace2/Test/Test.wav");
DataSink sink = Manager.createDataSink(ds, destination);
sink.open();
sink.start();
sink.close();
p.stop();
Is there any other way to convert audio files to mp3? Please help.

Similar Messages

  • I just converted wav to mp3, but now I can't locate the files.

    I just converted wav to mp3, but now I can't locate the files.

    make sure you have the exact path written correctly. If you can, show what the filename is in itunes, and the filename when you are looking at the song files (i.e. through my comuter). Make sure these are the same, and that they are all usable itunes formats.

  • How do I convert wav to mp3 in itunes windows?

    How do I convert wav to mp3 in itunes windows?

    You'll need to adjust your import settings to mp3 first. For instructions, see the following document:
    iTunes: About the Add to Library, Import, and Convert functions
    EDIT: sorry, this document is better:
    iTunes: How to convert a song to a different file format
    Message was edited by: b noir

  • Converting wav to mp3 during sync

    I would like to sync my music from itunes to my iphone however my file formats are large wav. I do not want to store such large files on my device, are there settings that you can set to convert files to mp3 during sync.
    Thx

    You can leave them in the same directory if you want.
    iTunes prefs -> Advanced - Importing.
    Set it to import in the fomrat you want.
    Then selct the songs you want to convert, go to menu Advanced -> Convert selection to what you set in prefs].
    This will create a new copy in the new format.

  • Converting WAV to MP3

    I had heaps of WAV files on my computer then i tranfured them to my D drive and reimaged the C Drive, now i dont know how to turn all these WAV files into MP3's and i dont want to load up all my CD's again because it could take hours. So how can i take this music, turn it into a MP3 so that i can then put it on my iPod.

    I'll just add that your iPod supports WAV already, so you don't need to convert them to MP3. That said, if you convert them you can fit more on the iPod. Also, the battery will probably last longer with MP3s.

  • Converting .wav to .mp3 in iTunes

    Very simple question: I have some wav files on my computer that I need to convert to mp3. I can do this with iTunes right? The wav files are not currently in my iTunes library. I tried simply dragging them over to my iTunes window, after selecting "Import Using: MP3 Encoder" in the Import Settings of the Preferences window, but that didn't work (it didn't convert it when importing). Can someone help? Thank you. My iTunes is version 8, OS is 10.5.7.

    select the files in iTunes and, from the advanced menu, choose +create MP3 version+.
    edit: just noticed you're on iTunes 8 so it might be different in that version. see this KB article: http://support.apple.com/kb/ht1550.
    alternatively, use one of these free apps to convert the wav's before adding to your library.
    JGG
    edited by the Jolly Green Giant (where Green stands for environmentally friendly)

  • When Converting WAV to MP3's, songs changes to Matrix S-L-O-W..Please help!

    When trying to convert my WAV files to MP3's, they double in size & slow down?
    I use to be able to convert just fine, I can't remember if I upgraded itunes or just messed with my setting?
    When I play the original wav file (through) itunes, the size is the same & the sound if perfect?
    Anyone else having this problem?
    What gives?

    Neuro wrote:
    Well, I've done a similar script myself for my personal use: Audioconvert.
    Type ./audiocovert.sh --help for help. To convert a wma file to mp3 do
    ./audioconvert.sh --format mp3 file.wma
    I hope this one helps you.
    I saved your script in a folder full of wave files, entered:
    $ ./audioconvert.sh --format mp3 Intro.wma
    And got:
    -bash: ./audioconvert.sh: Permission denied
    Permissions and ownership aren't the problem, as I get the same thing as root, any ideas?

  • Converting WAV files to AAC  Error convert Can't read from or write to disk

    For several weeks I had no problem converting WAV files (from an Olympus Digital Recorder) to AAC format in iTunes, then one day I clicked "Convert Selection to AAC" and received the message "Error occured while converting the file. The disk could not be read from or written to." There is no Error # associated with the Error message.

    I recently spent over 14 hours converting all my CD songs to WAV. WAV conversion was the only one of two options available with my older Nero software, and MP3 conversion was not an option. I intended to make mixed CD's. By the time I was done, I had over 300 songs that take up over 17 GB in this WAV format.
    The thought of sitting even more endless hours making these CD's made me even more exhausted, and I realized that I should get with the times and get an MP3 player. So, I bought an iPod directly from Apple two days ago (12/16), and get this, MaclessInAZ, the sales person told me that I all my WAV files could be imported into my iPod with iTunes. (!!!)
    I am very glad to have read this thread before I got my iPod. I would have been so upset if there was no easy solution. My new iPod is supposed to be delivered tomorrow, and I am looking forward to getting it. Many thanks to weavercs for the information on the Switch program that converts WAV to MP3. Even if I decide to buy the full version of Switch, it is a lot less expensive than other conversion programs that I just found online, like Roxio.

  • Convert wav files into iTunes

    Okay this is the challenge.
    Have both PC and Macs but have a huge library of music on my PC.
    Need to convert it for use in iTunes.
    Pretty much I can figure that out but I also want all the album information too.
    So the question is do I install iTunes on the PC and import the files as Apple directs or is there a third party software that will convert it all to MP3 and then just import it into iTune on my Mac?
    Any help would be great, thanks.
    Mark

    If music quality is important to you dont convert wav to mp3, you lose a great deal of audio quality! You should be able to save your itunes library file and move all your songs over to your mac and then when you open itunes hold down the option key before you click the itunes icon. It will ask you to chose an itunes library. Then just locate the itunes library file you put on your mac and so long as all your music is in the same folder structure as it was on the previous computer it should all sync up.

  • Artwork/converting wav files

    How does one get artwork onto wav files? If that's not possible, will converting solve the issue? iTunes help has what seems to be a simple way to convert wav to mp3, but I couldn't get it to work.
    Has anyone solved this dilemma?
    If it matters, I'm trying to add "misc." artwork, not an actual album cover or anything.

    Carl2444 wrote:
    will converting solve the issue?
    definitely
    iTunes help has what seems to be a simple way to convert wav to mp3, but I couldn't get it to work.
    i was just running into this in another thread. here's what Zevoneer suggested:
    +If the tracks are in your iTunes library (and there is no DRM copy protection on them) go to Edit>Preferences>General (or iTunes>Preferences>General on a Mac) and choose the Import Settings button. Pick the format you want to convert your files to (MP3 for example). in your iTunes library or playlist highlight the song or songs you want to convert and go to the Advanced menu on the top bar of iTunes and choose, again for example "Create MP3 version":How to convert a song to a different file format. You can't use iTunes to convert tracks that are not in your iTunes library.+
    does that fix your issue ?

  • Software to convert Cd audio + WAV to MP3

    I have problems with MP3 files import in Director, what
    software i can use to converter from cd audio or wav to mp3?
    Heelli :)

    pheelli wrote:
    > I have problems with MP3 files import in Director, what
    software i can use to converter from cd audio or wav to mp3?
    Hi Heeli.
    To convert CD Audio to WAV/MP3 search 'cd audio ripper' in
    Google. First one that came up when I searched now is
    Audiograbber which I've used and is quite good.
    You can also sear WAV to MP3 to convert. Since Director is
    now part of Adobe, I'll mention Adobe Audition (Windows Only)
    which can do this. It's a powerful audio editing program that
    can work with WAVs and MP3s. It's much more than just a
    converter.
    If you have WAV files, you may try convert them to SWA in
    Director. Xtras menu - Convert WAV to SWA (Windows only).
    regards
    Dean
    Director Lecturer / Consultant
    http://www.fbe.unsw.edu.au/learning/director
    http://www.multimediacreative.com.au

  • Will anybody kindly recommend a high end wav to MP3 converter software

    There are so many WAV to MP3 converter software on the market. I tried some of them and was not very happy with them. Will anybody kindly recommend a high end wav to MP3 converter software that they have had a good experience with. I need this software to convert WAV speech recording into MP3 in batch processing. Thank you

    [email protected] wrote:
    > There are so many WAV to MP3 converter software on the market. I
    > tried some of them and was not very happy with them. Will anybody
    > kindly recommend a high end wav to MP3 converter software that they
    > have had a good experience with. I need this software to convert WAV
    > speech recording into MP3 in batch processing. Thank you
    Audition comes to mind .... O;-)
    Kind regards
    Peter Larsen

  • Converting WAV files to mp3 upon import

    I have changed my import settings in itunes preferences to encode incoming wav files to mp3, restarted my computer, but when I import the wav file, it stays a wav file, no matter how I set my preferences. Why can't I make mp3's, or that is how the F**K can I get my computer to do what I'm asking it???
    P.S. I still love my mac, but jesus, come on!!!

    I have changed my import settings in itunes preferences to encode incoming wav files to mp3, restarted my computer, but when I import the wav file, it stays a wav file, no matter how I set my preferences.
    Import will only convert to the selected format when your RIP from CD or select a file already in iTunes then menu Advanced -> Create {import settings} version.
    Make sure your Import settings are MP3.
    Hold Option, go to iTunes menu Advanced -> Convert selection to MP3, then select the WAV files you want to add to yoru library
    This will convert them to MP3 and add them at the same time.

  • Urgent How to convert wav files into mp3?

    Can anyone plz tell me how can i convert wav file into mp3 using JMF? tell me any sample programme, any method in JMF........ help me plz

    Examples could be found on the JMF Solutions page.
    Only I can say about mp3 through network - it's hardly possible. I recommend GSM for compression2transmit. It could be used via GSM content descriptor. I'm not sure, but I suppose MP3 is supported only for files, there's no MP3.RTP or such (if you want to transmit files, it should not cause any problems).
    About JavaSound - it does not matter... You still need JMF to be installed on Client, and AppletCapture to be enabled. Futrher - would it be DirectSound, JavaSound, or anything else - just the deal of JMF.
    I tried to use JavaSound capture with proceeding AudioInputStream to JMF, but failed to do this.
    About your problem - best solution seems like that:
    capture sound
    put it into processor
    set format to GSM
    transmit
    so then, server receives it and formats it as it likes.
    If you want to transmit exactly files, you should use just some of pure java after capturing. java.net, or such thing.

  • Converting WAV files to MP3 files

    I have a USB turntable for converting my vinyl records to digital. When the files are imported to itunes they are large WAV files. I there a way to set up itunes to automatically convert the WAV files to MP3 files?

    Old thread, but still very useful. I too looked for a converter for Mac
    for ages and stumbled across your forum. Now you can use an app called audio converter for mac,  It costs a bit, but u can try it out free first to see if it works for what ,you need it for. Plz click the link below to get more info: http://www.mp3converter-mac.com/wav-to-mp3-converter-for-mac/

Maybe you are looking for

  • Online Radio Management Software for Arch Linux

    After switching to Arch Linux, I found out that I have no interest to try any other distro. Unfortunately I really missed something that I have used in Ubuntu, and that was Sourcefabric : Airtime. It is a free opensource radio automation software, an

  • [SOLVED] bluetooth problem - bluez-simple-agent exception

    Hi I am trying to pair to a bluetooth headset. I think I'm almost there, but at the last step I get an exception. This is what i did so far: 1) launch dbus rc.d start dbus 2) launch bluetooth rc.d start bluetooth 3) check if my device is UP # hciconf

  • IPhoto 6 failure to detect duplicates when importing

    When importing from camera iPhoto 6 refuses to recognize duplicate photos. I can import a roll, switch the camera off and quit iPhoto, and a few minutes later just repeat the import. iPhoto duly creates a new roll and imports the same batch of pictur

  • IPad 2 System Upgrade

    I  just attempted to update my iPad 2 to iOS 7. Everything went well until I got to the point where it told me that the new iOS 7 was successfully installed, the back up restored. It then directed me "slide to set up". After selecting English and my

  • My deskjet 9800 only prints partial pages

    My deskjet 9800 only prints partial pages in 11x17" format. then pulls another paper for two inches of printing then pulls another paper for another two inches of printing etc. Other sizes work fine. I just upgraded my computer and changed cable to a