HISE Logo Forum
    • Categories
    • Register
    • Login

    Settings.getDiskMode() please!

    Scheduled Pinned Locked Moved Feature Requests
    13 Posts 5 Posters 378 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.
    • T
      tomekslesicki
      last edited by

      Hey @Christoph-Hart I'm doing some further UI customizations and I can't express how much I love the Settings.getZoomLevel() thingy. Could we please have Settings.getDiskMode() too, please?

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

        That‘s @d-healey`s job now - he started the setting customizations :)

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

          It's already in my pull request...

          Actually maybe it's only setDiskMode that's there, but I'll add it today.

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

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

            I've added this now. I'll make a few more additions then I'll update my pull request.

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

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

              Pull request has been updated.

              Peek 2021-05-18 16-01.gif

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

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

                Just added an extra function to check enabled state of MIDI channels.

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

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  What is disk mode for?

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @A Former User
                    last edited by

                    @iamlamprey Allows the user to select between HDD and SSD depending on the driver their using, it basically adjusts the preload buffer size. I think an NVME mode would be good too.

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

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      yall @d.healey
                      last edited by

                      @d-healey this mode wasn t already there in setting? in the floating title.

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

                        @yall Yes... but Christoph added the new Settings class and I've populated it with functions so you can create your own entirely unique settings page.

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

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

                          I've added some safety checks that fixes crashes when using certain settings functions in an exported project.

                          @Christoph-Hart One issue I've hit is if I check for example the currentAudioDeviceType during on init, it will return empty because the audio device isn't yet initialized. This problem doesn't happen with the custom settings tile. I've had a look in the source but can't see how you're handling this. Should I just use a timer?

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

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

                            I just spotted an initialiseWithDefaultDevices function, so I've added a wrapper for that and it works! I guess now I need to do the same thing to initialise from XML and probably best to combine the two functions into a scripting call that can be used to initialise default automatically if no XML is found. What do you think?

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

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

                              Well that approach didn't seem to work, I'm probably implementing it incorrectly. But using a timer still looks like a promising option so I'll go down that rabbit hole instead.

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

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

                              59

                              Online

                              1.7k

                              Users

                              11.7k

                              Topics

                              102.1k

                              Posts