-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Changed default to ISO 31 band spectrum analiser frequencies with 40 pixels resolution + Changes in audioInput.py. Deprecated bands displaying average of multiple frequencies (now display single frequency measurement) + Default fft samples are now tripled (6144) in visualiser.py + Changes in Spectrum Line to fit new single frequency change. + Changes in Menus.py to fit new single frequency changes ~ Minor Fixes
- Loading branch information
Showing
17 changed files
with
224 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
from tkinter import * | ||
from tkinter.ttk import * | ||
|
||
|
||
class NewScreenDialog(Toplevel): | ||
def __init__(self, root): | ||
super().__init__(root) | ||
self.minsize(width=250, height=10) | ||
self.title("Select Screen") | ||
|
||
self.var = "" | ||
|
||
Label(self, text="Select Screen Type").pack(anchor=NW, pady=20, padx=10) | ||
self.combo = Combobox(self, values=['Spectrum', 'SpectrumLine', 'ResponsiveStar', 'ResponsiveBox', | ||
'ResponsiveHelix', 'Video']) | ||
self.combo.pack(padx=10, fill=X) | ||
self.combo.current(0) | ||
|
||
b = Button(self, text="OK", command=self.ok, width=35) | ||
b.pack(pady=30, padx=20, anchor=SE) | ||
|
||
def ok(self): | ||
self.var = self.combo.get() | ||
if self.var != '': | ||
self.destroy() | ||
|
||
def show(self): | ||
try: | ||
self.wm_deiconify() | ||
self.combo.focus_force() | ||
self.wait_window() | ||
return self.var | ||
except Exception as e: | ||
return "" | ||
|
||
|
||
class Progressbar(Toplevel): | ||
def __init__(self, root): | ||
super().__init__(root) | ||
self.minsize(width=250, height=10) | ||
self.title("Select Screen") | ||
|
||
self.var = "" | ||
|
||
Label(self, text="Select Screen Type").pack(anchor=NW, pady=20, padx=10) | ||
self.combo = ttk.Combobox(self, values=['Spectrum', 'SpectrumLine', 'ResponsiveStar', 'ResponsiveBox', | ||
'ResponsiveHelix', 'Video']) | ||
self.combo.pack(padx=10, fill=X) | ||
self.combo.current(0) | ||
|
||
b = Button(self, text="OK", command=self.ok, width=35) | ||
b.pack(pady=30, padx=20, anchor=SE) | ||
|
||
def ok(self): | ||
self.var = self.combo.get() | ||
if self.var != '': | ||
self.destroy() | ||
|
||
def show(self): | ||
try: | ||
self.wm_deiconify() | ||
self.combo.focus_force() | ||
self.wait_window() | ||
return self.var | ||
except Exception as e: | ||
return "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
|
||
class Connection: | ||
type = "None" | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.