HISE Logo Forum
    • Categories
    • Register
    • Login

    iOS app with HISE

    Scheduled Pinned Locked Moved General Questions
    35 Posts 5 Posters 2.6k 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.
    • ?
      A Former User @Christoph Hart
      last edited by

      @christoph-hart I actually got it running on my iPhone 8!! 💪

      It looks a bit like shit at the moment... but there might be hope after all...

      I do get sample streaming crashes a lot. Stuff like this...

      JUCE Assertion failure in StreamingSamplerVoice.cpp:727
      

      Are there things that need to be avoided when exporting for iOS regarding sample streaming, settings, etc.?

      1 Reply Last reply Reply Quote 1
      • ?
        A Former User @Christoph Hart
        last edited by A Former User

        @christoph-hart I actually think this is pretty darn cool! Honestly!

        The graphics performance is not that bad with this little instrument. I am drawing on a panel quite a bit... and it looks really good and interactivity is also good! The drawing of settings or preset panels with boxBlur and tiny bit of noise is a bit laggy. But not much... Could be optimized maybe on my part...

        Also, I wonder how the mouse callbacks relate to the touch gestures!! So is mouseUp working the same way as when i lift the finger from the screen f.e.?

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @A Former User
          last edited by Christoph Hart

          @ursbollhalder If you touch for longer than 1 second without moving your fingers more than 8 pixels, it will trigger the same callback as right clicking.

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

            Are there things that need to be avoided when exporting for iOS regarding sample streaming, settings, etc.?

            Are you using HLAC monoliths? I think I have deactivated using raw files on iOS (not sure why though)...

            Also I've rewritten the way how samples that are pitched extremely are handled after I've used iOS the last time so this might also break something.

            ? 2 Replies Last reply Reply Quote 0
            • ?
              A Former User @Christoph Hart
              last edited by

              @christoph-hart Yes. Monoliths… I think I couldn’t export it as Standalone from HISE otherwise, no?!

              And there is some pitch shifting going on yes, but nothing I’d categorise as extreme…

              I had the impression it always crashed when randomising stuff, which also loads random samples and then trying to play a note before the sample map is loaded. That is something I noticed on a macOS standalone export as well. The instrument will go silent and abort loading samplemaps when you try to play before the loading process is finished!

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

                @christoph-hart I am still on the iOS train here... Haven't given up yet!

                Since recently XCode throws me the following errors that are blocking my compilation.

                EDIT: It doesn't any sense at all! I was able to compile it with "no problems" (Well, it's iOS we're talking about... so...) and now I get the same errors as the others who tried to catch the iOS train... But I didn't change anything! 🤯

                Screenshot 2021-12-21 at 12.03.43.png

                Christoph HartC 1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @A Former User
                  last edited by

                  @ursbollhalder Yeah, those aren't defined in the JUCE OpenGL wrapper for some reason. I've fixed it by adding those to the JUCE definitions, but I have no idea whether this breaks something...

                  ? 1 Reply Last reply Reply Quote 1
                  • ?
                    A Former User @Christoph Hart
                    last edited by

                    @christoph-hart Ah wow... Thanks for the support here! Much appreciated! I'll give it a go... 🙏💪🚀

                    bthjB 1 Reply Last reply Reply Quote 0
                    • bthjB
                      bthj @A Former User
                      last edited by

                      Hi - I'm interested in catching the iOS train and might have enough tolerance for frustration. The experience @ursbollhalder describes above seems to give some hope. I wouldn't be doing complex interfaces, to begin with at least, so suboptimal graphics performance might not be a problem.

                      But I'm unsure how to start experimenting in space: With my HISE project open in Xcode, I only see a Mac run destination; no iPad/iPhone simulator or device destinations (even though a device is connected and shows up for other Xcode projects).

                      If I open Binaries/AutogeneratedProject.jucer in Projucer, from within my HISE project, I only see an option for a Xcode (macOS) exporter, while with HISE Standalone.jucer open in Projucer, for compiling HISE itself, I see an Xcode (iOS) exporter option.

                      Do you have any ideas on how to overcome this initial hurdle?

                      Screenshot 2022-03-01 at 18.30.47.png

                      Screenshot 2022-03-02 at 13.59.33.png

                      bthjB 1 Reply Last reply Reply Quote 1
                      • bthjB
                        bthj @bthj
                        last edited by bthj

                        Found an Internet Archive snapshot of the page at
                        http://hise.audio/manual/ios.php
                        which currently displays some error. There I found helpful information on the missing pieces:

                        • wasn't using the Xcode project generated at Binaries/Builds/iOS/
                        • needed to add the Apple Team Development ID in the HISE User Settings and an App Group ID in the Project Settings

                        Now the same basic project, which I've previously built as a desktop standalone and -plugin application, runs on an iOS simulator and an iPhone device, which is quite amazing.

                        1 Reply Last reply Reply Quote 1
                        • A aaronventure referenced this topic on
                        • First post
                          Last post

                        37

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.2k

                        Posts