From: Carsten H. (T. R. <ra...@ra...> - 2010-03-28 01:22:22
|
On Sat, 20 Mar 2010 00:00:48 +0800 Tom Haste <tom...@gm...> said: > Howdy! > > After tinkering with the Mixer theme to make it feel more organic, I came to > the conclusion that the mixer scale is a off, so anything I do with the > theme is still not that 'correct'. Most things that use volume sliders these > days use a base 10 logarithm to follow the natural progression of the > decibel scale. Obviously this doesnt work for 0 - 100 volume scales that > alsa provides. I think pulse has a 'cubic' type of volume mixer available... > but anyway. > > http://www.dr-lex.be/info-stuff/volumecontrols.html > This site basically demonstrates an easier, less cpu expensive way > of mimicking the correct scale. > > Also; widget that would be awesome for elementary = knobs. :) Easy with edje > map, right? it'd be possible - sure. in edje map+embryo could do this no problems. if the thing uses a dragable it can be done - make the dragable invisible and just have the embryo + map etc. control the dragable (and listen to dragable value changes coming from code). as for logarithmic stuff - it isnt edje's job to do that - if anything it's the mixer code - though we can argue that it should be alsa's job to present a universal control that is always the same way (if hw control is linear or logarithmic - the driver knows and figures it out). -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... |