diff options
| author | tassaron | 2017-05-29 20:40:59 -0400 |
|---|---|---|
| committer | tassaron | 2017-05-29 20:40:59 -0400 |
| commit | d1852619dfa22833cc5fd13af17afe031ee08ece (patch) | |
| tree | 484e6f165e8c1767cbffc24c53c7ba5aca2fa3ac /components/original.py | |
| parent | 8dd7b7d59ab3ef3caf2bbd69dd0b2a7eb134edc7 (diff) | |
| parent | 025bc2c2e6041f402b132560585b14aeed041757 (diff) | |
Merge branch 'feature-newgui' of https://www.github.com/IamDH4/audio-visualizer-python into feature-newgui
Diffstat (limited to 'components/original.py')
| -rw-r--r-- | components/original.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/original.py b/components/original.py index 4a149e2..47e53b8 100644 --- a/components/original.py +++ b/components/original.py @@ -32,6 +32,12 @@ class Component(__base__.Component): self.visColor = self.RGBFromString(self.page.lineEdit_visColor.text()) self.parent.drawPreview() + def version(self): + return 1 + + def savePreset(self): + return {} + def previewRender(self, previewWorker): spectrum = numpy.fromfunction(lambda x: 0.008*(x-128)**2, (255,), dtype="int16") width = int(previewWorker.core.settings.value('outputWidth')) |
