What do the bytes in a .wav file represent?

You will have heard, that audio signals are represented by some kind of wave. If you have ever seen this wave diagrams with a line going up and down — that’s basically what’s inside those files. Take a look at this file picture from http://en.wikipedia.org/wiki/Sampling_rate You see your audio wave (the gray line). The current … Read more

How is audio represented with numbers in computers?

Physically, as you probably know, audio is a vibration. Typically, we’re talking about vibrations of air between approximitely 20Hz and 20,000Hz. That means the air is moving back and forth 20 to 20,000 times per second. If you measure that vibration and convert it to an electrical signal (say, using a microphone), you’ll get an … Read more

Recording audio in Swift

In Swift 3 Add framework AVFoundation **In info.plist add key value Key = Privacy – Microphone Usage Description and Value = For using microphone (the apps will crash if you don’t provide the value – description why you are asking for the permission)** Import AVFoundation & AVAudioRecorderDelegate, AVAudioPlayerDelegate import AVFoundation class RecordVC: UIViewController , AVAudioRecorderDelegate, … Read more

Play audio as microphone input

Just as there are printer drivers that do not connect to a printer at all but rather write to a PDF file, analogously there are virtual audio drivers available that do not connect to a physical microphone at all but can pipe input from other sources such as files or other programs. I hope I’m … Read more

What is the best way to merge mp3 files? [closed]

David’s answer is correct that just concatenating the files will leave ID3 tags scattered inside (although this doesn’t normally affect playback, so you can do “copy /b” or on UNIX “cat a.mp3 b.mp3 > combined.mp3” in a pinch). However, mp3wrap isn’t exactly the right tool to just combine multiple MP3s into one “clean” file. Rather … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)