HISE Logo Forum
    • Categories
    • Register
    • Login

    Could AI codex be helping write code in HISE?

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 313 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.
    • gorangroovesG
      gorangrooves
      last edited by

      Have you guys checked out openAi.com?

      Pretty fascinating stuff. I just got sent an invite to toy around with the codex function, which allows you to write code in various programming languages by inputting commands in plain English, telling the system what you want the code to do.

      It can also optimize existing code or describe what a line of code means :)

      The ai knows several programming languages including JavaScript, which makes me ponder how it can be introduced to HISE language.

      Check it out:
      https://beta.openai.com/docs/guides/code

      There is a fascinating video of making a simple game by typing in instructions in plain English and then being converted to JavaScript.

      Goran Rista
      https://gorangrooves.com

      Handy Drums and Handy Grooves
      https://library.gorangrooves.com

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @gorangrooves
        last edited by

        @gorangrooves I think it could, but you'd have to train it on loads and loads of HISEscript, which even between all the forum users probably wouldn't be enough data

        It could however, possibly be used to help us noobs implement third party C++ libraries/code to the hise source

        gorangroovesG 1 Reply Last reply Reply Quote 0
        • gorangroovesG
          gorangrooves @A Former User
          last edited by

          @iamlamprey hmmm but, how do we go about creating scripts in HISE? We refer to the API and descriptions of the functions, along with examples. Many of us don't know any other programming languages fully or at all.

          If an AI system already fully knows JavaScript and several other languages, wouldn't it be a matter of feeding it the HISE API to train it on the available commands and functions? Since it already knows JavaScript and HISE uses very similar logic, but with different commands, shouldn't it be able to figure things out?

          What do you think @Christoph-Hart ?

          Goran Rista
          https://gorangrooves.com

          Handy Drums and Handy Grooves
          https://library.gorangrooves.com

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

            @gorangrooves Would this work like Microshaft's github co-pilot where it reuses snippets of code it's been trained on?

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

            gorangroovesG 1 Reply Last reply Reply Quote 0
            • gorangroovesG
              gorangrooves @d.healey
              last edited by

              @d-healey I am not fully sure how one goes about training it exactly. I'll have to mess around with it.

              There is an excellent video demo on the page where the guys programs a simple game JavaScript in 8min by giving it directions in English. The system interprets what is wanted and creates a code within seconds. I could program such a game at about the same time in the same manner, but if I had to do it in JavaScript...forget it.

              Remember how you explained to me how you write the basic logic in English of what a function should do before writing code for it? Well, this system can just take those English instructions and write the code out.

              You can sign up for a free beta account and mess around. I was given access after a day.

              I guess the main task is to train it in another programming language. I don't know if it is something that we, as users, can do, or if that is something reserved for the developers of the AI system.

              Goran Rista
              https://gorangrooves.com

              Handy Drums and Handy Grooves
              https://library.gorangrooves.com

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

                @gorangrooves I wonder how this works for licensing. If you train it on GPL code can you use its output in a proprietary project.

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

                gorangroovesG 1 Reply Last reply Reply Quote 0
                • gorangroovesG
                  gorangrooves @d.healey
                  last edited by

                  @d-healey I imagine the generated code would be treated the same way as if you wrote it. Think of it as a super-useful tool to accomplish a task.

                  They will soon open up the Dall-e 2 to more users soon, and you'll be able to use images created with them for commercial purposes. The same goes with the text generated with their API. It stands to reason the same concept should apply here.

                  Goran Rista
                  https://gorangrooves.com

                  Handy Drums and Handy Grooves
                  https://library.gorangrooves.com

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

                  39

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  102.2k

                  Posts