]> git.parisson.com Git - timeside.git/commitdiff
change awdio colors
authoryomguy <yomguy@parisson.com>
Thu, 11 Nov 2010 22:44:17 +0000 (22:44 +0000)
committeryomguy <yomguy@parisson.com>
Thu, 11 Nov 2010 22:44:17 +0000 (22:44 +0000)
timeside/grapher/core.py
timeside/grapher/waveform_awdio.py

index 298a480615170b79c4f66748b8384596c3cfaaba..0f94be9b656bd8d07120c68c37e6aa0772d7b7df 100644 (file)
@@ -43,7 +43,12 @@ default_color_schemes = {
         'waveform': [(173,173,173), (147,149,196), (77,80,138), (108,66,0)],
         'spectrogram': [(0, 0, 0), (58/4,68/4,65/4), (80/2,100/2,153/2), (90,180,100),
                       (224,224,44), (255,60,30), (255,255,255)]
-    }
+    }, 
+    'awdio': {
+        'waveform': [(255,255,255), (255,255,255), (255,255,255), (255,255,255)],
+        'spectrogram': [(0, 0, 0), (58/4,68/4,65/4), (80/2,100/2,153/2), (90,180,100),
+                      (224,224,44), (255,60,30), (255,255,255)]
+    }, 
 }
 
 
index 946604032d92f19ac916e08a64679f79d1263090..5f2746bac19e1a1b3f1537b742c81c907a82a94a 100644 (file)
@@ -30,7 +30,7 @@ class WaveformAwdio(Processor):
     FFT_SIZE = 0x400
 
     @interfacedoc
-    def __init__(self, width=572, height=74, bg_color=None, color_scheme='iso'):
+    def __init__(self, width=572, height=74, bg_color=None, color_scheme='awdio'):
         self.width = width
         self.height = height
         self.bg_color = bg_color