You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a bit new to Python and some of the modules used here. Odd errors, that I'm just unable to troubleshoot.
thismanager.window.setGeometry( 5, 120, 1910, 1070)
File "/usr/lib/python3.5/tkinter/__init__.py", line 1952, in __getattr__
return getattr(self.tk, attr)
AttributeError: '_tkinter.tkapp' object has no attribute 'setGeometry'
I'm using Python3 on a Xubuntu (Ubuntu with XFCE) in a virtualbox. I've tested pyAudio samples so I know microphone (and speakers) are fully functional. Running in a Python virtual environment.
Note: I'm able to run $ python3 audio_spectrumQT.py successfully in the same virtualbox. Works just fine.
Any clue as to what's going on here?
Many thanks to Mark Jay for the youtube videos and this github repo, enabling us to better learn how Fast Fourier Transforms (FFT) work.
reference:
Let's Build an Audio Spectrum Analyzer in Python! (pt. 1) the waveform viewer.
https://www.youtube.com/watch?v=AShHJdSIxkY
Mark Jay Published on Sep 9, 2017
Let's Build an Audio Spectrum Analyzer in Python! (pt. 2) the spectrum viewer
https://www.youtube.com/watch?v=aQKX3mrDFoY
Mark Jay Published on Sep 10, 2017
Let's Build an Audio Spectrum Analyzer in Python! (pt. 3) Switching to PyQtGraph
https://www.youtube.com/watch?v=RHmTgapLu4s
Mark Jay Published on Oct 8, 2017
The text was updated successfully, but these errors were encountered:
Been attempting to learn what's going on here... I'm coming from a heavy JavaScript/node background with mere familiarity with Python. Been studying up on numpy and matplotlib.pyplot
I'm way confused by the comment # show axes Is that what you are doing here, displaying the axes on a two plot figure?
When I go to source, In [xx]: matplotlib.pyplot.figure?
I see:
Signature: matplotlib.pyplot.figure(num=None, figsize=None, dpi=None, facecolor=None, edgecolor=None, frameon=True, FigureClass=<class 'matplotlib.figure.Figure'>, **kwargs)
Docstring:
Creates a new figure.
...
figsize : tuple of integers, optional, default: None
width, height in inches. If not provided, defaults to rc
figure.figsize.
I see nothing that remotely matches up to (5, 120, 1910, 1070) Am I analyzing this correctly?
Oh, wait...
I just found this stackoverflow posting... looks like thismanager.window is a tkinter thing (?)
Perhaps one of the flavors of figManager.window.showMaximized() (as shown in the responses to the stackoverflow question above) are more appropriate for this exercise?
I'm a bit new to Python and some of the modules used here. Odd errors, that I'm just unable to troubleshoot.
I'm using Python3 on a Xubuntu (Ubuntu with XFCE) in a virtualbox. I've tested pyAudio samples so I know microphone (and speakers) are fully functional. Running in a Python virtual environment.
Note: I'm able to run
$ python3 audio_spectrumQT.py
successfully in the same virtualbox. Works just fine.Any clue as to what's going on here?
Many thanks to Mark Jay for the youtube videos and this github repo, enabling us to better learn how Fast Fourier Transforms (FFT) work.
reference:
The text was updated successfully, but these errors were encountered: