Skip to content

Instantly share code, notes, and snippets.

View peterbmarks's full-sized avatar

Peter B Marks peterbmarks

View GitHub Profile
@peterbmarks
peterbmarks / wsprgen.py
Last active April 8, 2025 12:08
Python code to generate WSPR tones using pyaudio
#!/usr/bin/env python3
# Pure python code to generate WSPR audio tones
#
# Heavily based on https://github.com/PH0TRA/wspr which drove an AD9851
# I removed that code and replaced it with audio generation using pyaudio
# wsprgen.py CALLSIGN GRID dBPower BASE_AUDIO_FREQUENCY
# genwsprcode from https://github.com/PH0TRA/wspr/blob/master/genwsprcode.py
import genwsprcode as g
import pyaudio
@peterbmarks
peterbmarks / SiCrystal.ino
Created March 10, 2023 05:16
Minimal VFO using Si5351
/*
Simple VFO for a direct conversion receiver.
Si5351 controlled by a rotary encoder.
Based on code from Paul, VK3HN
https://github.com/prt459/Arduino_si5351_VFO_Controller_Keyer
*/