I’m trying to figure out a way to keep dial and number displays synched in a synth GUI and I’m pretty lost right now. The problem is if I have a dial running into a number, then adjusting the number either by typing or click-dragging will not update the dial display, leaving the dial showing an incorrect value–so when I go back and drag the dial I get a jump in value. I’ve tried using switch, gswitch, etc. to stop dial output when adjusting the number but everything I do results in a stack overflow error. I’m guessing I need some way to distinguish between input from the inlet and input from the mouse, but I’m pretty stuck with this. Any suggestions?
I think you want to use [prepend set] to avoid the stack overflow as shown in the patch below:
----------begin_max5_patcher---------- 376.3ocuT0raBCCC9b6SQTNyPMgBita64XBMk1DfL0lT0lpwFh28k3zNJavn LPbwV9mX+4O61sgA3T8FQMF8D5ETPv1vf.vkyQPqc.tfsIKmUCogUh20ougG 4CYDaLf6xJQoPwQ0BSWLciIWXLeTJ70GiQKZCsTqL0xOg.D53nV2plBox9Fn SjVmkLS1ZoZ0qUhLiuRTxD6aPj4ycpGicRZz3nuqujCfxBzGhw85ohU.8D+b kjki22VOV8804bWXnSL55HECRhjmjNjJKU4U2JhgLmBDyrYNUbx3omlXlboD C8+PLMEohpyQAoL0paNGDCmESi9qiC58fC38p1uXfk4ZVu8+kNjQfJNpSdrg jb96b3Y3bo5m+K.Zsy+gyWstoJqaDZ+JCsu4bQsQpXFoV0KGxA4rVx4BHb2B tPxK01KhVHPoT37k32fIIf5.KujjPbI5LPKN59YnSg8SBD4LSQ7kMEWIhnCf WmbWQDY.HhdEHxZrK7K.ndPfa. -----------end_max5_patcher-----------
thanks so much!
C74 RSS Feed | © Copyright Cycling '74