Skip to content

Instantly share code, notes, and snippets.

View Maxime-Favier's full-sized avatar
📡

Maxime Favier Maxime-Favier

📡
  • Paris, France
  • 07:30 (UTC +02:00)
View GitHub Profile
@Maxime-Favier
Maxime-Favier / spectrumLab.py
Created May 29, 2025 14:43
spectrumLab python trying udp streaming
import socket, time, math, struct
import numpy as np
import serial
UDP_IP = "127.0.0.1"
UDP_PORT = 6999
SAMPLE_RATE = 48000
PACKET_SIZE = 10000
PACKET_DURATION = PACKET_SIZE/SAMPLE_RATE
@Maxime-Favier
Maxime-Favier / cqrprop.py
Created September 28, 2021 20:05
cqrprop clone
import gi
gi.require_version('GdkPixbuf', '2.0')
from gi.repository import GdkPixbuf, GLib
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk
from PIL import Image
import requests
imggif = Image.open(requests.get("https://www.hamqsl.com/solar101pic.php", stream=True).raw)
imggif.load()