Hacker News new | ask | show | jobs
by turdnagel 1921 days ago
Daftendirekt - the Daft Punk track? By "modulating its clock" do you mean playing the song as an alarm?
1 comments

Sorry, I meant "Homework" as in the entire album.

By "modulating the clock" I mean modulating the SoC base clock frequency (nominally 100 MHz, but increased to be a valid and unused FM channel, if decreased then the pi locks up) with the audio to make an FM transmitter. Hook up a wire to the clock output GPIO pin and you have an FM antenna. Lay it next to an old FM clock radio and you now have a clock radio that plays whatever you want. Make a cron job and forget it.

https://github.com/pimylifeup/fm_transmitter

That is pretty cool. I'm actually working on a Raspberry Pi based clock and now I want to incorporate this somehow. Thanks for sharing.
I’m certain it plays hell on software timekeeping. If you don’t have an RTC then switching to chrony and increasing the poll rate should help prevent potential clock error.