HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion Tutorial

    Scheduled Pinned Locked Moved Blog Entries
    133 Posts 16 Posters 11.3k 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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      @dustbro said in Expansion Tutorial:

      loadPreviousUserPreset() and loadNextUserPreset()

      @Christoph-Hart Is there any way to make loadPreviousUserPreset() and loadNextUserPreset() available to expansions?

      Dan Korneff - Producer / Mixer / Audio Nerd

      1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff
        last edited by Dan Korneff

        It looks like you have to set Engine.loadNextUserPreset() to stay in Directory.

        Engine.loadNextUserPreset(1);
        

        That will allow you to load next and previous in the expansion. If set to 0, the presets will get stuck cycling in the UserPreset folder and not find their way out.

        Dan Korneff - Producer / Mixer / Audio Nerd

        Dan KorneffD 1 Reply Last reply Reply Quote 1
        • Dan KorneffD
          Dan Korneff
          last edited by

          I'm using a label to display the current preset name.
          If I load a preset from an expansion, save the session in DAW and reopen, the preset label is blank. Engine.getCurrentUserPresetName() returns nothing. If I open and close the preset browser, the label text gets populated.
          Anyone else experience this?
          Engine.getCurrentUserPresetName() works as expected with the User Presets. (preset name is always restored)

          Dan Korneff - Producer / Mixer / Audio Nerd

          orangeO 1 Reply Last reply Reply Quote 0
          • orangeO
            orange @Dan Korneff
            last edited by orange

            @dustbro I am using this method. No problem here. Also you can put an invisible button above the label to open the preset browser.

            HiseSnippet 1684.3ocuX80aaaCDWJMJqxsYcEn.CX6gQ3GFbBxbkbSxR6PQSiSba1RRMpS61PwPAiDsMQkIEnnRhaQdX66x9RrOU809z1QR4HIGm+TCjIGGadGui+ti2c7naK3AjjDtvx1c+gwDK6a6zYHS1uYeLkYs8lV1eoyt3DIQfLj1XXLNIgDZYaeimoHX6Nqk94iOYCbDlEPxIYY8ZNMfrCc.UlSs85+BMJpEN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VduYvo4840L7N1y2Tg3TlgB7QujDH+bJH3WT0s.uZsp7iG1ivfP9doQXvjQM7q6MQDzBZ0.SvqsPorYCPdZDsGiDtOjaVKK0CV4ll397DOUGHJn8F+qNlqFQ5JqdgknT8+HNaIpwqNMgz5w0kDKLZq1CLGg6dMVRbZJ2bhoqBnAuDI5Pr.8pXyQ6f1OSCF0mPG.UGI.rUu7xMfXBevsmUDMWsaBca8Yp3bQTptguQ05ixKq6RUItT0OpZR0RCgkvuwCgNsTp9xOc3z5Tb1dbI4EPvQkOTwsxIUPiypa2IxSUCRvihfPiIw1DzbABVikN3.hXIvCDAXZzDgdQK2rqy42rawdwCLkDKLQNaaFU9B3zhyqEXqr5nv2d01aBwkpthynkWWEnsIbfY.wzirqyljj2I4w.RaxGDyYJMXWQp4N+nNnUUusngp4uwyLiNt3EXFVXv55pzmR3i+05lpz4SYy0OfKBIhWhCooIE0igdG56Kc8n7y1.py8oO8IuxTaTjrUAy3lmmYTwYTdhxNbr+GasM3XeKPAiv+b2Ia8OE+ycuLJYGyXY+0NSriUqxciptQT4tQuZv71N4YcFf92SKP+VmysA5OOv9EmGXuiSoTXCd+SqL75TDuei83386FGuUctryugqHelq7AW7jGBmzIKeaT0UvyX.Yskt1m5pcrDpbXwqnesbE0qJbuqSapLn+jw6LS.uPd90Mdytv+7Na0sKzTRNXm0o0uc8e6dKSOX8fKzHnp3p8RGzAR7CH.RXP.npxp8LpjeyXO0XkmoCgEpG7uvSFSe0X6Ll9iXZM.GH3uMvTOW8SJbSME.SL8urhqytpwHeKcMdPNGu5dVCngz2FDnbE+.f8IKSioPlGLExr7THyJSgLqNEx7iSgLqcgxn9QldZJbaHSZBPn8V5C9rs2hggnLcDo0+Avjjh1C
            

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            NatanN Dan KorneffD 2 Replies Last reply Reply Quote 1
            • NatanN
              Natan @orange
              last edited by

              @orange said in Expansion Tutorial:

              HiseSnippet 1684.3ocuX80aaaCDWJMJqxsYcEn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LqNEx7iSgLqcgxn9QldZJbaHSZBPn8V5C9rs2hggnLcDo0+Avjjh1C

              I Tried This Method.
              By Hitting f5 Over This, It Jumps To The Next Preset And Can Cause Changes When You Open Your Saved Projects In Your Daw.

              orangeO 1 Reply Last reply Reply Quote 0
              • orangeO
                orange @Natan
                last edited by orange

                @Natan said in Expansion Tutorial:

                @orange said in Expansion Tutorial:

                I Tried This Method.
                By Hitting f5 Over This, It Jumps To The Next Preset And Can Cause Changes When You Open Your Saved Projects In Your Daw.

                Yes of course it's normal :) Because it'set to load next preset.

                Before saving the Hise project, only you have to do is selecting the first preset (this first preset is the initialization preset that your plugins opens with), and then saving the project xml and save archive at the same time. If the first preset and save archive settings are different, there will be glitch. So, First Preset - Save XML - Save Archive must be same.

                Advantage of this thing is, on the initialization, the plugin always initialize with the first preset and automatically selects it. Also it doesn't jump over to next preset when the DAW project is loaded.

                develop Branch / XCode 13.1
                macOS Monterey / M1 Max

                1 Reply Last reply Reply Quote 1
                • Dan KorneffD
                  Dan Korneff @orange
                  last edited by

                  @orange Using a timer to update the label was the missing element. For some reason I haven't needed to do with with regular presets. I guess the expansion data takes a split second longer to initialize.
                  Thanks for the snip!

                  Dan Korneff - Producer / Mixer / Audio Nerd

                  1 Reply Last reply Reply Quote 1
                  • Dan KorneffD
                    Dan Korneff @Christoph Hart
                    last edited by

                    @Christoph-Hart said in Expansion Tutorial:

                    I just want people to get acquainted with the basic functionality before taking the next step.

                    Ready! 😀

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    d.healeyD 1 Reply Last reply Reply Quote 2
                    • d.healeyD
                      d.healey @Dan Korneff
                      last edited by

                      @dustbro Ready here also :D

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

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

                        @d-healey Me too!

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

                        1 Reply Last reply Reply Quote 0
                        • Casey KolbC
                          Casey Kolb
                          last edited by

                          Yes please!! 😍

                          Casey Kolb
                          Founder & CEO of Lunacy Audio
                          Composer | Producer | Software Developer

                          1 Reply Last reply Reply Quote 0
                          • orangeO
                            orange
                            last edited by

                            Definately 😜

                            develop Branch / XCode 13.1
                            macOS Monterey / M1 Max

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

                              Ladies and Gentleman I present to you: the next step...

                              Link Preview Image
                              HISE | Docs

                              favicon

                              (docs.hise.audio)

                              ustkU d.healeyD orangeO 3 Replies Last reply Reply Quote 5
                              • ustkU
                                ustk @Christoph Hart
                                last edited by ustk

                                @Christoph-Hart Amazing! Thanks Christoph! 👏 😎

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

                                1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @Christoph Hart
                                  last edited by

                                  @Christoph-Hart When we organise a HISE meet up I'll buy you a drink or 6

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

                                  ustkU 1 Reply Last reply Reply Quote 4
                                  • ustkU
                                    ustk @d.healey
                                    last edited by

                                    @d-healey I'm not sure I want to see in what language he can code after 6 drinks... Have you ever seen the size of the glasses in Germany? 😝

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

                                    d.healeyD Christoph HartC 2 Replies Last reply Reply Quote 1
                                    • d.healeyD
                                      d.healey @ustk
                                      last edited by

                                      @ustk said in Expansion Tutorial:

                                      @d-healey Have you ever seen the size of the glasses in Germany? 😝

                                      Oh yes, when I was 14 I was a foreign exchange student and spent a couple of weeks living with a German family drinking beer :D

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

                                      1 Reply Last reply Reply Quote 2
                                      • Christoph HartC
                                        Christoph Hart @ustk
                                        last edited by

                                        @ustk said in Expansion Tutorial:

                                        I'm not sure I want to see in what language he can code after 6 drinks...

                                        Link Preview Image
                                        Brainfuck - Wikipedia

                                        favicon

                                        (en.wikipedia.org)

                                        ustkU 1 Reply Last reply Reply Quote 3
                                        • ustkU
                                          ustk @Christoph Hart
                                          last edited by

                                          @Christoph-Hart What the !!!

                                          ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
                                          

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

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

                                            @Christoph-Hart I'll buy you lot's of Dinners in a luxury restaurant 😄

                                            Thank you! very cool stuff, as always... 👍

                                            develop Branch / XCode 13.1
                                            macOS Monterey / M1 Max

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

                                            30

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.4k

                                            Posts