Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soundofwood
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Geisler
soundofwood
Commits
580b44c7
Commit
580b44c7
authored
3 years ago
by
dronus
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
d341f88f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
linescan.py
+0
-15
0 additions, 15 deletions
linescan.py
with
0 additions
and
15 deletions
linescan.py
+
0
−
15
View file @
580b44c7
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment