HISE Logo Forum
    • Categories
    • Register
    • Login

    has something happened here?

    Scheduled Pinned Locked Moved General Questions
    19 Posts 8 Posters 472 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.
    • d.healeyD
      d.healey
      last edited by

      1. Set them to read-only in project preferences. This setting has been there for a long time.

      2. Yes - but your reasonable might not be my reasonable ;)

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

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

        @MikeB 1. Could be done with a user Preset Handler callback maybe?

        Link Preview Image
        HISE | Scripting | UserPresetHandler

        An object for customizing the data model

        favicon

        (docs.hise.audio)

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

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

          @MikeB do you mean when playing in a DAW - so you set a loop up and browse through presets?

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

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

            @MikeB I would recommend using a MIDI player instead of the arpeggiator for the drum machine, this gives you

            • drag and drop of MIDI to DAW (otherwise you have to create the MIDI data yourself from the arp which is not trivial)
            • perfect synchronisation to the DAW position if you sync it to the external clock
            • the ability to seek to the previous position when a preset loads.
            • much better control over the loop range.

            Every drum-based product I've build so far used the MIDI player.

            LindonL ulrikU MikeBM 3 Replies Last reply Reply Quote 2
            • LindonL
              Lindon @Christoph Hart
              last edited by

              @Christoph-Hart said in has something happened here?:

              @MikeB I would recommend using a MIDI player instead of the arpeggiator for the drum machine, this gives you

              • drag and drop of MIDI to DAW (otherwise you have to create the MIDI data yourself from the arp which is not trivial)
              • perfect synchronisation to the DAW position if you sync it to the external clock
              • the ability to seek to the previous position when a preset loads.
              • much better control over the loop range.

              Every drum-based product I've build so far used the MIDI player.

              I can see the MIDI player as a big improvement over the arp, but what happens when you want your drum sequencer to do additional stuff beyond note playing, say changing send levels per step, or pitch levels etc. is there a mechanism for that we can add to the MIDI player?

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon Write a CC lane to the MIDI player and use that to control whatever you want. This way it will also stay consistent when you drop the MIDI in the DAW

                LindonL MikeBM 2 Replies Last reply Reply Quote 1
                • LindonL
                  Lindon @Christoph Hart
                  last edited by Lindon

                  @Christoph-Hart said in has something happened here?:

                  @Lindon Write a CC lane to the MIDI player and use that to control whatever you want. This way it will also stay consistent when you drop the MIDI in the DAW

                  yeah that'd work - good idea...I think I get what you are saying, add different CC controllers for different actions, say CC100 = send level 1, cc99 = pitch change in the first seq track...

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Christoph-Hart said in has something happened here?:

                    @MikeB I would recommend using a MIDI player instead of the arpeggiator for the drum machine, this gives you

                    • drag and drop of MIDI to DAW (otherwise you have to create the MIDI data yourself from the arp which is not trivial)
                    • perfect synchronisation to the DAW position if you sync it to the external clock
                    • the ability to seek to the previous position when a preset loads.
                    • much better control over the loop range.

                    Every drum-based product I've build so far used the MIDI player.

                    Good to now!

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

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

                      @Christoph-Hart said in has something happened here?:

                      @MikeB I would recommend using a MIDI player instead of the arpeggiator for the drum machine, this gives you

                      But unfortunately the following is not possible - is it?

                      • Multiple instruments 4 each with its own player.
                        I would need four midifiles for each preset?!
                      • Random function for each player and each function
                        Note on/off, velocity, pitch etc.
                      • The user can set each step individually.
                      • drag and drop of MIDI to DAW (otherwise you have to create the MIDI data yourself from the arp which is not trivial)

                      No need to urgently drag and drop midi data, but midi out would be good.

                      • perfect synchronisation to the DAW position if you sync it to the external clock

                      I expect the same from an arp

                      • the ability to seek to the previous position when a preset loads.
                      • much better control over the loop range.

                      If the arp runs independently of a Note-on command, I don't have to search for a position. A preset change should not stop the arp but become active from the next bar.

                      I think all the arp really needs is its own start/stop button that runs the arp independently of NoteOn/Off - either with internal clock or DAW sync.

                      Every drum-based product I've build so far used the MIDI player.

                      Unfortunately, all drum-based products that are not yours do not use a midi player.

                      But I'm open - but I'd have to see if the midiplayer concept is really a replacement. Do you have a snippet or example that can be used as a guide?

                      YOU have an arp in Hise that is unique - none of the 23 drum plug-ins I have have these possibilities* - but unfortunately it is not being developed further and is languishing.

                      *(except one from Blinksonic called Substance for NI Reaktor).

                      Bildschirmfoto 2022-09-06 um 18.09.47.png

                      "One hour of trial and error can save 10 minutes of reading the manual."
                      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                        @Matt_SF said in has something happened here?:

                        @MikeB 1. Could be done with a user Preset Handler callback maybe?

                        Link Preview Image
                        HISE | Scripting | UserPresetHandler

                        An object for customizing the data model

                        favicon

                        (docs.hise.audio)

                        Do you have an example - because as long as the Arp receives a note-off command with every preset change, it will stop.

                        "One hour of trial and error can save 10 minutes of reading the manual."
                        "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                        HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                          @Christoph-Hart said in has something happened here?:

                          @Lindon Write a CC lane to the MIDI player and use that to control whatever you want. This way it will also stay consistent when you drop the MIDI in the DAW

                          Do you have examples or a detailed description?

                          "One hour of trial and error can save 10 minutes of reading the manual."
                          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @MikeB
                            last edited by Lindon

                            @MikeB said in has something happened here?:

                            @Christoph-Hart said in has something happened here?:

                            @MikeB I would recommend using a MIDI player instead of the arpeggiator for the drum machine, this gives you

                            But unfortunately the following is not possible - is it?

                            • Multiple instruments 4 each with its own player.
                              I would need four midifiles for each preset?!

                            ..er no, I think you'd only need one midi file player, and each "instrument" would respond to only a single midi channel...

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @MikeB this is an example using a midi player instead of an arpeggiator, maybe it will give you an idea of how to accomplish what you're trying to do

                              (Changed the snippet to a better version)2022-09-09)

                              HiseSnippet 3129.3oc4Z81bZbbF+vxmS.m+OIS6K2xzoyIK5I.gIJMIiAAnXpP.VfjshG2jSbKvFerG4tCjIc7LoeyxGg9QnusuyeCZed18NXODhf0T2jNUilC1m8Ye1eO+c2aWZ641i5665okHY2YioZIdG8Ny3ACqLzhw0pWUKwGp2k5Gv3CHWRrlXyb0NX1XKeepsVhDa8UHaIRdaMweu5AGX4Xw6QWPRS6LWVOZC1HVvBpsKcDyw4PKaZW1HEtKTpdOWdEWG2I.j1ROq1XqdO2Z.soEx1sz0RbmZ1r.WuNAVATesD29.W6YcF5dIWx+YLe1ENTrQNsNffjjOz0wFQLRUqxPlic6HU2WSKgd6EFhsjFhOV+XlMaN8EFjOPzAYwHTsGItUb3sUL3kSEdYUf2JfzsTfzaE4aDPxwZF0S.kj5GG1RECUl34Q4Acne+DZLewqdPXWc8.qpJ8Fttiqws.jYqRFE9E.qcFSi2Qhs1X0L2ZUSMTiNj4PQUNQTCfaT8.2cUq.KsDEz269l7t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Ndlr.EDieDroKQc1Hp4igxic4tiG5xYwbzmPC7XCFPiE+rREpbPPrai9iKcB0gZ4qjh86K0fwoVdfchdCsEq+ZnSjXC8W+VcIbIXM.xu3KSD9CCHkdzYoGVBLpIYtJj6mGg3UAZIfvB2Xcvk6End4+XModLXmHwcFuVqwj6M+5fa8+MqCt9xKPMdxup2MyuQGVqIOQ3JI+x3KOwcBd+3GaAkrdg7mFRGXw7dzv6uY9u5hv1Yw1HD5P41hF+K3uvNygsSD1YtnN+uxbLxpmm62zS9F4XUs2VPAzat32ASR8iw1jbyOpA8rlYgWewl8M85gwq+QX40UOl72fwr2MXLEtAi492fwT7FLlO8FLl8W6XvshTdRf6HYLOPncM4O4oDy+4XkXKs+MPJFgsU
                              

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

                              LindonL 1 Reply Last reply Reply Quote 4
                              • LindonL
                                Lindon @ulrik
                                last edited by

                                @ulrik -- thats pretty slick I think, well done.

                                HISE Development for hire.
                                www.channelrobot.com

                                ulrikU Christoph HartC 2 Replies Last reply Reply Quote 1
                                • ulrikU
                                  ulrik @Lindon
                                  last edited by

                                  @Lindon thank you!

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

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

                                    Yes, nice one.

                                    BTW, I would recommend switching to ticks as unit when doing this kind of MIDI editing:

                                    // switch from "samples" to "ticks"
                                    // if this is true, the MIDI player will transform the timestamps of the incoming MIDI event array
                                    // as musical ticks (usually 1/960 of a quarter note). This has a few advantages over using sample
                                    // values (more stable when changing tempos in the DAW during editing etc).
                                    MPlayer.setUseTimestampInTicks(true);
                                    
                                    local betterTimestamp = quarterPos * MPlayer.getTicksPerQuarter();
                                    
                                    event.setTimestamp(betterTimestamp);
                                    
                                    ulrikU 1 Reply Last reply Reply Quote 3
                                    • ulrikU
                                      ulrik @Christoph Hart
                                      last edited by

                                      @Christoph-Hart thank you, I'll try that!

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

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

                                        @ulrik what a Legend 🙌🙌🙌💯🥃👏🎢
                                        That code was just amzing 💯🔥

                                        alt text

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

                                        39

                                        Online

                                        1.8k

                                        Users

                                        12.1k

                                        Topics

                                        105.1k

                                        Posts