HISE Logo Forum
    • Categories
    • Register
    • Login

    A Few HISE Language Questions

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 209 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.
    • clevername27C
      clevername27
      last edited by clevername27

      @Christoph-Hart, I think these would be for you, though I understand your time is limited to answer such things. And that I may be embarrassing myself in asking some of them. 🫠

      1. Are there plans to offer the new peak meter visualisers (e.g., FFT waterfall) as Tiles? (Not requesting, just wondering. 🌈 )

      2. Is there a way to identify object types in HISE (e.g., ** IsA**) in the UI thread (including identifying a function ref/pointer)? My goal here is implementing a (limited) form of polymorphism in HISE scripts, and text-based operator overloading. (I suppose I could build an array of every HISE object by ID when I assign them, and maybe a hash table to reference them.)

      3. Is the best way to approach Variadic functions to pass in JSON/arrays? This seems to work fine, but it also seems in opposition to HISE's inline function type-safety aims.

      4. Are default values supported for function parameters? [EDIT: The answer is no, but now I'm thinking of embedding anonymous functions inside function parameters.]

      Thank you.

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

        @clevername27

        2: We have typeof

        4: No

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

        clevername27C 1 Reply Last reply Reply Quote 1
        • clevername27C
          clevername27 @d.healey
          last edited by clevername27

          @d-healey said in A Few HISE Language Questions:

          @clevername27

          2: We have typeof

          4: No

          Thank you, Dave. I didn't realise we had typeof in HISE, cheers. That solves the function issue.

          I guess I'm looking for something more like IsA, so I can determine what type(s) of HISE object(s) a variable is referencing.

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

          57

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts