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.
    • 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
                          • Tania GhoshT
                            Tania Ghosh
                            last edited by

                            @ustk @ulrik Thank you (y) ... Got it.. I'll check the project on another machine.

                            Tania Ghosh

                            1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff
                              last edited by

                              Nice!```
                              code_text

                              Dan Korneff - Producer / Mixer / Audio Nerd

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

                                Looks and Works Great! Thanks for sharing 👍🙏

                                develop Branch / XCode 13.1
                                macOS Monterey / M1 Max

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

                                  @ulrik

                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface: exterminated:0
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  Interface:! Image Christoph Hart not found
                                  
                                  Interface:! keyboard.js (144): Unknown function 'toUpperCase' {SW50ZXJmYWNlfGtleWJvYXJkLmpzfDUyMzh8MTQ0fDk1}
                                  
                                  

                                  rrt.jpg

                                  Tania Ghosh

                                  MikeBM 1 Reply Last reply Reply Quote 0
                                  • MikeBM
                                    MikeB @Tania Ghosh
                                    last edited by

                                    @Tania-Ghosh

                                    Interface:! Image Christoph Hart not found

                                    You will find that on another level :-)

                                    "One hour of trial and error can save 10 minutes of reading the manual."
                                    "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                    HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                                    Tania GhoshT 1 Reply Last reply Reply Quote 4
                                    • A
                                      alepan
                                      last edited by

                                      That's really great ahahah!

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

                                        @MikeB Yup !! I have got the DON's ;) image back.

                                        Tania Ghosh

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

                                          Thank you all! :)

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

                                          1 Reply Last reply Reply Quote 2
                                          • Matt_SFM
                                            Matt_SF
                                            last edited by

                                            Awesome ! :beaming_face_with_smiling_eyes: 👍

                                            Develop branch
                                            Win10 & VS17 / Ventura & Xcode 14. 3

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

                                            16

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts