HISE Logo Forum
    • Categories
    • Register
    • Login

    Who is it? (Updated)

    Scheduled Pinned Locked Moved General Questions
    35 Posts 14 Posters 2.1k 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.
    • ustkU
      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

      Can't help pressing F5 in the forum...

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

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

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

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

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

          Personally attacked 😂

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

            @ustk Now you should be included :)

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            1 Reply Last reply Reply Quote 0
            • ulrikU
              ulrik @A Former User
              last edited by

              @iamlamprey 😂

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

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

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

                develop Branch / XCode 13.1
                macOS Monterey / M1 Max

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

                  Will there be expansions for new members? :p

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

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

                    loving the "success" music...

                    HISE Development for hire.
                    www.channelrobot.com

                    1 Reply Last reply Reply Quote 2
                    • ulrikU
                      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 15.3.1, Xcode 16.2
                      http://musikboden.se

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

                        @ulrik 😂😂😂 Hahahaha
                        Super Awesome 💯

                        That Success Music Is Brilliant :)

                        1 Reply Last reply Reply Quote 1
                        • Christoph HartC
                          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);
                                  }
                              }
                          });
                          
                          orangeO ulrikU 2 Replies Last reply Reply Quote 7
                          • orangeO
                            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 KolbC
                              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

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

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

                                Hise Develop branch
                                MacOs 15.3.1, Xcode 16.2
                                http://musikboden.se

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

                                  @Christoph-Hart Wow!!! 🙏

                                  Hise Develop branch
                                  MacOs 15.3.1, Xcode 16.2
                                  http://musikboden.se

                                  ulrikU 1 Reply Last reply Reply Quote 0
                                  • ulrikU
                                    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 15.3.1, Xcode 16.2
                                    http://musikboden.se

                                    Tania GhoshT 1 Reply Last reply Reply Quote 6
                                    • Tania GhoshT
                                      Tania Ghosh @ulrik
                                      last edited by

                                      @ulrik Wow.. Fantastic (y) :)

                                      Tania Ghosh

                                      1 Reply Last reply Reply Quote 1
                                      • Tania GhoshT
                                        Tania Ghosh
                                        last edited by

                                        Interface:! server.js (11): function not found {SW50ZXJmYWNlfHNlcnZlci5qc3w0MDF8MTF8NTU=}
                                        

                                        Tania Ghosh

                                        ustkU ulrikU 2 Replies Last reply Reply Quote 0
                                        • ustkU
                                          ustk @Tania Ghosh
                                          last edited by

                                          @Tania-Ghosh File.createDirectory(String directoryName) is in the develop branch

                                          Can't help pressing F5 in the forum...

                                          1 Reply Last reply Reply Quote 1
                                          • ulrikU
                                            ulrik @Tania Ghosh
                                            last edited by

                                            @Tania-Ghosh Yes as @ustk said, I made this using the Develop branch

                                            Hise Develop branch
                                            MacOs 15.3.1, Xcode 16.2
                                            http://musikboden.se

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

                                            37

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts