BUG: ‘mknob’ not responding to input

Home Forums Products Vsig and Preset Development BUG: ‘mknob’ not responding to input

  • This topic is empty.
Viewing 2 reply threads
  • Author
    • #116269

      I think I’m doing this correctly but I cannot get the ‘mknob’ to respond to input.

      See attached sigfile.  knob > mknob > menupage

      Turn the knob marked “TURN ME”.  The 6 knobs below should follow along but they do not.

      I’ve attached the “TURN ME” knob to the ‘offset’ parameter, but I’ve also tried connecting it to the input,  also connected constant ‘1’ to the input and use “TURN ME” as the multiplier.  Nothing works.


      Upload isn’t working, here’s the sigfile contents:


      KNOB|knob:1|statement=turn me:%3.2f|name=0|min=-10|max=10|res=0.1|default=0

      MKNOB|mknob:5|description=knob says: %3.3f|noutputs=6|appearance=0|min=-32767|max=32767|offset=knob:1-out|multiplier=1|lockout=0|resolution=1|in1=0|in2=0|in3=0|in4=0|in5=0|in6=0|defalt1=0|defalt2=0|defalt3=0|defalt4=0|defalt5=0|defalt6=0



      adc| ;=30,30,100,0

      knob:1| ;=152,56,100,0

      mknob:5| ;=312,160,100,0

      menupage:6| ;=472,88,100,0



    • #156736

      After some more fiddling, I think some of this is a lack of understanding of how control signals propagate on my part.  Still, I’m seeing unexpected behavior.

      What I am trying to achieve is a single knob that scales an array of constant values.  I’m trying to use a knob to set the”offset” and “multiplier” inputs on the “mknob” module with a set of constants feeding the “mknob” inputs.  Sometimes, the inputs are supplied by a previous output…  I’m ultimately trying to implement a numeric sequence f(n) = <something> + f(n-1).

      In the attached sigfile, I have two knobs driving the offset and multiplier of a 2 in/out mknob.  in1 is supplied by a c_constant = 1.  in2 is supplied by out1.  Two “monitor” text fields are also attached to the knobs and another two attached to the mknob outputs.

      1. when you change the “OFFSET” knob, the fields seem to update but the mknob input is not applied, the output is simply the offset.

      For example, with offset = 1, I would expect:

      out1 = 2

      out2 = 3

      2. nothing in the “mknob” updates when you move the “MULTIPLIER” knob.  That seems wrong.

      Ultimately, I probably really want an “mmonitor” since I’m just trying to display numbers, but the “mknob” seemed like it should work…

      See attached sigfile.

    • #156737

      Actually, in the comment above, I *do* want an “mknob” since it has the “offset” and “multiplier” functionality as well as display.

      An alternative, which I will try, is to use c_many for the math and mknob for display…

Viewing 2 reply threads
  • You must be logged in to reply to this topic.