Add shebang and tidy some more

This commit is contained in:
kris 2020-08-11 23:26:55 +01:00
parent 1bbbd8c154
commit b35e4f86fb
2 changed files with 2 additions and 8 deletions

View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
# Delta modulation audio encoder.
#
# Models the Apple II speaker as an RC circuit with given time constant
@ -22,8 +23,6 @@ import librosa
import numpy
from eta import ETA
PORT = 1977
OPCODES = {
'tick_page1': 0x00,
'notick_page1': 0x09,

View File

@ -1,11 +1,6 @@
#!/usr/bin/env python3
import socketserver
import sys
import functools
import random
import numpy
from scipy.io import wavfile
import scipy.signal as sps
PORT = 1977