HISE Logo Forum
    • Categories
    • Register
    • Login

    Sample map not being saved with preset

    Scheduled Pinned Locked Moved General Questions
    15 Posts 5 Posters 1.0k 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.
    • A
      arminh
      last edited by

      I've also have problem with presets and nobody can't help us with this ...

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

        I'll make a video, hold tight

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

        A 1 Reply Last reply Reply Quote 0
        • A
          arminh @d.healey
          last edited by

          @d-healey thanks ! You’te my only hope!

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

            Here you go. The video is still processing on YouTube so you might have to wait a while for the high q version to appear.

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

            C 1 Reply Last reply Reply Quote 2
            • A
              arminh
              last edited by

              Thank you so much!

              1 Reply Last reply Reply Quote 1
              • C
                chlopzewsi @d.healey
                last edited by

                @d-healey

                thank you! I wouldn't have thought, that such a hack is necessary for it to work :D

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

                  @chlopzewsi It's not a hack. The preset system is designed to do a specific job which doesn't include handling sample maps.

                  On a large project, like the woodwind library I show, it would be horrible if the preset system controlled the sample maps. Because every time I add a preset I would have to go into every sampler and change the sample map manually. Doing it programmatically is much more flexible. On a small project with only one sampler it might seem like a lot of extra work but it can be setup in 5 minutes and once you've written the code you don't need to write it again, just copy and paste.

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

                  L 2 Replies Last reply Reply Quote 0
                  • L
                    LeeC @d.healey
                    last edited by

                    @d-healey Thanks for the video - helped out massively

                    1 Reply Last reply Reply Quote 1
                    • L
                      LeeC @d.healey
                      last edited by LeeC

                      @d-healey Tried to edit the appearance of the preset (inspired by your sofia woodwinds) but it keeps defaulting back to it's original settings, even after saving and compiling.

                      {
                      "ShowSaveButton": true,
                      "ShowFolderButton": true,
                      "ShowNotes": true,
                      "ShowEditButtons": true,
                      "ShowFavoriteIcon": true,
                      "NumColumns": 3
                      }

                      So when I change the "ShowSaveButton" to False for example, it just defaults back to the value of True.

                      Any idea what I'm doing wrong?

                      Thanks

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

                        Press F5 or Apply after editing.

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

                          Cheers @Christoph-Hart! Worked a treat ☺

                          1 Reply Last reply Reply Quote 0
                          • L
                            LeeC
                            last edited by LeeC

                            Final question for me is...

                            How do we show/hide the preset box with a button as demonstrated in this video around 12:56 ?

                            I'd imagine it's some sort of Javascript but I'm still a newbie so I'm unsure.

                            I just like how the section in the top right hand corner of this instrument (sofia woodwinds) displays the current selected preset and can also be used to hide & show the preset browser.

                            Any thoughts?

                            The HISE platform and community is first class btw ☺

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

                              @LeeC HISE Script. Use the showControl() function.

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

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                LeeC @d.healey
                                last edited by

                                @d-healey Worked.. thanks!

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

                                55

                                Online

                                1.7k

                                Users

                                11.8k

                                Topics

                                103.0k

                                Posts