Re: [LAD] "bleeding edge html5" has interesting Audio APIs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <fons@...>, <linux-audio-dev@...>
Date: Tuesday, November 22, 2011 - 5:05 pm

--_1728a435-12b7-4af6-83b4-77cb04b88c5c_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

> From: fons@linuxaudio.org

e:
an
d
px...

Which toolkit is this? Having the graphical position of the slider/pot defi=
ne its
value sounds a little broken.

> In 4. the slider will move to the nearest (pixel) position.

Touchpad interfaces support subpixel (floating point) coordinates based on =
an
interpolation of where somebodies fat greasy digit smudges the screen=2C it=
is=20
actually quite useful. HTML5 also transports pointer motion as floats for t=
his
reason. Am an NOT advocating its use=2C just stating that subpixel is there=
.

> up and down again you don't get the value that was typed in=2C

Again=2C why does the graphical output have to define the value of the inpu=
t?
Surely that is a limitation of the toolkit?

> The only solution is to ensure that slider positions correspond

A better solution would be for the application callback to be given the act=
ual
value and it decide what that means for whatever it is controlling and how =
the=20
graphical output should be depicted. The tail should not be wagging the dog
but again that might depend on the toolkit(?)

On a related note=2C Fons=2C weren't you actually working recently on some =
subpixel=20
controllers? How were they implemented?

Kind regards=2C nick.
=

--_1728a435-12b7-4af6-83b4-77cb04b88c5c_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

&gt=3B From: fons@linuxaudio.org&gt=3B To: linux-audio-dev@lists.l=
inuxaudio.org&gt=3B Subject: Re: [LAD] "bleeding edge html5" has intere=
sting Audio APIs&gt=3B &gt=3B On Tue=2C Nov 22=2C 2011 at 05:59:40P=
M +0400=2C Alexandre Prokoudine wrote:&gt=3B &gt=3B On Tue=2C Nov 22=2C=
2011 at 5:54 PM=2C Fons Adriaensen wrote:&gt=3B &gt=3B &gt=3B &gt=
=3B &gt=3B&gt=3B For darktable we examined the slider from phat and created=
a similar&gt=3B &gt=3B &gt=3B&gt=3B new=2C more usable widget which co=
mbines a label and a slider. You can&gt=3B &gt=3B &gt=3B&gt=3B enter pr=
ecise value after a right click inside the slider area=2C and&gt=3B &gt=
=3B &gt=3B&gt=3B you can use pretty much anything as displayed unit: %=2C "=
=2C dB=2C px...&gt=3B &gt=3B &gt=3B&gt=3B whatever. Here is an example:=
&gt=3B &gt=3B &gt=3B&gt=3B &gt=3B &gt=3B Not a real solution. You n=
ow have a value that is not represented&gt=3B &gt=3B &gt=3B by a slider=
position.&gt=3B &gt=3B &gt=3B &gt=3B Er... WHAT???&gt=3B &gt=
=3B &gt=3B &gt=3B It absolutely IS represented.&gt=3B &gt=3B &g=
t=3B &gt=3B 1. Right click&gt=3B &gt=3B 2. Enter new value&gt=3B &g=
t=3B 3. Press Enter to confirm&gt=3B &gt=3B 4. Slider updates&gt=3B=
&gt=3B That is assuming that the slider has infinite resolution.Which toolkit is this? Having the graphical position of the slider/pot de=
fine itsvalue sounds a little broken.&gt=3B In 4. the slider wi=
ll move to the nearest (pixel) position.&gt=3B You could paint it with =
higher resolution=2C but mouse gestures&gt=3B are still quantised per p=
ixel. If you move the slider 1 pixelTouchpad interfaces support sub=
pixel (floating point) coordinates based on aninterpolation of where so=
mebodies fat greasy digit smudges the screen=2C it is actually quite us=
eful. HTML5 also transports pointer motion as floats for thisreason. Am=
an NOT advocating its use=2C just stating that subpixel is there.&=
gt=3B up and down again you don't get the value that was typed in=2C&gt=
=3B unless it happens to be one corressponding to a pixel.Again=2C =
why does the graphical output have to define the value of the input?Sur=
ely that is a limitation of the toolkit?&gt=3B The only solution is=
to ensure that slider positions correspond&gt=3B to values that make s=
ense for the parameter being controlled=2C&gt=3B e.g. exact semitones (=
or fractions thereof) for a VCO frequency=2C&gt=3B 1/5 dB steps for the=
top half of a fader=2C etc. And if they do&gt=3B then you don't need t=
he text input.A better solution would be for the application callba=
ck to be given the actualvalue and it decide what that means for whatev=
er it is controlling and how the graphical output should be depicted. T=
he tail should not be wagging the dogbut again that might depend on the=
toolkit(?)On a related note=2C Fons=2C weren't you actually workin=
g recently on some subpixel controllers? How were they implemented?=
Kind regards=2C nick.
=

