HISE Logo Forum
    • Categories
    • Register
    • Login

    UI Zoom Factor

    Scheduled Pinned Locked Moved Bug Reports
    26 Posts 6 Posters 1.5k 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

      @ustk Think it's possible to add the same kind of function for the Streaming Mode?

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

      ustkU 2 Replies Last reply Reply Quote 0
      • ustkU
        ustk @d.healey
        last edited by

        @d-healey I can't tell but I can have a look…

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

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

          @d-healey @Christoph-Hart I've done it and it seems to work... But I'm not against an input from Christoph before pushing :)

          void ScriptingApi::Engine::setDiskMode(int mode)
          {
          	auto mc = dynamic_cast<MainController*>(getScriptProcessor()->getMainController_());
          
          	AudioProcessorDriver* driver = dynamic_cast<AudioProcessorDriver*>(mc);
          
          	driver->diskMode = mode;
          	
          	mc->getSampleManager().setDiskMode((MainController::SampleManager::DiskMode)mode);
          }
          

          So mode should be 1 for fast and 2 for slow due to the original combobox offset.
          Do you prefer a 0 based value? (0-fast 1-slow)

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

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

            @ustk

            Do you prefer a 0 based value? (0-fast 1-slow)

            Thanks @ustk! Yes I prefer 0 based. HISE combo box values mess with the system :p

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

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

              Yes zero is better, this represents the actual number in the XML file:

              <?xml version="1.0" encoding="UTF-8"?>
              
              <GLOBAL_SETTINGS DISK_MODE="0" SCALE_FACTOR="1.0" VOICE_AMOUNT_MULTIPLIER="2"
                               GLOBAL_BPM="-1.0" MIDI_CHANNELS="1" SAMPLES_FOUND="1" OPEN_GL="0"/>
              
              ustkU 1 Reply Last reply Reply Quote 2
              • ustkU
                ustk @Christoph Hart
                last edited by

                @Christoph-Hart @d-healey It was already 0-1 based I was just talking nonsense :crazy_face:
                That's it, pushed and working...

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

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

                27

                Online

                1.8k

                Users

                12.0k

                Topics

                104.8k

                Posts