racerxdl / segdsp

Pure GoLang DSP Library with native SIMD
Apache License 2.0
54 stars 8 forks source link

ssb/cw example ? #6

Open tggo opened 2 years ago

tggo commented 2 years ago

Can you show an example of working with ssb / cw ?

racerxdl commented 2 years ago

You can check the AM Demodulator here: https://github.com/racerxdl/segdsp/blob/master/demodcore/am.go

The difference for CW / SSB is that instead using the Complex2Magnitude at the end (which returns the Amplitude of the signal) you should either clamp the signal (remove negative/positive amplitudes for SSB) or convert to tone (in case of CW)

I havent done yet any specific demod for SSB / CW yet.