Add support for primary service mode MP2
Closed this issue · 6 comments
As noted in #301, WAMU is using primary service mode MP2, but nrsc5 cannot decode this mode yet.
I've added preliminary support in the add-mp2 branch, and will open a pull request once I've had a chance to do some more testing.
It turns out that WAMU is using the P3 logical channel to send its station logos:
My recording doesn't have any album art, but it's possible the P3 logical channel might also be used for that.
/cc @markjfine
Looking through my collection of recordings, I see that WAMU is not the only station sending out data on the P3 logical channel. WMUZ (Detroit) and WVEZ (Louisville) are also doing so. So these changes will also allow additional files to be decoded from stations using the MP3 mode.
I pulled their logo off of their website in nrsc5-dui, which is the same here. Interesting that they'd devote an entire channel for station logos and optional album art.
HD1 is their main audio feed, a simulcast of American University's NPR-affiliated station. The second image is most likely for HD2 named 'Bluegrass Country' [Note: Those look like banjo frets, unless it's a ukulele, but definitely not a guitar 'cause only 4 strings]. Doubt HD1 would use any album art, but HD2 might. Worth playing around to find out for this, as well as other stations in the area that provided no logos via their main channels.
Best I can tell WAMU is the only station in this region using P3 for this purpose at the moment. Nothing else looks out of the ordinary other than one station, WKYS, apparently using album art for ads. On another station, WIAD's HD2 (Channel Q) no longer has audio. The multipath being generated by a small plane flying around isn't helping with locking onto several marginal stations, but will continue to check these over time.
Interesting that they'd devote an entire channel for station logos and optional album art.
In mode MP2, the P3 logical channel is only 12 kbps. That would be quite low for an audio channel, so offloading data to it seems like a reasonable idea.
Worth playing around to find out for this, as well as other stations in the area that provided no logos via their main channels.
Using the P3 logical channel for data of any kind seems to be rare. Out of my collection of ~80 recordings, only three stations are doing so.
WMUZ doesn't have anything in their P3 data channel, it's just an endless stream of empty packets.
WVEZ is sending station logo & traffic data in P3.