--_1728a435-12b7-4af6-83b4-77cb04b88c5c_--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, David Robillard, (Mon Nov 21, 6:40 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, David Robillard, (Mon Nov 21, 7:19 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, David Robillard, (Mon Nov 21, 7:49 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Rui Nuno Capela, (Mon Nov 21, 9:55 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, David Robillard, (Mon Nov 21, 10:03 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Patrick Shirkey, (Mon Nov 21, 11:46 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Nick Copeland, (Mon Nov 21, 10:42 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, David Robillard, (Mon Nov 21, 11:33 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Gordon JC Pearce, (Mon Nov 21, 11:37 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Fons Adriaensen, (Mon Nov 21, 10:58 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, David Robillard, (Mon Nov 21, 11:33 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Alexandre Prokoudine, (Tue Nov 22, 11:33 am)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Fons Adriaensen, (Tue Nov 22, 1:54 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Fons Adriaensen, (Tue Nov 22, 3:03 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Fons Adriaensen, (Tue Nov 22, 3:32 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Alexandre Prokoudine, (Tue Nov 22, 1:59 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Fons Adriaensen, (Tue Nov 22, 2:54 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Nick Copeland, (Tue Nov 22, 5:05 pm)
Re: [LAD] sliders/fans, James Morris, (Tue Nov 22, 12:05 pm)
Re: [LAD] sliders/fans, Alexandre Prokoudine, (Tue Nov 22, 2:58 pm)
Re: [LAD] sliders/fans, Paul Davis, (Tue Nov 22, 2:26 pm)
Re: [LAD] sliders/fans, hermann, (Tue Nov 22, 2:41 pm)
Re: [LAD] sliders/fans, David Robillard, (Thu Nov 24, 6:23 pm)
Re: [LAD] sliders/fans, Nick Copeland, (Thu Nov 24, 9:30 pm)
Re: [LAD] sliders/fans, David Robillard, (Thu Nov 24, 11:59 pm)
Re: [LAD] sliders/fans, Nick Copeland, (Thu Nov 24, 6:37 pm)
Re: [LAD] sliders/fans, David Robillard, (Thu Nov 24, 6:55 pm)
Re: [LAD] sliders/fans, Nick Copeland, (Thu Nov 24, 7:02 pm)
Re: [LAD] sliders/fans, David Robillard, (Thu Nov 24, 7:21 pm)
Re: [LAD] sliders/fans, Fons Adriaensen, (Thu Nov 24, 8:45 pm)
Re: [LAD] sliders/fans, David Robillard, (Thu Nov 24, 11:52 pm)
Re: [LAD] sliders/fans, Fons Adriaensen, (Fri Nov 25, 10:53 am)
Re: [LAD] sliders/fans, Nick Copeland, (Fri Nov 25, 8:52 am)
Re: [LAD] sliders/fans, Fons Adriaensen, (Fri Nov 25, 10:29 am)
Re: [LAD] sliders/fans, Jeff Koftinoff, (Thu Nov 24, 11:12 pm)
Re: [LAD] sliders/fans (again), Fons Adriaensen, (Thu Nov 24, 11:42 pm)
Re: [LAD] sliders/fans, Fons Adriaensen, (Thu Nov 24, 11:20 pm)
Re: [LAD] sliders/fans, Nick Copeland, (Thu Nov 24, 9:03 pm)
Re: [LAD] sliders/fans, Fons Adriaensen, (Thu Nov 24, 9:24 pm)
Re: [LAD] sliders/fans, hermann, (Thu Nov 24, 8:31 pm)
Re: [LAD] sliders/fans, David Robillard, (Thu Nov 24, 11:57 pm)
Re: [LAD] sliders/fans, hermann, (Fri Nov 25, 4:06 am)
Re: [LAD] sliders/fans, David Robillard, (Wed Dec 7, 7:28 pm)
Re: [LAD] sliders/fans, Paul Davis, (Wed Dec 7, 7:32 pm)
Re: [LAD] sliders/fans, Neil C Smith, (Wed Dec 7, 7:39 pm)
Re: [LAD] sliders/fans, Paul Davis, (Wed Dec 7, 7:43 pm)
Re: [LAD] sliders/fans, David Robillard, (Wed Dec 7, 8:03 pm)
Re: [LAD] sliders/fans, Thorsten Wilms, (Thu Dec 8, 9:44 am)
Re: [LAD] sliders/fans, Paul Davis, (Wed Dec 7, 10:33 pm)
Re: [LAD] sliders/fans, David Robillard, (Thu Dec 8, 12:40 am)
Re: [LAD] sliders/fans, Nick Copeland, (Thu Dec 8, 5:23 am)
Re: [LAD] sliders/fans, David Robillard, (Fri Dec 9, 7:10 pm)
Re: [LAD] sliders/fans, Nick Copeland, (Fri Nov 25, 8:40 am)
Re: [LAD] sliders/fans, Philipp √úberbacher, (Thu Nov 24, 10:17 pm)
Re: [LAD] sliders/fans, Fons Adriaensen, (Thu Nov 24, 8:57 pm)
Re: [LAD] sliders/fans, Nick Copeland, (Thu Nov 24, 8:50 pm)
Re: [LAD] sliders/fans, Nick Copeland, (Thu Nov 24, 8:31 pm)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, David Robillard, (Tue Nov 22, 1:04 am)
Re: [LAD] "bleeding edge html5" has interesting Audio APIs, Fons Adriaensen, (Mon Nov 21, 9:34 pm)