Shop OBEX P1 Docs P2 Docs Learn Events
Can someone convert this .wav file to 16Khz bitrate? — Parallax Forums

Can someone convert this .wav file to 16Khz bitrate?

Don MDon M Posts: 1,652
edited 2015-03-29 20:15 in General Discussion
It's just a simple "beep" sound wav file and I don't have any programs that will let me convert it to 16Khz bitrate. I need it changed to work in a 4D display.

Thanks in advance to someone that can help.

Don

Comments

  • PublisonPublison Posts: 12,366
    edited 2014-02-28 10:05
    Have you tried Audacity?

    http://audacity.sourceforge.net/

    Pretty easy to use.

    I'll have to download the new version to help.
  • xanatosxanatos Posts: 1,120
    edited 2014-02-28 10:11
    Yes - Audacity is the bomb! (Oops... I just triggered some sort of sniffer! lol)

    I was going to just open the file & convert for you, but for some reason your beep file is not showing as a .zip, but instead a .php and my virus program freaked out about it, which it usually doesn't do (and I d/l a ton of weird stuff...)

    So try Audacity and let us know of your success. You should also check to be sure nothing has corrupted your attached .zip file...
  • Don MDon M Posts: 1,652
    edited 2014-02-28 10:11
    I didn't want to have to buy or install a program just for this one file if possible. :-)
  • xanatosxanatos Posts: 1,120
    edited 2014-02-28 10:13
    Audacity's free and it's a very simple install.
  • Don MDon M Posts: 1,652
    edited 2014-02-28 10:19
    xanatos wrote: »
    Yes - Audacity is the bomb! (Oops... I just triggered some sort of sniffer! lol)

    I was going to just open the file & convert for you, but for some reason your beep file is not showing as a .zip, but instead a .php and my virus program freaked out about it, which it usually doesn't do (and I d/l a ton of weird stuff...)

    So try Audacity and let us know of your success. You should also check to be sure nothing has corrupted your attached .zip file...

    Hmmm... I just zipped it on my Windows 8 laptop. I couldn't attach just the wav file here so I zipped it.

    Here's a link to my dropbox for the wav file unzipped. See if that works...

    https://dl.dropboxusercontent.com/u/13047840/beep-07.wav
  • PublisonPublison Posts: 12,366
    edited 2014-02-28 10:29
    I'll try and revisit later. Gotta go jump a vehicle.
  • eventsevents Posts: 27
    edited 2014-02-28 10:40
    Try GoldWave. It is fantastic.
  • xanatosxanatos Posts: 1,120
    edited 2014-02-28 11:17
    Here ya go... but really, you'll probably need to mess with sounds more in the future - and you'll be glad you grabbed Audacity. File attached, let me know if this works. YOU WILL NEED TO CHANGE THE FILE EXTENSION! In order to upload, I've set it as a .txt file. Replace the extension with a .wav and you'll be good to go.

    Dave
  • Don MDon M Posts: 1,652
    edited 2014-02-28 11:42
    xanatos wrote: »
    Here ya go... but really, you'll probably need to mess with sounds more in the future - and you'll be glad you grabbed Audacity. File attached, let me know if this works. YOU WILL NEED TO CHANGE THE FILE EXTENSION! In order to upload, I've set it as a .txt file. Replace the extension with a .wav and you'll be good to go.

    Dave

    Dave- Thanks so much! Works fine.
  • xanatosxanatos Posts: 1,120
    edited 2014-02-28 11:53
    Happy to help.
  • JonnyMacJonnyMac Posts: 9,105
    edited 2014-02-28 13:25
    Yes, get Audacity -- it's free, easy to use, and has fantastic features. In fact, you can use the Generate menu to create pure tones -- might be better than converting another file. You can apply fade-in and fade-out features to shape you beep.

    TIP: Zoom in and make sure that your first and last half-cycles of the audio file end on the zero-cross -- this will prevent pops on the output.
  • PublisonPublison Posts: 12,366
    edited 2014-02-28 13:49
    xanatos wrote: »
    Here ya go... but really, you'll probably need to mess with sounds more in the future - and you'll be glad you grabbed Audacity. File attached, let me know if this works. YOU WILL NEED TO CHANGE THE FILE EXTENSION! In order to upload, I've set it as a .txt file. Replace the extension with a .wav and you'll be good to go.

    Dave

    Dave,

    You beat me to it. Good deal.!

    Jim
  • Ahle2Ahle2 Posts: 1,179
    edited 2014-03-01 09:09
    Why use a sample for this?! Why waste so much memory for something as basic as a playing a triangle wave for 100 ms?
    You could do this in like 100 bytes of total memory consumption (compared to many kB) and with 500 kHz sample rate.
    If a simple square beep is good enough, you could use a counter and you would not even have to "waste" a cog.

    Search for TinySynth... a simple call to the "pluck" method with the right parameters will do more or less exactly what your sample does but with 500 kHz sample rate.

    /Johannes
  • Don MDon M Posts: 1,652
    edited 2014-03-01 09:15
    Ahle2 wrote: »
    Why use a sample for this?! Why waste so much memory for something as basic as a playing a triangle wave for 100 ms?
    You could do this in like 100 bytes of total memory consumption (compared to many kB) and with 500 kHz sample rate.
    If a simple square beep is good enough, you could use a counter and you would not even have to "waste" a cog.

    Search for TinySynth... a simple call to the "pluck" method with the right parameters will do more or less exactly what your sample does but with 500 kHz sample rate.

    /Johannes

    Johannes- The beep sound is being played on a 4D ULCD-43PCT display. It has it's own speaker and methods to play sounds from the sd card plugged into the display. It's just that they have to be in the right format in order to work. The Propeller isn't creating any of the sounds hence why I put this question in the general forum versus the propeller forum.

    Actually Jonny Mac's suggestion about using Audacity to create the sound versus modifying a file is a great suggestion.
  • Ahle2Ahle2 Posts: 1,179
    edited 2014-03-01 09:26
    I see.... I have no experience with 4D displays and this is a Propeller forum. I just jumped to conclusions. :)
    I have been using Audacity for more than 10 years now and It is up there among the better commercial alternatives. No need for anything else for like 99% of what you want to do.

    /Johannes
  • harneyluckilyharneyluckily Posts: 1
    edited 2015-03-29 20:15
    You may refer to this step by step guide to change your audio bitrate at http://www.idealshare.net/audio-converter/mp3-bitrate-converter.html
    It applies to convert the bitrate of WAV, MP3, WMA, FLAC, OGG, M4A and etc.
    Hope it helps for you.
Sign In or Register to comment.