has anyone an idea how to convert this 16kbit/s (maybe) proprietary audio file, back to a standard wave file?
The header strings only tell "PPCM_16" but I don't think it's a packed PCM.
The file format must be about 10 - 25 years old.
The file (it's a .bin format): https://ufile.io/wh6bc
Thank you!
try on the command line:
sox yourfile.bin newfile.wav
and see how it goes
Related
I have downloaded many video files and it should be converted to text files. Can anybody please help me out to convert a video file into a text? This is very important for my project.. Please suggest the answers soon as possible..
Thanks in advance
Generally i recommend convert file to Base64. On linux You can use base64 command line tool to convert binary file to text representation.
base64 file.avi > file.txt
To decode from text file:
base64 -d file.txt > file.avi
If it's a youtube video then you can just go to more next to save and click open transcript. I found it pretty easy. Then you can copy and paste it into a text file.
Trying to find a way to covert .wav file to pcap file. I have tried a open source program wav2rtp but the pcap file generated using this program is giving errors when I try to open pcap file in wireshark.
Is there a simpler way to do this file conversion ?
I have .wav & .au formats of the sound file.
Thanks.
You can stream audio (wav in in case) via RTP using VLC easily using GUI. This video will help you. Don't forget to change your codec/encoder to wav.
I have converted one mp3 file to .RAW format using audacity and now i want to open it to see it's binary content.
When i opened it with notepad++... NUL.... symbols almost killed me...
If somebody knows some editor for .RAW format file shall be highly helpful.
Thanks in advance.
just to answer my own question... hex editor is the tool
I am trying to play audio as i used to do but it seems not working now. These are the codes I tried:
local birdSound = audio.loadSound("bird.mp3")
audio.play(birdSound)
It gives an error like that:
WARNING: Failed to create audio sound
Can you help me out? Thanks.
Don't use .mp3. .wav works for both iphone and android.
Make sure the .wav file is in our folder.
Sometimes some sound file can be played on computer, but not works in simulator. In that case, use other files instead.
If you really like that .mp3 file and can not find .wav, find some free software to convert it.
Changing the bit rate(increasing) of my files helped me to solve the problem. Thanks to SatheeshJM!
In my application there are mp3 files located in the bundle (nothing from the web). Some of the mp3 files are original files and some I had edited using simple sound editing software (the ones where you insert a file, cut a slice of it and save it as a new and shorter mp3 file).
I'm using the AVAudioPlayer [initWithData] method.
All the original files (the ones that I hadn't edited and inserted to the bundle as is) are working perfectly and all the ones that were edited are not working at all.
I used 2 different editing software and the outcome is the same.
Anyone had ever encountered that or have any idea what may I done wrong?
Thanks,
Ohad
Converting the mp3 to caf worked for me
as specified here.
see the following:
How do I convert an audio file to the preferred format for iPhone OS?
The preferred full-quality audio format for iPhone OS is 16-bit, little-endian, linear PCM packaged as a CAF file. To convert an audio file to this format, use the afconvert tool at the command line in Mac OS X, as shown in Listing 5.
Listing 5 Converting an audio file to the preferred format for iPhone OS
/usr/bin/afconvert -f caff -d LEI16 {INPUT} {OUTPUT}
To see all the options available for the afconvert tool, enter afconvert -h at the command line.