HISE Logo Forum
    • Categories
    • Register
    • Login

    Collaborative project!

    Scheduled Pinned Locked Moved General Questions
    1.1k Posts 18 Posters 252.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hisefiloH
      hisefilo @ustk
      last edited by

      @ustk mmmm never thought about it. ..... what do you think??

      lalalandsynthL ustkU 2 Replies Last reply Reply Quote 0
      • lalalandsynthL
        lalalandsynth @hisefilo
        last edited by lalalandsynth

        @hisefilo They are stepped. Rendered as 9 steps . 0-8

        https://lalalandaudio.com/

        https://lalalandsynth.com/

        https://www.facebook.com/lalalandsynth

        https://www.facebook.com/lalalandsynth

        1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @hisefilo
          last edited by

          @hisefilo both are good, it could be a custom setting later in a pro version so let say this one can be stepped

          Can't help pressing F5 in the forum...

          lalalandsynthL 1 Reply Last reply Reply Quote 1
          • lalalandsynthL
            lalalandsynth @ustk
            last edited by

            @ustk Also saves bit of memory :)

            https://lalalandaudio.com/

            https://lalalandsynth.com/

            https://www.facebook.com/lalalandsynth

            https://www.facebook.com/lalalandsynth

            ustkU 2 Replies Last reply Reply Quote 1
            • ustkU
              ustk @lalalandsynth
              last edited by

              @lalalandsynth @hisefilo Ok so I doing the stepping code...

              Can't help pressing F5 in the forum...

              1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @lalalandsynth
                last edited by

                @lalalandsynth Don't forget to stitch the strip in reverse order

                Can't help pressing F5 in the forum...

                lalalandsynthL 1 Reply Last reply Reply Quote 1
                • lalalandsynthL
                  lalalandsynth @ustk
                  last edited by

                  @ustk Ok, so what is the rule here , why in reverse order ?
                  Also , for switches ?

                  https://lalalandaudio.com/

                  https://lalalandsynth.com/

                  https://www.facebook.com/lalalandsynth

                  https://www.facebook.com/lalalandsynth

                  ustkU 1 Reply Last reply Reply Quote 0
                  • ustkU
                    ustk @lalalandsynth
                    last edited by

                    @lalalandsynth Because when a drawbar is fully opened (at 8), the knob is at 0
                    So the first image in the strip is 8, and the last image is 0

                    Can't help pressing F5 in the forum...

                    lalalandsynthL 1 Reply Last reply Reply Quote 1
                    • ustkU
                      ustk
                      last edited by

                      @hisefilo @lalalandsynth Drawbars are ready to receive the filmstrips

                      Can't help pressing F5 in the forum...

                      1 Reply Last reply Reply Quote 1
                      • lalalandsynthL
                        lalalandsynth @ustk
                        last edited by

                        @ustk Yep, should be a way to flip value of a slider easily , but yes , will make sure of that .

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

                        ustkU 1 Reply Last reply Reply Quote 0
                        • ustkU
                          ustk @lalalandsynth
                          last edited by ustk

                          @lalalandsynth It's not because of the values in fact but because of the mouse.
                          With a knob, the value is going up and down when the mouse goes up and down, so both the value and the filmstrip have to be inverted.
                          If we were using script panels, I could have made the code the way we want independently from the mouse movement.
                          So if it's a problem, tell me and I can change the knobs for script panels ;)

                          Can't help pressing F5 in the forum...

                          lalalandsynthL hisefiloH 3 Replies Last reply Reply Quote 0
                          • lalalandsynthL
                            lalalandsynth @ustk
                            last edited by

                            @ustk Bt sheer luck it is rendered in the correct way :)

                            https://lalalandaudio.com/

                            https://lalalandsynth.com/

                            https://www.facebook.com/lalalandsynth

                            https://www.facebook.com/lalalandsynth

                            1 Reply Last reply Reply Quote 0
                            • lalalandsynthL
                              lalalandsynth @ustk
                              last edited by

                              @ustk Yes, At some point i expected to just be able to invert the values in min max properties , felt intuitive.

                              https://lalalandaudio.com/

                              https://lalalandsynth.com/

                              https://www.facebook.com/lalalandsynth

                              https://www.facebook.com/lalalandsynth

                              1 Reply Last reply Reply Quote 0
                              • hisefiloH
                                hisefilo @ustk
                                last edited by hisefilo

                                @ustk @lalalandsynth sliders are already inverted. So just inverting the strip as @ustk said will do the trick

                                inline function onKnobDrawbar4Control(component, value)
                                {
                                	SimpleGainMain4.setAttribute(SimpleGainMain4.Gain, 100 * (1 - value) - 100);
                                };
                                
                                
                                ustkU 2 Replies Last reply Reply Quote 1
                                • ustkU
                                  ustk @hisefilo
                                  last edited by

                                  @hisefilo I simplified the code and made it compatible for step behavior.
                                  Pull the git if you wanna have a look :)

                                  Can't help pressing F5 in the forum...

                                  1 Reply Last reply Reply Quote 0
                                  • ustkU
                                    ustk @hisefilo
                                    last edited by

                                    @hisefilo Also the skew factor is fucked up because the knob doesn't respect a log curve. The result is that we hear the sound only between pos 5 and 8, nothing before. Will check if a valueNormalized can help...

                                    Can't help pressing F5 in the forum...

                                    hisefiloH 1 Reply Last reply Reply Quote 0
                                    • hisefiloH
                                      hisefilo @ustk
                                      last edited by

                                      @ustk shoul be linear. not logarithmic as gain is...... I guess

                                      ustkU 1 Reply Last reply Reply Quote 0
                                      • ustkU
                                        ustk @hisefilo
                                        last edited by ustk

                                        @hisefilo The issue is that the knobs are necessarily linear. But if you just apply a factor 100 to it and map it as gain, the dB scale is not respected.
                                        If you test your code above (mine has the same issue), we begin to hear a tone only from the midpoint

                                        We need to use a valueNormalized applied to a dummy knob set in decibel, so it will convert to the right scale for us. I remember having this issue and that's what Christoph suggested.

                                        Can't help pressing F5 in the forum...

                                        hisefiloH 1 Reply Last reply Reply Quote 1
                                        • hisefiloH
                                          hisefilo @ustk
                                          last edited by

                                          @ustk yepp that sounds good. you nailed it

                                          ustkU 1 Reply Last reply Reply Quote 0
                                          • ustkU
                                            ustk @hisefilo
                                            last edited by

                                            @hisefilo I pushed it if you want to test...

                                            Can't help pressing F5 in the forum...

                                            hisefiloH 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            43

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts