HISE Logo Forum
    • Categories
    • Register
    • Login

    LFO Sync Speeds - make slower

    Scheduled Pinned Locked Moved General Questions
    53 Posts 7 Posters 3.1k 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.
    • DanHD
      DanH @Natan
      last edited by

      @Natan send me your changes to the source code files

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      NatanN 1 Reply Last reply Reply Quote 0
      • NatanN
        Natan @DanH
        last edited by Natan

        @DanH Dan, I added the Below Lines

        On MiscToolClasses.cpp

            tempoNames.add("32/1");          tempoFactors[ThirtyTwouple] = 128.0f;
            tempoNames.add("16/1");     tempoFactors[Sixteenthuple] = 64.0f;
            tempoNames.add("8/1");      tempoFactors[Octuple] = 32.0f;
            tempoNames.add("4/1");      tempoFactors[Quadruple] = 16.0f;
            tempoNames.add("2/1");      tempoFactors[Double] = 8.0f;
            tempoNames.add("1/128");    tempoFactors[HundredTwentyEighth] = 0.03125f;  ///> THIS IS 1/128
            tempoNames.add("1/1");      tempoFactors[Whole] = 4.0f;
            tempoNames.add("1/2D");         tempoFactors[HalfDuet] = 2.0f * 1.5f;
            tempoNames.add("1/2");      tempoFactors[Half] = 2.0f;
            tempoNames.add("1/2T");     tempoFactors[HalfTriplet] = 4.0f / 3.0f;
            tempoNames.add("1/4D");         tempoFactors[QuarterDuet] = 1.0f * 1.5f;
            tempoNames.add("1/4");      tempoFactors[Quarter] = 1.0f;
            tempoNames.add("1/4T");     tempoFactors[QuarterTriplet] = 2.0f / 3.0f;
            tempoNames.add("1/8D");         tempoFactors[EighthDuet] = 0.5f * 1.5f;
            tempoNames.add("1/8");      tempoFactors[Eighth] = 0.5f;
            tempoNames.add("1/8T");     tempoFactors[EighthTriplet] = 1.0f / 3.0f;
            tempoNames.add("1/16D");    tempoFactors[SixteenthDuet] = 0.25f * 1.5f;
            tempoNames.add("1/16");     tempoFactors[Sixteenth] = 0.25f;
            tempoNames.add("1/16T");            tempoFactors[SixteenthTriplet] = 0.5f / 3.0f;
            tempoNames.add("1/32D");    tempoFactors[ThirtyTwoDuet] = 0.125f * 1.5f;
            tempoNames.add("1/32");     tempoFactors[ThirtyTwo] = 0.125f;
            tempoNames.add("1/32T");    tempoFactors[ThirtyTwoTriplet] = 0.25f / 3.0f;
            tempoNames.add("1/64D");    tempoFactors[SixtyForthDuet] = 0.125f * 0.5f * 1.5f;
            tempoNames.add("1/64");     tempoFactors[SixtyForth] = 0.125f * 0.5f;
            tempoNames.add("1/64T");    tempoFactors[SixtyForthTriplet] = 0.125f / 3.0f;
        

        On MiscToolClasses.h

        /** The note values. */
            enum Tempo
            {
                        ThirtyTwouple = 0,
                Sixteenthuple,
                Octuple,
                Quadruple,
                Double,
                HundredTwentyEighth, ///> THIS IS 1/128
                Whole, ///< a whole note (1/1)
                HalfDuet, ///< a half note duole (1/2D)
                Half, ///< a half note (1/2)
                HalfTriplet, ///< a half triplet note (1/2T)
                QuarterDuet, ///< a quarter note duole (1/4D)
                Quarter, ///< a quarter note (1/4)
                QuarterTriplet, ///< a quarter triplet note (1/4T)
                EighthDuet, ///< a eight note duole (1/8D)
                Eighth, ///< a eighth note (1/8)
                EighthTriplet, ///< a eighth triplet note (1/8T)
                SixteenthDuet, ///< a sixteenth duole (1/16D)
                Sixteenth, ///< a sixteenth note (1/16)
                SixteenthTriplet, ///< a sixteenth triplet (1/16T)
                ThirtyTwoDuet, ///< a 32th duole (1/32D)
                ThirtyTwo, ///< a 32th note (1/32)
                ThirtyTwoTriplet, ///< a 32th triplet (1/32T)
                SixtyForthDuet, ///< a 64th duole (1/64D)
                SixtyForth, ///< a 64th note (1/64)
                SixtyForthTriplet, ///> a 64th triplet 1/64T)
        
                numTempos
            };
        
        1 Reply Last reply Reply Quote 0
        • DanHD
          DanH
          last edited by

          @Natan thanks. It doesn’t make sense to put 128 below 1/1. Why don’t you put it at the end after 1/64t? And I would change the calculation to 0.125 * 0.25 and see if that works.
          Did you make sure you changed the knob value to reflect the new amount of values / tempos?

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          NatanN 1 Reply Last reply Reply Quote 1
          • NatanN
            Natan @DanH
            last edited by

            @DanH Dan,
            I tried that and placed it at the very end of list,
            It has no effect, or maybe my calculations are wrong.

            Thank you mate 👏 looking gorward to your Try 🍻

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @Natan
              last edited by

              @Natan did you try my calculation? Did the slower speeds work? I’m not sure I have time to try it today

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              NatanN 1 Reply Last reply Reply Quote 0
              • NatanN
                Natan @DanH
                last edited by

                @DanH Like This?

                  tempoNames.add("1/128"); tempoFactors[HundredTwentyEighth] = 0.125f * 0.25f;
                
                1 Reply Last reply Reply Quote 0
                • NatanN
                  Natan
                  last edited by Natan

                  @DanH @Christoph-Hart @ustk
                  Nope, no glory here,
                  I Guess Hise can Go over 1/64
                  I guess there is A limitation wall on speeding up the Tempo

                  2/1 as you Described works perfectly,
                  and Please pay attention to 1/64 and 1/128
                  Both sound the same :/

                  1 Reply Last reply Reply Quote 0
                  • NatanN
                    Natan
                    last edited by

                    @DanH Dan, Mate have you seen The Video :up_arrow:

                    ulrikU DanHD 2 Replies Last reply Reply Quote 0
                    • ulrikU
                      ulrik @Natan
                      last edited by ulrik

                      @Natan try this, it's not so well commented but I guess you understand what happens, if not ask

                      HiseSnippet 1254.3oc4XstaaaCEVxNJnxcCXcnEa+j+XCvAMKPx0MqXsEIMwNsAsNwHNqs+qfQh1lKRjZTTYyXsui6QXOB6MX6PR4HoL2DGsKEaKAAv7bgmuygmaNCE7.RZJWXY6d7rDhk8G4LZFSNc2oXJyZ+dV12z4HhTPmLgHr1YVBNMkDZYa27oJArcWwR+yut0N3HLKfTPx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Jm5WVwBxcJS9YXQH7tDTIAsYs1dpZcaI4WvpTq9AXSu+5K9+y2qp4xA2qXYT24XbDMNIhzmcFIBZHqw3mBcfGiyhjyoVsNa.mwSlxYzJY.EeKiRXegNzSjRXcqBJ2d6iHQDbZoZuuX6W.iKwBHNQpYrve4iEW160m6XfKR0b.8eiYLM+e+LlKuBE5e9umW5OyA5o2AoetQe3euOhmIguO1.LzM.lB4.aMOBFfFP.DyXjHvPN1MTqFZN6oNqfyHBKTe32fexY5qNamyzeNy+QrQLNPveSfYsZUCiano.9MS+Ozv0Yf5Lx2RupMnmi2FdVwvXm2DDnxo+JH9rXc5TCctWMzoaMz490PmMqgNecMz4AWpNpI9OISxiM4+.gg80emCaayFP5RAqeGP9zvi
                      

                      Sorry, wrong thread... 🤭

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

                      1 Reply Last reply Reply Quote 1
                      • DanHD
                        DanH @Natan
                        last edited by

                        @Natan are you trying to do this in develop or master? I see the code is in different locations in each

                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                        https://dhplugins.com/ | https://dcbreaks.com/
                        London, UK

                        NatanN 1 Reply Last reply Reply Quote 1
                        • NatanN
                          Natan @DanH
                          last edited by

                          @DanH I tried with Both :|
                          Can't go 1/128 😫

                          1 Reply Last reply Reply Quote 0
                          • NatanN
                            Natan
                            last edited by

                            On Master, The structure is the Same, and the Code is located on UtilityClasses.h
                            And on Develop are located on places that you mentioned.

                            My wild guess is that Hise Calculation can't go 1/128
                            and Christoph Has no Comment Yet :(

                            DanHD 1 Reply Last reply Reply Quote 0
                            • DanHD
                              DanH @Natan
                              last edited by

                              @Natan works for me

                              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                              https://dhplugins.com/ | https://dcbreaks.com/
                              London, UK

                              NatanN 1 Reply Last reply Reply Quote 1
                              • NatanN
                                Natan @DanH
                                last edited by

                                @DanH Really? No Way
                                Can You Send me The Cpp and .H Files?
                                And Let me know What Cranch You Use?

                                DanHD 1 Reply Last reply Reply Quote 0
                                • DanHD
                                  DanH @Natan
                                  last edited by

                                  @Natan UtilityClasses.h.zip

                                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                  https://dhplugins.com/ | https://dcbreaks.com/
                                  London, UK

                                  NatanN DanHD 2 Replies Last reply Reply Quote 1
                                  • NatanN
                                    Natan @DanH
                                    last edited by

                                    @DanH Youre on master?

                                    DanHD 1 Reply Last reply Reply Quote 0
                                    • DanHD
                                      DanH @DanH
                                      last edited by

                                      @DanH I had to set the project tempo to 60bpm to really hear the change in the arpeggiator, but the lfo was more clear at 120bpm

                                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                      https://dhplugins.com/ | https://dcbreaks.com/
                                      London, UK

                                      1 Reply Last reply Reply Quote 0
                                      • DanHD
                                        DanH @Natan
                                        last edited by

                                        @Natan I did it for master, I don't see why it wouldn't work for dev too

                                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                        https://dhplugins.com/ | https://dcbreaks.com/
                                        London, UK

                                        NatanN 1 Reply Last reply Reply Quote 1
                                        • NatanN
                                          Natan @DanH
                                          last edited by Natan

                                          @DanH So It works on Master?, Right? You hear the 1/128?

                                          Building right now

                                          DanHD 1 Reply Last reply Reply Quote 0
                                          • DanHD
                                            DanH @Natan
                                            last edited by

                                            @Natan Yes

                                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                            https://dhplugins.com/ | https://dcbreaks.com/
                                            London, UK

                                            NatanN 2 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            45

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts