Forum
    • Categories
    • Register
    • Login

    Autocomplete not working for me ?

    Scheduled Pinned Locked Moved Scripting
    6 Posts 3 Posters 483 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?

        Hise made me an F5 dude, any other app just suffers...

        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
          • David HealeyD
            David Healey
            last edited by

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

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - 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

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @lalalandsynth
                last edited by

                @lalalandsynth Not stupid, not obvious solution either :)

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

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

                13

                Online

                2.1k

                Users

                13.2k

                Topics

                114.4k

                Posts