Three Videos On Codec2 and Open Hardware 37
Bruce Perens writes "Codec2 is the Open Source ultra-low-bandwidth speech codec capable of encoding voice in 1200 Baud. FreeDV (freedv .org) is an HF (global-range radio) implementation that uses half the bandwidth of SSB, and without the noise.
Here are three speeches about where it's going."
- David Rowe: Embedding Codec2: Open Source speech coding on a low-cost microprocessor, at Linux.conf.au 2014. YouTube, downloadable MP4.
- Bruce Perens: FreeDV, Codec2, and HT of the Future (how we're building a software-defined walkie-talkie that's smarter than a smartphone), at the TAPR/ARRL Digital Communications Conference 2013. Blip.tv, YouTube
- Chris Testa on the .Whitebox handheld software-defined radio design that is the RF portion of HT of the Future, which was also shown at the TAPR conference.
MOS? (Score:3)
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
MOS is only for people who want to pay a lot of money. Of the automated processes, the one available to us isn't validated for less than 4K bps codecs.
It would be a great improvement to MOS if there was an open version of POQLA. But the actual customer base for the codec have never even heard of MOS and thus we aren't volunteering to write that. The folks who want to put it in expensive government support systems yet aren't willing to help with testing don't get our sympathy.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Again, not all telcos are AT&T.
Re: (Score:2)
You could do this using FRS walkie talkies, as long as they have microphone and earphone connections. Or analog telephones. It's been tested multiple times on ham FM walkie talkies. Anything that carries voice should work. The bandwidth is only 1.25 kHz and I think the low end starts at about 700 Hz.
Re: (Score:2)
Re: (Score:2)
My dirty napkin says that's about 15 seconds of encoded audio per printed page. Now all I need is a smartphone app which takes a picture and plays back the audio. VoilÃ, a hot useless gift idea for Xmas 2014!
Re: (Score:2)
Code2 voice sample @4:50 (Score:4, Interesting)
http://www.youtube.com/watch?v=u4svoub6XcE&t=4m50s [youtube.com]
This is pretty neat. Some high school friends and I were attempting to get voice working over 2400 baud c. 1990 (we wanted Internet phones). We never even came close, and thought we'd have to do phoenmic deconstruction to get that kind of data rate. This is pretty amazing for 1200 baud, even if it is almost 25 years later.
Re: (Score:2)
Transcode (Score:2)
Using smaller formats means I can download it faster [...] and that I can store more stuff on my phone for listening to it later. It's kind of annoying when podcast creators end up generating a 120 MB file for 60 minutes of audio.
Consider using a quad-core CPU to transcode 320 kbps MP3 to 64 kbps Vorbis. Divide the recording into four parts and run one part on each core. Then you can store the four parts on your phone without using too much internal storage. It won't solve your download time or monthly transfer cap problem, but it will help you work around phone makers' tendency to cut out microSD slots and mark up internal storage at highway robbery prices.
Re: (Score:2)
Re: (Score:2)
Decoding Vorbis is drop in bucket (Score:2)
where is he gonna get a phone that will actually play the resulting 64kbps Vorbis? [...] he'd be better off encoding to 128kbps MP3 or simply investing in a bigger microSD
No iPhone has a microSD slot. So unless and until Windows Phone or BlackBerry becomes popular again, pretty much any phone with a microSD slot is going to ship with Android. And as chowdahhead pointed out, every Android device I've owned going back to 2.2 has come with a Vorbis decoder.
Vorbis is strictly CPU decode which will end up costing more in battery life.
MoonShell and Guitar Hero On Tour run 67 MHz ARM9 (ARMv5) CPU of a Nintendo DS, and they decode Vorbis in real time. With the higher clock speed and signal processing instructions of the processor in a modern phone, CPU use o
Re: (Score:2)
We avoid some techniques that would make the noise performance worse. The HF version of the codec doesn't vector quantitize, and doesn't do any delta coding between frames. The current FEC is Golay and we are investigating low-density parity codes.
There is a lot yet unheard about the Ratheon codec, regarding its actual noise performance and how well the listener can distinguish different speakers.
Latency? (Score:2)
How does it handle latency? I was interested in FreedomPop since the cost was so low but the latency and jitter of 3G data networks caused it to be completely unusable and they were supposed to be using one of the better VoIP codecs for the conditions.
Re: (Score:3)
I've used codec2 daily in the ghpsdr-alex branch for controlling SDR over Linux remotely.
It is deployed on the Android App glSDR that you can find in the Android Market.
The app provides a GUI with spectrum & waterfall along with Audio from the radio being controlled. Codec2 is used to provide a low-overhead transport that survives the Internet quite nicely.
I've used the app with my 4G phone quite successfully.
Now to the question of latency. When I connect to my own radio with a real-time playback PLUS
Re: (Score:2)
glSDR is awesome! Thanks for mentioning it. Now off to build a dspserver. ;->
KC9KBP
from codec2.org (Score:3)
The way that current digital voice products for Radio Amateurs encode voice signals to digital bits is both trade-secret and patented.
Excuse me, but if something is patented, how can it be a trade secret?
Re: (Score:3)
Re: (Score:2)
Perhaps they are referring to different products, some of which are patented, others trade secrets.
1200 bits/s, not bauds. (Score:2)
Even codec2 authors wrote "1200 and 2400 bits per second".
Nowadays with QAM64/256 and other modern techniques one symbol is not equal to one bit, and 1200 baud can be many times more bits/second.
Already in 1990s V.32 standard transmitted 4800 bits/s over 1200 baud line, using symbols with 4 bits.
Come on, this used to be technology geek site.
Re: (Score:2)
To put things in perspective for the new-ish Slashdot readers who aren't nerds at all, this means 1200 bit per second, 150 bytes per second or 0.146484375 KiB per second or roughly 870 times smaller than a typical 128kbps MP3/AAC file.
Re: (Score:2)
Or maybe I messed up somewhere and 128kbps divided by 1.2kbps is 106 times smaller, not 870.
Still very impressive, unlike my math.
Re: (Score:2)
I.E. that means 1 hour and 56 minutes of audio in a 1 MiB file.
Re: (Score:2)
Re: (Score:2)
Thank you for taking time to reply and adding interesting information!
Regardless of bauds/bits (and 1200 bits/s is more impressive than 1200 baud), Codec2 is a very interesting development in voice area. It also demonstrates how much has changed on endpoints when it comes to processing power and capabilites, while bandwidth (that in Hz and that in bit/s) still remains limited.
Dubious application in VoIP (Score:2)
The typical VoIP packetization interval is 20ms. At their highest bitrate, you would be transmitting 48 bits (or 6 bytes) of data per packet.
However, RTP packets have 54 bytes of overhead, and 20ms of G.729 is 20 bytes. Switching from G.729 to codec 2, the net bandwidth would only be a 19% decrease in bandwidth. For comparison, the last widespread codec change (G.711 to G.729) was a 65% decrease in bandwidth. It would be a much harder sell.
On the other hand, VoIP could use the bandwidth for redundancy;
Re: (Score:2)