HISE Logo Forum
    • Categories
    • Register
    • Login

    Apple M1 or monterey = freeze

    Scheduled Pinned Locked Moved General Questions
    25 Posts 4 Posters 2.3k 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.
    • B
      BWSounds @d.healey
      last edited by

      @d-healey
      I was going to mess with

      Synth.deferCallbacks(true);
      

      maybe that can cause issues?
      I have it in my oninit and all my deferred scripts but set to false

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

        @BWSounds I have one new plugin that behaves just like that, my first plugin containing script FX scriptnode.
        I am also investigating why this is happening but I haven't found yet what's causing it :(

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

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

          @ulrik I'm running Catalina on an old mac from 2012

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

          1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @BWSounds
            last edited by

            @BWSounds said in Apple M1 or monterey = freeze:

            @d-healey
            I was going to mess with

            Synth.deferCallbacks(true);
            

            maybe that can cause issues?
            I have it in my oninit and all my deferred scripts but set to false

            Does your plugin pass AUVal?

            HISE Development for hire.
            www.channelrobot.com

            B 1 Reply Last reply Reply Quote 0
            • B
              BWSounds @Lindon
              last edited by

              @Lindon
              yes

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

                @ulrik
                im on the same system. hard to test with out the M1 but I know someone with it and i'll test/try everything I can thing of and let him test it out.

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

                  I have it in my oninit and all my deferred scripts but set to false

                  What do you mean by "all my deferred scripts"?

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    BWSounds @d.healey
                    last edited by

                    @d-healey
                    Scripts I and via oninit with Include();

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

                      @BWSounds

                      Ah I see.

                      Internally HISE treats included files as if they are just another part of the MIDI processor, so you can think of it as all being a single script spread over multiple files. There is no need to use Synth.deferCallbacks() in those other files.

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        BWSounds @d.healey
                        last edited by BWSounds

                        So I removes the

                        Synth.deferCallbacks();
                        

                        from the deferred scripts and the plugin loaded up and worked fine until
                        3 instances of the plugin was added, im going to remove the

                        Synth.deferCallbacks();
                        

                        from the oninit tomorrow and test...

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

                          @BWSounds I don't think this is the cause of your issues, generally you want your interface script to be deferred

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          1 Reply Last reply Reply Quote 0
                          • B
                            BWSounds
                            last edited by BWSounds

                            Ok so after testing everything this snippet is what causes logic x to crash.
                            I did all my lfos like this(7) and once I remove the 7 lfo scripting my plugin works fine in logic x..

                            so could anyone help me out with this one, or test it on their logic?.. im confused.

                            HiseSnippet 2879.3oc6brzaaiblL1LIRMZytaSQauMMnGT.RiEkjeDDTr1VVN1H1xZsTx1fBjszjirlFJRURJm3ZDf8GPO2y8mPOzC81t+jx+f1Y3ygjyPR8vtoAhdyZwY9dOeuFpgtqkoJz11zRPrT+KGCEDumTuKMbF1ZnBxP3v8DD+YRNvQiANPaGgcubrhsMTSPTbkmS.PrzpBtWe7a1UQWwPEFMjfvqLQpviPiPNQi1c6Wfz02WQC1GMhB5laenpoQKScyIXgYEoZBiUTeqx4vNJDvtkjf3saqgbLs54nfEFAwU20T6xdCMemgG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TOboOUHVXMLf51jdfuEojm280H2SDndPCM2a9O3K+IkI2K5OobvjEMN4dRd0+HVkOwCowco3VQ9+kh5M7J2c472Xh6492o.7cjGS4MZiYyXaN4jYRZYmMK2az+2t2n5K2azx8FsbuQK2azx8F849din9hRVt2nk6MZ4ditgW49bgGiTTsL+dUuS4FIP8ttifssFt+46qjzwj6AgmMNIoZOolvHbeKeupJIq3uCuFvFm5y.NMlAbZNC3r9LfyFy.NaNC3rUl3PZYbmINli7xNhGnaa2CXnnnWC4tgaB+WXFQwIJ
                            
                            d.healeyD 1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey @BWSounds
                              last edited by

                              @BWSounds I have to go out now so only got chance to have a quick look at it. Nothing immediately stands out as being problematic but I'll take a closer look later. I did see that you could simplify your control callback though.

                              inline function onPHASERsyncPOWERControl(component, value)
                              {
                              	SYNCindicatorLIGHT.setValue(value);
                              	SYNCindicatorLIGHT.showControl(value);  
                              	
                              	LFOsynthphaser.setBypassed(!value);
                              	LFOsoundphaser.setBypassed(!value);
                              	
                              	PHASERsoundPOWER.setValue(value);
                              	PHASERsynthPOWER.setValue(value);  
                              	
                              	SYNCindicatorLIGHT.changed();
                              	PHASERsoundPOWER.changed();										  
                              	PHASERsynthPOWER.changed();
                              };
                              

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

                              B 1 Reply Last reply Reply Quote 1
                              • B
                                BWSounds @d.healey
                                last edited by BWSounds

                                @d-healey
                                thank you. anything helps!
                                I've been trying to simplify that part all morning, I'll keep at it.

                                EDIT: Ahh, I see what you did!

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

                                  I'm not seeing anything there that I would call problematic. There is a lot of repetition in your code that could be reduced but I don't think this would make a difference to the crashing issue.

                                  Free HISE Bootcamp Full Course for beginners.
                                  YouTube Channel - Public HISE tutorials
                                  My Patreon - HISE tutorials

                                  B 2 Replies Last reply Reply Quote 0
                                  • B
                                    BWSounds @d.healey
                                    last edited by

                                    @d-healey
                                    Yea it’s been driving me crazy but every time I take that part of the script out , my plugin works in logic.

                                    I’ll compile with the simplified coding you provided…

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      BWSounds @d.healey
                                      last edited by

                                      @d-healey
                                      your simplified coding was what I needed, I compiled and it loaded up and worked perfectly.

                                      Thank you

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

                                      27

                                      Online

                                      2.0k

                                      Users

                                      12.7k

                                      Topics

                                      110.0k

                                      Posts