Skip to content
Snippets Groups Projects
Commit 580b44c7 authored by dronus's avatar dronus
Browse files

cleanup

parent d341f88f
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@
# import the necessary packages
#from pyimagesearch.tempimage import TempImage
from psonic import *
import math
from picamera.array import PiRGBArray
from picamera import PiCamera
......@@ -17,7 +16,6 @@ import argparse
import warnings
import datetime
#import dropbox
import imutils
import json
import time
import cv2
......@@ -43,8 +41,6 @@ client.activate()
stats=""
mainKeys = [C3,D3,E3,F3,G3,A3,B3,C5,D5,E5,F5,G5,A5,B5]
#timer class:
class aTimer():
def __init__(self,t,hFunction):
......@@ -100,17 +96,6 @@ class SmoothedFpsCalculator:
self.sfps = fps * self.alpha + self.sfps * (1.0 - self.alpha)
return self.sfps
use_synth(PROPHET)
print("testing pisonic output")
q=[C3,D3,E3]
play(q, attack=0.5, decay=1, sustain_level=0.5, sustain=2, release=2)
time.sleep(2)
q=[F3,G3,A3]
play(q, attack=0.5, decay=1, sustain_level=0.5, sustain=2, release=2)
# construct the argument parser and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("-c", "--conf", required=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment