This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Goertzel Demodulator | |
| // | |
| // This program demodulates two tone FSK using the goertzel algorithm. | |
| #include <stdio.h> | |
| #include <math.h> | |
| struct gConstants { | |
| float f1norm; | |
| float f2norm; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Arduino RTTY Modulator | |
| // Uses Fast PWM to produce ~8kHz 8bit audio | |
| #include "baudot.h" | |
| #include "pwmsine.h" | |
| // Yeah, I really need to get rid of these globals. | |
| // Thats next on the to-do list | |
| unsigned int sampleRate = 31250; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // An ASK Demodulator | |
| // Simplicity first. Get it working, then improve! | |
| // gcc ask-demod.c -o askdemod -lm -Wall | |
| // Usage: ./ask-demod ask-msg.raw ask-msg.txt | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <math.h> | |
| #include <string.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* This produces raised cosine bpsk*/ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <math.h> | |
| typedef struct { | |
| long sample_rate; | |
| long samples_per_symbol; | |
| long max_amp; |
OlderNewer