[Clam-devel] [PATCH] prototyper sliders taking automatically in-control bounds

Pau Arumi parumi at iua.upf.edu
Fri Jun 1 11:28:48 PDT 2007


(i guess its late for the ucsb demo but...)


with this patch, prototyping is made much more simple since the
qtdesigner user don't have to specify anything about the sliders or
knobs other than the in-control connection (which takes a
copy-paste).
before, the process involved using ugly mappings...

the patch contains an example: the right slide sliders of
spectralTransformation ui, corresponding to the
OscillatingSpectralNotch.
you can also see in the NetworkEditor that its controls now have
bounds and that the Amount in-control is not used. There is Freq
control instead.

instructions:
apply the patch
$ patch -p0 < sliders_using_incontrol_bounds.patch
and compile everything
then use prototyper with this new ui file:
$ ./Prototyper example-data/spectralNetwork.clamnetwork 
example-data/autoBoundedSpectralNetwork.ui

you'll find that the notch can be controlled veery smoothly now.

pau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sliders_using_incontrol_bounds.patch
Type: text/x-diff
Size: 45073 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070601/8b45ba89/attachment-0002.patch>


More information about the clam-devel mailing list