News for hackers. Stuff that matters.
Re:Norway switches off FM radio, but a station is defying go... by makecheck on Friday December 15, 2017 @01:43PM (#15934007)
The nice thing about analog is that signals may get weaker but they don’t just go away as easily so you hear continuous music, etc.

Digital can be maddening because it alternates between crystal-clear and OFF, which ultimately I think is worse. Some streaming services will also decide to auto-next-song after the slightest glitch which is annoying too.

Re:Norway switches off FM radio, but a station is defying go... by rb2k_ on Friday December 15, 2017 @02:36PM (#15934384)
> Digital can be maddening because it alternates between crystal-clear and OFF, which ultimately I think is worse. Some streaming services will also decide to auto-next-song after the slightest glitch which is annoying too.

I wonder if there are audio codecs that work similarly to wavelet based video codecs (DWT instead of DCT) where you could have stepwise degradation.

Re:Norway switches off FM radio, but a station is defying go... by magnat on Friday December 15, 2017 @03:18PM (#15934722)
There is somewhat similar concept of Bitrate peeling [1] in Ogg Vorbis. You can drop portion of the stream without transcoding and still be able to decode original audio at lower bitrate. With proper over-the-air modulation and multiplexing scheme (like ADSL interleaving), one should be able to have graceful degradation of digital audio.

[1] https://en.wikipedia.org/wiki/Bitrate_peeling

Re:Norway switches off FM radio, but a station is defying go... by madengr on Friday December 15, 2017 @08:40PM (#15936840)
Problem is the fading. You could drop the bitrate to boost the link margin a few dB, which works fine for SATCOM, but it won't help with deep fades. Putting two antennas on the car for diversity reception would work much better; surprised no one is doing it.
Re:Norway switches off FM radio, but a station is defying go... by xyzfoobarbaz on Saturday December 16, 2017 @02:18PM (#15941306)
Only cheap car radios do not do diversity. A lot of cars have three antennas and three or more tuners. You do not see all antennas, with a lot of cars you do not see any radio antenna.
Re:Norway switches off FM radio, but a station is defying go... by madengr on Sunday December 17, 2017 @10:39AM (#15946129)
Ha ha, I guess my cars are too cheap. I have never had a car with more than one VHF antenna.
Re:Norway switches off FM radio, but a station is defying go... by voxadam on Friday December 15, 2017 @05:26PM (#15935778)
Bitrate peeling is a beautiful concept, it's too bad that it was never implemented.
Re:Norway switches off FM radio, but a station is defying go... by snom380 on Friday December 15, 2017 @06:59PM (#15936370)
The original DAB codec had more error protection for the more important parts of the audio data (unequal error protection), so while not the same it would give a more gradual reduction in quality instead of a sharp drop-off. DAB+ doesn't do this though.
Re:Norway switches off FM radio, but a station is defying go... by vincnetas on Friday December 15, 2017 @03:27PM (#15934794)
It's a broadcast, you don't know what is the bandwidth of receiving device so you can't adjust accordingly.
Re:Norway switches off FM radio, but a station is defying go... by IshKebab on Friday December 15, 2017 @06:18PM (#15936118)
Nah you can do something like:

1. Sort your bits by importance. 2. Encode them as a real number using arithmetic coding. 3. Transmit that real number in an analogue way.

That means the more noise you have in your signal the fewer bits you receive correctly.

There are probably much more clever ways to do it than that but I don't think much work has really been done on it unfortunately because it's quite complex.

Re:Norway switches off FM radio, but a station is defying go... by microcolonel on Friday December 15, 2017 @03:49PM (#15934963)
The broadcast equivalent would be to transmit more error correction bits per capita with the important bits (i.e. those present in the lower constant bitrate stream). This is implemented in codec2 or the related modem system, I think.
Re:Norway switches off FM radio, but a station is defying go... by katastic on Friday December 15, 2017 @08:49PM (#15936880)
Well, digital protocols CAN be designed to degrade.

Why the digital FM standard doesn't do that, I'm at a loss.

There are definitely progressive codecs. Hell, look at JPEG (which uses Wavelets). Older kids will remember waiting for JPEG's of naked ladies to get "clearer and clearer" as the interlaced mode progressively builds the picture.

p.s. Wavelets are a super fun Google/Wiki to read up on over a night.

[edit] IT SHOULD BE NOTED, not all countries may have adapted the same codec so this "popping out" issue may only affect certain countries.

Re:Norway switches off FM radio, but a station is defying go... by userbinator on Friday December 15, 2017 @11:53PM (#15937780)
I think you're referring to progressive (regular) JPEG, which is not wavelet-based but just incremental DCT. JPEG2000 is wavelet-based, requires many times more processing power, and is hardly encountered on the Internet due to nearly nonexistent browser support(see https://caniuse.com/jpeg2000 ).

Why the digital FM standard doesn't do that, I'm at a loss.

The form of progressiveness in JPEG and other file formats is conceptually quite simple --- you send the "rough draft" first, then incrementally improve quality by sending more bytes. "Degradation" is basically limited to truncating the stream.

Broadcast radio reception degrades in a very different way --- (unpredictable) parts of the signal vary in strength or actually become corrupted. Either the decoder can decode the bits correctly or it can't, and which parts get weakened or corrupted is not easily predictable.

Re:Norway switches off FM radio, but a station is defying go... by katastic on Saturday December 16, 2017 @12:24AM (#15937892)
Thanks for the insight. I guess I never realized JPEG (as opposed to 2000) wasn't wavelet.
Re:Norway switches off FM radio, but a station is defying go... by pjc50 on Friday December 15, 2017 @02:53PM (#15934507)
It makes it harder to "tune" it by moving the antenna around, too.
Re:Norway switches off FM radio, but a station is defying go... by yvsong on Friday December 15, 2017 @10:10PM (#15937194)
Digital can be maddening because it alternates between crystal-clear and OFF

You mean between 1 and 0?

Re:Norway switches off FM radio, but a station is defying go... by grondilu on Friday December 15, 2017 @09:01PM (#15936949)
> The nice thing about analog is that signals may get weaker but they don’t just go away as easily so you hear continuous music, etc.

I think it is worth mentioning that this is called fault tolerance, aka graceful degradation.

https://en.wikipedia.org/wiki/Fault_tolerance

Re:Norway switches off FM radio, but a station is defying go... by cwillu on Friday December 15, 2017 @02:04PM (#15934164)
Anyone who's driven cross-country knows that FM will do that just as bad.
Re:Norway switches off FM radio, but a station is defying go... by khedoros1 on Friday December 15, 2017 @04:54PM (#15935542)
Anyone who's driven cross-country knows that FM is nice and clear for a while, then kind of fades out as you reach the edge of the transmitter's range. There's at least a sense of continuity with the drop in signal strength. Digital has a sharp transition between crystal-clear and completely dead. That's the distinction being made above.