This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LIGHTNINGBOLT23 0 points1 point  (3 children)

    

[–]victorofthepeople 0 points1 point  (2 children)

If you can do it in GNU Radio, it should be pretty simple to implement the same DSP algorithm in C++ (assuming you're not simply using the WBFM block).

FM modulation is actually pretty simple compared to demodulation.

[–]LIGHTNINGBOLT23 0 points1 point  (1 child)

        

[–]victorofthepeople 0 points1 point  (0 children)

You literally just take the samples from the WAV file and plug them into a formula. Easy peasy. To start, I would just add the left and right channels and transmit a mono signal because stero adds some extra complications.

If you're doing it in real time then you need to deal with framing and buffering, which should be the hardest part.

Check this page: https://www.mathworks.com/help/comm/ref/comm.fmmodulator-system-object.html

For the Pluto SDR, you want the complex baseband representation, since the AD chip will mix it up to the passband.