From: yomguy Date: Thu, 11 Nov 2010 22:44:17 +0000 (+0000) Subject: change awdio colors X-Git-Tag: 0.3.2~88 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ca8400a719473f4d345bc47a1e1f5efd57421c50;p=timeside.git change awdio colors --- diff --git a/timeside/grapher/core.py b/timeside/grapher/core.py index 298a480..0f94be9 100644 --- a/timeside/grapher/core.py +++ b/timeside/grapher/core.py @@ -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)] + }, } diff --git a/timeside/grapher/waveform_awdio.py b/timeside/grapher/waveform_awdio.py index 9466040..5f2746b 100644 --- a/timeside/grapher/waveform_awdio.py +++ b/timeside/grapher/waveform_awdio.py @@ -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