HISE Logo Forum
    • Categories
    • Register
    • Login

    Documentation, documentation documentation...

    Scheduled Pinned Locked Moved Documentation
    13 Posts 3 Posters 2.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.
    • LindonL
      Lindon
      last edited by

      Yeah I worked that out by:

      Looking through Christoph's example Scripted Panel - so actually Im NOT looking for an answer to a specific question - I'm looking for a tool to use to answer several questions - several per day as it happens.

      HISE Development for hire.
      www.channelrobot.com

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

        Does this help you - http://hartinstruments.net/hise/api/annotated.html? I think this forum is the best help resource we have for now.

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

        1 Reply Last reply Reply Quote 1
        • LindonL
          Lindon
          last edited by

          Yes exactly. Thanks Dave.

          Of course the first thing I look for is the Area object/class - and its not there - so either:

          • we need to add a Class called Area with all the associated methods for dealing with it - which in this case would seem to be massive overkill.
            or
          • we need to stop referring to "Area" at all and say Array of: x,y,width,height

          so the ApiCollection documentation for drawEllipse would need to change to :

          drawEllipse(array[int x_start, int y_start, int width, int height], float LineThickness)

          HISE Development for hire.
          www.channelrobot.com

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

            Yes that would be clearer. What do you think about using a wiki?

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

            1 Reply Last reply Reply Quote 1
            • LindonL
              Lindon
              last edited by

              Absolutely in favour of using a wiki.. as long as Christoph is comfortable with that and then he can re-use the wiki definitions(once they settle down) in the on-board documentation

              HISE Development for hire.
              www.channelrobot.com

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

                Actually, the ScriptPanel is one of the few things where there's a rather complete documentation:

                favicon

                (hise.audio)

                But I agree with you that the documentation is lacking (and you're definitely not the first to say so). But there's just so many hours in the day and I am completely busy supervising projects and working on the codebase.

                The current API browser is autogenerated from the source code and this is the only way how to keep it up to date. However this opposes some restrictions on the formatting so g.drawEllipse([x, y, w, h], thickness) would not work.

                I don't know if a wiki is neccessary, because the existing documentation is fully available on GitHub and I am happy to accept pull requests from anyone that contributes something there - unlike the actual codebase you don't need to be a C++ wizard to help :)

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

                  Ah that sounds like a good idea. I'll check out the documentation on GitHub

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

                  1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon
                    last edited by

                    The documentation on GitHub seems ot be pretty much a replication of the documentation on the web site. so:

                    Christoph Hart 28 minutes ago
                    Actually, the ScriptPanel is one of the few things where there's a rather complete documentation:

                    • so I'm not sure this is the case. I count at least 21 methods when press ESC, and these are not all documented on the web site and thus GitHub. appreciate much of this is "documented" in the ApiCollection - but we clearly need more comprehensive documentation. that says (more) exactly:

                    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                    g.drawEllipse(var area,float lineThickness)
                    area = array of 4 values: [float x_pos, float y_pos, float width, float height]

                    example: g.drawEllipse([0,0,30,30],5)

                    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

                    It's only a small change but its an accumulation of these that will make for usable documentation and better take up of the product I think.

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon Did you include this documentation too - http://hise.audio/manual/ScriptPanel.php?

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

                      1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon
                        last edited by Lindon

                        yep.

                        press esc and the first listed call is g.addDropShadowFromAlpha(int colour, int radius), cant see where thats documented on the page you reference.

                        and here:

                        http://hartinstruments.net/hise/api/annotated.html

                        Panel isnt even mentioned....

                        HISE Development for hire.
                        www.channelrobot.com

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

                          Aha I see what you mean

                          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

                          44

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          101.8k

                          Posts