Skip to content

Instantly share code, notes, and snippets.

View brockbrownwork's full-sized avatar

brockbrownwork

View GitHub Profile
/*
Tracking system frontend for Signet
Scattered ideas:
- undo scans? (maybe better to handle from server side, or maybe just scan to proper location instead)
TODO: implement grid system to handle different window sizes (this is kinda clunky on the buttons, also maybe just use percents?)
TODO: get this talking to a server with sockets
import numpy as np
import sounddevice
import time
import random
samples_per_second = 44100
def sawtooth(frequency, duration):
each_sample_number = np.range(duration * samples_per_second)