Forum

    • Register
    • Login
    • Search
    • Categories

    Who is it? (Updated)

    General Questions
    14
    35
    388
    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.
    • ulrik
      ulrik last edited by ulrik

      I got bored trying to script a keyboard so it became a small game instead 🙂

      Skärmavbild 2021-02-05 kl. 00.36.17.png

      Please feel free to download it and get irritated playing it
      Who is it

      Hise Develop branch
      MacOs 13, Xcode 14.0.1
      http://musikboden.se

      ustk Natan 2 Replies Last reply Reply Quote 8
      • ustk
        ustk @ulrik last edited by ustk

        @ulrik Love it ! The animation with the music is genious 😆
        Despite the fact you purposely excluded me from being displayed 😛

        Math.randInt(0, 13); -> Math.randInt(0, 14);
        

        I cannot help pressing F5 in the forum...
        Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

        ulrik 2 Replies Last reply Reply Quote 2
        • ulrik
          ulrik @ustk last edited by

          @ustk said in Who is it?:

          Despite the fact you purposely excluded me from being displayed

          What!!! Oh no, that's a big mistake from my side 😱
          I will correct it

          Hise Develop branch
          MacOs 13, Xcode 14.0.1
          http://musikboden.se

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

            @ustk is it the

            Math.randInt(0, 13)
            

            Hise Develop branch
            MacOs 13, Xcode 14.0.1
            http://musikboden.se

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

              @ulrik To say that I'm always trapped with this as well, since Math.randInt(x, y) does not include y, so you always need y+1

              I cannot help pressing F5 in the forum...
              Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

              ulrik 2 Replies Last reply Reply Quote 1
              • ulrik
                ulrik @ustk last edited by

                @ustk Ah, ok, easy to fall in to that trap. Thanks!

                Hise Develop branch
                MacOs 13, Xcode 14.0.1
                http://musikboden.se

                1 Reply Last reply Reply Quote 0
                • iamlamprey
                  iamlamprey last edited by

                  b27087dd-e1b8-460e-b041-3bb8c8202bf8-image.png

                  Personally attacked 😂

                  Music - Instruments

                  ulrik 1 Reply Last reply Reply Quote 2
                  • ulrik
                    ulrik @ustk last edited by

                    @ustk Now you should be included 🙂

                    Hise Develop branch
                    MacOs 13, Xcode 14.0.1
                    http://musikboden.se

                    1 Reply Last reply Reply Quote 0
                    • ulrik
                      ulrik @iamlamprey last edited by

                      @iamlamprey 😂

                      Hise Develop branch
                      MacOs 13, Xcode 14.0.1
                      http://musikboden.se

                      1 Reply Last reply Reply Quote 0
                      • orange
                        orange last edited by

                        @ulrik So funny and entertaining ☺ 😂 Thanks for this!

                        develop Branch / XCode 13.1
                        macOS Monterey / M1 Max

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

                          Will there be expansions for new members? 😛

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

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

                            loving the "success" music...

                            HISE Development for hire.
                            www.channelrobot.com

                            1 Reply Last reply Reply Quote 2
                            • ulrik
                              ulrik @orange last edited by

                              @orange @Lindon @d-healey
                              Thank you!

                              As soon as David has made the "Expansions, from Basic to Advanced" tutorial there will be a lot of expansions to this 🤓

                              Hise Develop branch
                              MacOs 13, Xcode 14.0.1
                              http://musikboden.se

                              1 Reply Last reply Reply Quote 2
                              • Natan
                                Natan @ulrik last edited by Natan

                                @ulrik 😂😂😂 Hahahaha
                                Super Awesome 💯

                                That Success Music Is Brilliant 🙂

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

                                  Nice one. Here's a way how to automatically download all pictures from the server using the one and only tool for internet-related tasks:

                                  Server.setBaseURL("https://forum.hise.audio/");
                                  
                                  // This will populate the root app data folder in a really ugly manner, but hey
                                  // it's a demo...
                                  var userThumbnailFolder = FileSystem.getFolder(FileSystem.AppData);
                                  
                                  
                                  function downloadCallback(info)
                                  {
                                      // Don't bother about a callback, these are little images only...
                                  }
                                  
                                  // every forum site is available as REST API by just prepending `/api` to the call
                                  Server.callWithGET("api/users?section=sort-posts", {}, function(status, response)
                                  {
                                      // You'll get an object for all users sorted by post amount
                                      // (DAMN YOU D.HEALEY FOR TAKING MY SPOT!)
                                      for(u in response.users)
                                      {
                                          // Now we need to distinguish between the good people
                                          // who have uploaded their profile picture directly on the server
                                          if(u.picture.charAt(0) == '/')
                                          {
                                              // magic to get the file extension
                                              var ext = u.picture.split(".");
                                              ext = ext[ext.length-1];
                                              
                                              // Set the base url back to the forum (this call actually does nothing heavyweight
                                              Server.setBaseURL("https://forum.hise.audio/");
                                              
                                              // download the file to the folder
                                              Server.downloadFile(u.picture, {}, userThumbnailFolder.getChildFile(u.username + "." + ext), downloadCallback);
                                          }
                                          // and the poor souls who need imgur for it...
                                          else if (u.picture.charAt(0) == 'h')
                                          {
                                              var ext = u.picture.split(".");
                                              ext = ext[ext.length-1];
                                              
                                              
                                              var url = "https://i.imgur.com/";
                                              var subUrl = u.picture.replace(url, "");
                                              
                                              Server.setBaseURL(url);
                                              Server.downloadFile(subUrl, {}, userThumbnailFolder.getChildFile(u.username + "." + ext), downloadCallback);
                                          }
                                      }
                                  });
                                  
                                  orange ulrik 2 Replies Last reply Reply Quote 6
                                  • orange
                                    orange @Christoph Hart last edited by

                                    @Christoph-Hart That's what I call magic....

                                    develop Branch / XCode 13.1
                                    macOS Monterey / M1 Max

                                    1 Reply Last reply Reply Quote 0
                                    • Casey Kolb
                                      Casey Kolb last edited by

                                      @ulrik Bahaha, this is why I still look at this forum every day. Kudos!!

                                      Casey Kolb
                                      Founder & CEO of Lunacy Audio
                                      Composer | Producer | Software Developer

                                      ulrik 1 Reply Last reply Reply Quote 1
                                      • ulrik
                                        ulrik @Casey Kolb last edited by ulrik

                                        @Lunacy-Audio @Natan @Christoph-Hart Thanks! 🙏

                                        Hise Develop branch
                                        MacOs 13, Xcode 14.0.1
                                        http://musikboden.se

                                        1 Reply Last reply Reply Quote 1
                                        • ulrik
                                          ulrik @Christoph Hart last edited by

                                          @Christoph-Hart Wow!!! 🙏

                                          Hise Develop branch
                                          MacOs 13, Xcode 14.0.1
                                          http://musikboden.se

                                          ulrik 1 Reply Last reply Reply Quote 0
                                          • ulrik
                                            ulrik @ulrik last edited by ulrik

                                            Skärmavbild 2021-08-02 kl. 21.45.13.png
                                            Fellow Hisers, I've finally updated the "Keyboard Surprise" game.
                                            New stuff:

                                            • I've finally implemented the auto download of avatars from the forum (thank you @Christoph-Hart for the idea and code)

                                            It downloads the user avatars from page 1 of "sort-post"
                                            This means that the game will create a folder in the AppData named User Pictures, and when the game compile for the first time it will start downloading the pictures, you have to compile it once more when the download is finished, so Hise can load the images for using.

                                            • Added some small stuff like a volume, midi input selector, etc..
                                            • I have added a second game, which also use the avatars but in a different way.
                                            • I've also cleaned up the code and structured it in a more module way, however I have a lot more to do and learn, @d-healey 🙂

                                            So why am I making a stupid game when I'm supposed to develop a really cool, great sounding library or FX plugin???
                                            Well because it's fun, and corona is boring.

                                            You want to try it? Help yourself, here is download link to the project:
                                            Game

                                            Hise Develop branch
                                            MacOs 13, Xcode 14.0.1
                                            http://musikboden.se

                                            Tania Ghosh 1 Reply Last reply Reply Quote 7
                                            • First post
                                              Last post

                                            15
                                            Online

                                            977
                                            Users

                                            6.6k
                                            Topics

                                            60.6k
                                            Posts