I am building a complex interface for a synthesizer. I would like to hide and show sliders/nbx/toggles in order to make this interface a bit more clean. (I would achieve an effect like the tabs in a configuration dialog)
do exist some messages to send to slider and other controls, in order to hide/show them?
hi federico
have a look at syntax_the_nerds' famous bot-synth2. it uses a gop UI, where you can scroll through pages and each page has its own sets of sliders/numberboxes etc. i didn't check the code yet and i don't know how this works, but maybe it interesting for your purpose
https://www.puredata.org/Members/syntax_the_nerd
roman
"Federico" xaero@inwind.it wrote:
I am building a complex interface for a synthesizer. I would like to hide and show sliders/nbx/toggles in order to make this interface a bit more clean. (I would achieve an effect like the tabs in a configuration dialog)
do exist some messages to send to slider and other controls, in order to hide/show them?
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
i just checked the code: it seems like changing the page moves some gui-objs out of the gop-window and others into the window with [pos X Y(-messages. that could work also on normal subpatches, if the changing scroll-bar does not matter...
roman
"Roman Haefeli" reduzierer@yahoo.de wrote:
hi federico
have a look at syntax_the_nerds' famous bot-synth2. it uses a gop UI, where you can scroll through pages and each page has its own sets of sliders/numberboxes etc. i didn't check the code yet and i don't know how this works, but maybe it interesting for your purpose
https://www.puredata.org/Members/syntax_the_nerd
roman
"Federico" xaero@inwind.it wrote:
I am building a complex interface for a synthesizer. I would like to hide and show sliders/nbx/toggles in order to make this interface a bit more clean. (I would achieve an effect like the tabs in a configuration dialog)
do exist some messages to send to slider and other controls, in order to hide/show them?
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Roman Haefeli wrote:
i just checked the code: it seems like changing the page moves some gui-objs out of the gop-window and others into the window with [pos X Y(-messages.
Send messages to resize your GUI objects to/from 0 width or 0 height. They effectively "don't exist" if they are zero pixels high or wide (although they still use some CPU resources). You could even do it with [line], so that they seem to fade out or drop down.
d.
On 17-Apr-06, at 7:59 PM, derek holzer wrote:
Roman Haefeli wrote:
i just checked the code: it seems like changing the page moves
some gui-objs out of the gop-window and others into the window
with [pos X Y(-messages.Send messages to resize your GUI objects to/from 0 width or 0
height. They effectively "don't exist" if they are zero pixels high
or wide (although they still use some CPU resources). You could
even do it with [line], so that they seem to fade out or drop down.
I tried this and it refused to resize below 2 by 8 on a hslider which
is too bad cause using line to make it morph is a really cool idea.
Maybe you could reuse the same gui objects for different parameters
by changing the send (see attached patch). The big problem with this
is storing the settings and having them recalled when you move from
one parameter to another.

d.
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 14: "Ask people to work against their better judgement"
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
regards, Alexandre Matheson amatheso@alcor.concordia.ca iChat: ealx@mac.com
On closer inspection is isn't that difficult at all to store the
previous states. See updated patch.

On 17-Apr-06, at 8:42 PM, alexandre matheson wrote:
On 17-Apr-06, at 7:59 PM, derek holzer wrote:
Roman Haefeli wrote:
i just checked the code: it seems like changing the page moves
some gui-objs out of the gop-window and others into the window
with [pos X Y(-messages.Send messages to resize your GUI objects to/from 0 width or 0
height. They effectively "don't exist" if they are zero pixels
high or wide (although they still use some CPU resources). You
could even do it with [line], so that they seem to fade out or
drop down.I tried this and it refused to resize below 2 by 8 on a hslider
which is too bad cause using line to make it morph is a really cool
idea.Maybe you could reuse the same gui objects for different parameters
by changing the send (see attached patch). The big problem with
this is storing the settings and having them recalled when you move
from one parameter to another. <guithing.pd>d.
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 14: "Ask people to work against their better judgement"
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
regards, Alexandre Matheson amatheso@alcor.concordia.ca iChat: ealx@mac.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
regards, Alexandre Matheson amatheso@alcor.concordia.ca iChat: ealx@mac.com
alexandre matheson amatheso@alcor.concordia.ca a écrit :
Maybe you could reuse the same gui objects for different parameters
by changing the send (see attached patch). The big problem with
this is storing the settings and having them recalled when you move
from one parameter to another.
Storing settings is not a real problem, I am using the same technic for displaying different sliders, modifying dynamicaly the send label and range of one graphical object with internal messages , and I use [common] object from rradical, to keep the value, and retrieving it ith using the [set $1( message. Also, a toggle and a [vis $1( can be a big help for opening and closing optional panels. I haven't tested this technic yet but will do it soon, we can create and destroy in one GOP array each desired panel to be displayed, if the 'Graphed' object to is not too big, it shouldn't have big incidence on the sound. Obviously each graphed object should have the same size since it's impossible to resize the gop xpix and ypix. patco.
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici.
I like the idea of morphing, here's a quick test of the idea:

I wonder if we could include such functionality in a library of GUI
objects which can dynamically hide and reshape themselves...
.hc
On Apr 18, 2006, at 2:50 AM, alexandre matheson wrote:
On closer inspection is isn't that difficult at all to store the
previous states. See updated patch. <guithing.pd>On 17-Apr-06, at 8:42 PM, alexandre matheson wrote:
On 17-Apr-06, at 7:59 PM, derek holzer wrote:
Roman Haefeli wrote:
i just checked the code: it seems like changing the page moves
some gui-objs out of the gop-window and others into the window
with [pos X Y(-messages.Send messages to resize your GUI objects to/from 0 width or 0
height. They effectively "don't exist" if they are zero pixels
high or wide (although they still use some CPU resources). You
could even do it with [line], so that they seem to fade out or
drop down.I tried this and it refused to resize below 2 by 8 on a hslider
which is too bad cause using line to make it morph is a really
cool idea.Maybe you could reuse the same gui objects for different
parameters by changing the send (see attached patch). The big
problem with this is storing the settings and having them recalled
when you move from one parameter to another. <guithing.pd>d.
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 14: "Ask people to work against their better judgement"
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
regards, Alexandre Matheson amatheso@alcor.concordia.ca iChat: ealx@mac.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
regards, Alexandre Matheson amatheso@alcor.concordia.ca iChat: ealx@mac.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
"Looking at things from a more basic level, you can come up with a
more direct solution... It may sound small in theory, but it in
practice, it can change entire economies."
- Amy Smith
thanks for the patch
changing the send/receive symbol dinamically sound a good idea! this could save a lot of patching with gui objects.
however it remains the problem of patching 128 or more cables to [select] and [f] ... eheh
[my post "suggestion... or question" tries to look at this problem]
ciao