HISE Logo Forum
    • Categories
    • Register
    • Login

    Autocomplete not working for me ?

    Scheduled Pinned Locked Moved Scripting
    6 Posts 3 Posters 339 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.
    • lalalandsynthL
      lalalandsynth
      last edited by lalalandsynth

      I am following this https://docs.hise.audio/scripting/scripting-in-hise/index.html
      Or more precisely this

      "Start to type SineW... in the onInit -script and hit [Escape]. Select the full variable-name SineWaveGenerator1 with the [Down Arrow] and [Enter] or click. When you now append a . (dot) and hit [Escape] again, you'll see a list of all available API methods and attributes/parameters of the Module in the Autocomplete Popup ."

      When I type SineW and hit Esc , nothing happens , also when i type SineWaveGenerator1 and append a dot I dont get the API popup ?

      I am literally stuck on the first sentence of the tutorial , lol!
      Has something changed since this tutorial was done or what could I be doing wrong ?

      I do get the API popup when I hit ESC on an empty space in the script editor.

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @lalalandsynth
        last edited by

        @lalalandsynth Do you have a SineWaveGenerator1 module declared in your script?
        Has the script been recompiled so Hise knows the module exists and is declared?

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

        1 Reply Last reply Reply Quote 0
        • lalalandsynthL
          lalalandsynth
          last edited by lalalandsynth

          Yes. This what it looks like at the moment.

          const var SineWaveGenerator1 = Synth.getChildSynth("Sine Wave Generator1");
          
          // Get and print Octave Transpose Value.
          
          
          Console.print ("OctaveTranspose: " + SineWaveGenerator1.getAttribute(SineWaveGenerator1.OctaveTranspose));
          
          
          // Set the Octave Transpose Value.
          
          
          SineWaveGenerator1.setAttribute (SineWaveGenerator1.OctaveTranspose, 3 );
          

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

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

            You have to compile your script after declaring the variable for the auto-complete to work. Does that solve it?

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

            1 Reply Last reply Reply Quote 0
            • lalalandsynthL
              lalalandsynth
              last edited by

              Looks like it , sry , stupid mistake :)

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

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

                @lalalandsynth Not stupid, not obvious solution either :)

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

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

                41

                Online

                1.8k

                Users

                12.0k

                Topics

                104.7k

                Posts