Forum

    • Register
    • Login
    • Search
    • Categories

    Arpeggiator questions

    Scripting Forum
    6
    18
    89
    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.
    • ulrik
      ulrik last edited by

      When I have an arpeggiator running, I am able to change any parameters value, num steps, note numbers, velocity, length, well all parameters except "bypass" and "reset" of course, and the arpeggiator updates to the new values without stopping.

      But if I script the changes and use the knob.changed() function the arpeggiator stops running, why is that?
      And how should I code it so the arp will continue running?

      Hise Develop branch
      MacOs 12.4, Xcode 13.0
      http://musikboden.se

      MikeB Matt_SF 2 Replies Last reply Reply Quote 1
      • MikeB
        MikeB @ulrik last edited by MikeB

        @ulrik Hi ulrik,

        you may remember me - you had worked on a problem for me last year. Your question is the reason why I have interrupted my project until today. My project required the arpeggiator to keep running when changing parameters - or a preset change. It does not. Unfortunately, Christoph has not found a satisfactory solution to the problem.
        All of the 12 drum plugins I have like Superior Drummer, Atlas, XO and various Kontaktdrummer are able to create a preset change without stopping the arp or sequencer.
        That's frustrating that HISE can't do that.

        DabDab ulrik 2 Replies Last reply Reply Quote 1
        • DabDab
          DabDab @MikeB last edited by

          @MikeB I am agree with you. 👍

          Trance Producer and Presets Designer.

          1 Reply Last reply Reply Quote 0
          • Matt_SF
            Matt_SF @ulrik last edited by

            @ulrik I haven't used arps yet. I really don't know but maybe it could work with a transport handler? : when calling knob.changed() you could get the current beat position and make the arp start again from that position?

            Develop branch
            Win10 / Monterey & Xcode 13.2.1

            ulrik 1 Reply Last reply Reply Quote 1
            • ulrik
              ulrik @MikeB last edited by

              @MikeB Of course I remember 🙂

              Yes it's a pity it will not work, is there a solution to this @Christoph-Hart ?

              Hise Develop branch
              MacOs 12.4, Xcode 13.0
              http://musikboden.se

              MikeB 1 Reply Last reply Reply Quote 0
              • ulrik
                ulrik @Matt_SF last edited by

                @Matt_SF hmm yeah that might be a solution, I'll look in to it thanks!

                Hise Develop branch
                MacOs 12.4, Xcode 13.0
                http://musikboden.se

                Christoph Hart 1 Reply Last reply Reply Quote 0
                • Christoph Hart
                  Christoph Hart @ulrik last edited by

                  @ulrik The proper solution for this is synching the Arpeggiator to the master clock of HISE (which itself can be either free running or be synced to the host). I'm currently implementing this system which allows a much more stable synching for basically all time-synched modules (MidiPlayers, Arppegiators and LFOs), but it's subject to change at the moment and the docs aren't up yet.

                  Christoph Hart MikeB 2 Replies Last reply Reply Quote 4
                  • Christoph Hart
                    Christoph Hart @Christoph Hart last edited by

                    But if I script the changes and use the knob.changed() function the arpeggiator stops running, why is that?

                    Aside from the user preset loading issue, this sounds funky to me - a normal value change shouldn't reset the arp (unless you call Engine.allNotesOff() or perform a heavyweight task like samplemap loading that causes the sound engine to be suspended.

                    MikeB DanH ulrik 3 Replies Last reply Reply Quote 1
                    • MikeB
                      MikeB @ulrik last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • MikeB
                        MikeB @Christoph Hart last edited by

                        @Christoph-Hart @ulrik

                        I have been waiting for such a function for almost a year.
                        I would be very happy if it continues here.

                        Since it works with Juce programmed PlugIns like Atlas or XO it can't be completely impossible - can it?

                        1 Reply Last reply Reply Quote 0
                        • MikeB
                          MikeB @Christoph Hart last edited by MikeB

                          @Christoph-Hart Do you have an example for this - When I call a new preset the arp stops.

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

                            @Christoph-Hart switching sample maps doesn't stop the arp here actually, although the sound does cut out while the samples load obviously

                            1 Reply Last reply Reply Quote 0
                            • ulrik
                              ulrik @Christoph Hart last edited by ulrik

                              @Christoph-Hart yeah, I found the issue (my fault of course 😜)

                              I accidentally called .changed() on the reset button.

                              Actually it's working now as I would expect it to, me happy 😃

                              this is what I'm working on (sequencing different presets after each other, however it's not user presets loaded with the preset browser, but I store them in a panel at the moment, I guess the way @MikeB do it, the preset browser sends AllNoteOff right?)

                              MidiFX02.gif

                              Hise Develop branch
                              MacOs 12.4, Xcode 13.0
                              http://musikboden.se

                              Matt_SF 1 Reply Last reply Reply Quote 1
                              • Matt_SF
                                Matt_SF @ulrik last edited by

                                @ulrik Nice ! 👏

                                Develop branch
                                Win10 / Monterey & Xcode 13.2.1

                                ulrik 1 Reply Last reply Reply Quote 1
                                • ulrik
                                  ulrik @Matt_SF last edited by

                                  @Matt_SF thanks!

                                  Hise Develop branch
                                  MacOs 12.4, Xcode 13.0
                                  http://musikboden.se

                                  MikeB 1 Reply Last reply Reply Quote 0
                                  • MikeB
                                    MikeB @ulrik last edited by

                                    @ulrik Does this also work if you change the preset in the dropdown at the top while the arp is running?

                                    ulrik 1 Reply Last reply Reply Quote 0
                                    • ulrik
                                      ulrik @MikeB last edited by

                                      @MikeB Yes

                                      Hise Develop branch
                                      MacOs 12.4, Xcode 13.0
                                      http://musikboden.se

                                      1 Reply Last reply Reply Quote 1
                                      • MikeB
                                        MikeB last edited by

                                        Actually, the Arp only has to run independently of the NoteOn of the keyboard. So it should have its own start and stop button.

                                        This way the Arp could run without reacting to the NoteOff event during a preset change.

                                        Is this not possible?

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

                                        5
                                        Online

                                        851
                                        Users

                                        5.7k
                                        Topics

                                        52.9k
                                        Posts