mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GMG-Devel] Spectrogram colors


From: Christopher Allan Webber
Subject: Re: [GMG-Devel] Spectrogram colors
Date: Fri, 11 Oct 2013 10:44:01 -0500
User-agent: mu4e 0.9.9.5; emacs 24.1.50.1

Awesome!  Thanks to you both for putting the time into this! :)

address@hidden writes:

> I and Tumulte went through the code yesterday:
>
> In the class SpectrogramImage in
> mediagoblin/media_types/audio/audioprocessing.py, in the definition of
> "colors" you can modify the definition to fit your needs.
>
> The "colors" variable has to be of the format colors = [(r, g, b, a), (r,
> g, b, a),  ...]
>
> Where the first rgba tuple is the color of the lower intensities and the
> last tuple is the color of the higher intensities. It can be any number of
> rgba tuples and they will be distributed evenly over the spectrum.
>
> This is a hack that works today, hopefully in the future we will have it
> configurable from the main MediaGoblin configuration.
> On Oct 9, 2013 2:55 PM, <address@hidden> wrote:
>
>> Hey !
>>
>> I just want to achieve a simple thing : having a grayscale spectum instead
>> of this green/orange colors that don't fit my design.
>>
>>
>> I've toyed with avery parameters, trying to follow the workflow of a
>> spectrogram creation. Changed drastically quite a lot of parameters, but
>> only ended up with to results : "nothing" or "same"
>>
>> The comments don't really help "# TODO: What does this do?" so, I can use
>> some how to here :)
>>
>> How to change those colors ?
>>
>> Thanks
>>
>> T.
>> _______________________________________________
>> devel mailing list
>> address@hidden
>> http://lists.mediagoblin.org/listinfo/devel
>>
> _______________________________________________
> devel mailing list
> address@hidden
> http://lists.mediagoblin.org/listinfo/devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]