HISE Logo Forum
    • Categories
    • Register
    • Login

    Custom workspace = slow HISE

    Scheduled Pinned Locked Moved General Questions
    51 Posts 3 Posters 2.9k 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.
    • d.healeyD
      d.healey
      last edited by

      I'm using a custom workspace (JSON below) and it's causing HISE to take about 2.5x longer to open and to compile scripts. Usually HISE takes about 3 seconds to open but with this custom workspace it takes about 8.

      {
        "Type": "HorizontalTile",
        "Title": "Custom Workspace",
        "StyleData": {
        },
        "Font": "",
        "FontSize": 14.0,
        "LayoutData": {
          "ID": "CustomWorkspace",
          "Size": -0.5,
          "Folded": -1,
          "Visible": true,
          "ForceFoldButton": 0,
          "MinSize": -1
        },
        "ColourData": {
        },
        "Content": [
          {
            "Type": "VerticalTile",
            "StyleData": {
            },
            "Font": "",
            "FontSize": 14.0,
            "LayoutData": {
              "ID": "anonymous",
              "Size": -0.8338533541341654,
              "Folded": -1,
              "Visible": true,
              "ForceFoldButton": 0,
              "MinSize": -1
            },
            "ColourData": {
            },
            "Content": [
              {
                "Type": "HorizontalTile",
                "StyleData": {
                },
                "Font": "",
                "FontSize": 14.0,
                "LayoutData": {
                  "ID": "anonymous",
                  "Size": -0.4464843750000001,
                  "Folded": -1,
                  "Visible": true,
                  "ForceFoldButton": 0,
                  "MinSize": -1
                },
                "ColourData": {
                },
                "Content": [
                  {
                    "Type": "GlobalConnectorScriptProcessor",
                    "StyleData": {
                    },
                    "Font": "",
                    "FontSize": 14.0,
                    "LayoutData": {
                      "ID": "anonymous",
                      "Size": 18.0,
                      "Folded": 0,
                      "Visible": true,
                      "ForceFoldButton": 0,
                      "MinSize": -1
                    },
                    "ColourData": {
                    },
                    "ProcessorId": "",
                    "Index": -1
                  },
                  {
                    "Type": "Tabs",
                    "StyleData": {
                    },
                    "Font": "",
                    "FontSize": 14.0,
                    "LayoutData": {
                      "ID": "anonymous",
                      "Size": -0.8995405226837091,
                      "Folded": -1,
                      "Visible": true,
                      "ForceFoldButton": 0,
                      "MinSize": -1
                    },
                    "ColourData": {
                    },
                    "Content": [
                      {
                        "Type": "ScriptEditor",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "ProcessorId": "",
                        "Index": -1
                      },
                      {
                        "Type": "ScriptEditor",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "ProcessorId": "",
                        "Index": -1
                      },
                      {
                        "Type": "ScriptEditor",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "ProcessorId": "",
                        "Index": -1
                      },
                      {
                        "Type": "ScriptEditor",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "ProcessorId": "",
                        "Index": -1
                      },
                      {
                        "Type": "ScriptEditor",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "ProcessorId": "",
                        "Index": -1
                      }
                    ],
                    "CurrentTab": 2
                  },
                  {
                    "Type": "VerticalTile",
                    "StyleData": {
                    },
                    "Font": "",
                    "FontSize": 14.0,
                    "LayoutData": {
                      "ID": "anonymous",
                      "Size": -0.3307332293291732,
                      "Folded": -1,
                      "Visible": true,
                      "ForceFoldButton": 0,
                      "MinSize": -1
                    },
                    "ColourData": {
                    },
                    "Content": [
                      {
                        "Type": "ApiCollection",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.227874276261373,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        }
                      },
                      {
                        "Type": "Tabs",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.772125723738627,
                          "Folded": -1,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "Content": [
                          {
                            "Type": "Console",
                            "StyleData": {
                            },
                            "Font": "",
                            "FontSize": 14.0,
                            "LayoutData": {
                              "ID": "anonymous",
                              "Size": -0.5,
                              "Folded": 0,
                              "Visible": true,
                              "ForceFoldButton": 0,
                              "MinSize": -1
                            },
                            "ColourData": {
                            }
                          }
                        ],
                        "CurrentTab": 0
                      }
                    ]
                  }
                ]
              },
              {
                "Type": "HorizontalTile",
                "StyleData": {
                },
                "Font": "",
                "FontSize": 14.0,
                "LayoutData": {
                  "ID": "anonymous",
                  "Size": -0.5535156250000001,
                  "Folded": -1,
                  "Visible": true,
                  "ForceFoldButton": 0,
                  "MinSize": -1
                },
                "ColourData": {
                },
                "Content": [
                  {
                    "Type": "GlobalConnectorScriptProcessor",
                    "StyleData": {
                    },
                    "Font": "",
                    "FontSize": 14.0,
                    "LayoutData": {
                      "ID": "anonymous",
                      "Size": 18.0,
                      "Folded": 0,
                      "Visible": true,
                      "ForceFoldButton": 0,
                      "MinSize": -1
                    },
                    "ColourData": {
                    },
                    "ProcessorId": "",
                    "Index": -1
                  },
                  {
                    "Type": "Tabs",
                    "StyleData": {
                    },
                    "Font": "",
                    "FontSize": 14.0,
                    "LayoutData": {
                      "ID": "anonymous",
                      "Size": -0.4868675906376901,
                      "Folded": -1,
                      "Visible": true,
                      "ForceFoldButton": 0,
                      "MinSize": -1
                    },
                    "ColourData": {
                    },
                    "Content": [
                      {
                        "Type": "ScriptEditor",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "ProcessorId": "",
                        "Index": -1
                      },
                      {
                        "Type": "VerticalTile",
                        "Title": "Interface Designer",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": -1,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "Content": [
                          {
                            "Type": "VisibilityToggleBar",
                            "StyleData": {
                            },
                            "Font": "",
                            "FontSize": 14.0,
                            "LayoutData": {
                              "ID": "anonymous",
                              "Size": 32.0,
                              "Folded": 0,
                              "Visible": true,
                              "ForceFoldButton": 0,
                              "MinSize": -1
                            },
                            "ColourData": {
                            },
                            "IconIds": [],
                            "Alignment": 36
                          },
                          {
                            "Type": "ScriptComponentList",
                            "StyleData": {
                            },
                            "Font": "",
                            "FontSize": 14.0,
                            "LayoutData": {
                              "ID": "anonymous",
                              "Size": -0.2000753732976092,
                              "Folded": 0,
                              "Visible": true,
                              "ForceFoldButton": 0,
                              "MinSize": -1
                            },
                            "ColourData": {
                            },
                            "ProcessorId": "",
                            "Index": -1
                          },
                          {
                            "Type": "HorizontalTile",
                            "StyleData": {
                            },
                            "Font": "",
                            "FontSize": 14.0,
                            "LayoutData": {
                              "ID": "anonymous",
                              "Size": -0.9857296201351867,
                              "Folded": -1,
                              "Visible": true,
                              "ForceFoldButton": 0,
                              "MinSize": -1
                            },
                            "ColourData": {
                            },
                            "Content": [
                              {
                                "Type": "ScriptContent",
                                "StyleData": {
                                },
                                "Font": "",
                                "FontSize": 14.0,
                                "LayoutData": {
                                  "ID": "anonymous",
                                  "Size": -0.5,
                                  "Folded": 0,
                                  "Visible": true,
                                  "ForceFoldButton": 0,
                                  "MinSize": -1
                                },
                                "ColourData": {
                                },
                                "ProcessorId": "",
                                "Index": -1
                              }
                            ]
                          },
                          {
                            "Type": "InterfacePropertyEditor",
                            "StyleData": {
                            },
                            "Font": "",
                            "FontSize": 14.0,
                            "LayoutData": {
                              "ID": "anonymous",
                              "Size": -0.3141950065672037,
                              "Folded": 0,
                              "Visible": true,
                              "ForceFoldButton": 0,
                              "MinSize": -1
                            },
                            "ColourData": {
                            },
                            "ProcessorId": "",
                            "Index": -1
                          }
                        ]
                      },
                      {
                        "Type": "ServerController",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "ProcessorId": "",
                        "Index": -1
                      }
                    ],
                    "CurrentTab": 1
                  },
                  {
                    "Type": "HorizontalTile",
                    "StyleData": {
                    },
                    "Font": "",
                    "FontSize": 14.0,
                    "LayoutData": {
                      "ID": "anonymous",
                      "Size": -0.2371109064573622,
                      "Folded": -1,
                      "Visible": true,
                      "ForceFoldButton": 0,
                      "MinSize": -1
                    },
                    "ColourData": {
                    },
                    "Content": [
                      {
                        "Type": "GlobalConnectorScriptProcessor",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": 18.0,
                          "Folded": 0,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "ProcessorId": "",
                        "Index": -1
                      },
                      {
                        "Type": "Tabs",
                        "StyleData": {
                        },
                        "Font": "",
                        "FontSize": 14.0,
                        "LayoutData": {
                          "ID": "anonymous",
                          "Size": -0.5,
                          "Folded": -1,
                          "Visible": true,
                          "ForceFoldButton": 0,
                          "MinSize": -1
                        },
                        "ColourData": {
                        },
                        "Content": [
                          {
                            "Type": "ScriptEditor",
                            "StyleData": {
                            },
                            "Font": "",
                            "FontSize": 14.0,
                            "LayoutData": {
                              "ID": "anonymous",
                              "Size": -0.5,
                              "Folded": 0,
                              "Visible": true,
                              "ForceFoldButton": 0,
                              "MinSize": -1
                            },
                            "ColourData": {
                            },
                            "ProcessorId": "",
                            "Index": -1
                          },
                          {
                            "Type": "ScriptEditor",
                            "StyleData": {
                            },
                            "Font": "",
                            "FontSize": 14.0,
                            "LayoutData": {
                              "ID": "anonymous",
                              "Size": -0.5,
                              "Folded": 0,
                              "Visible": true,
                              "ForceFoldButton": 0,
                              "MinSize": -1
                            },
                            "ColourData": {
                            },
                            "ProcessorId": "",
                            "Index": -1
                          },
                          {
                            "Type": "ScriptEditor",
                            "StyleData": {
                            },
                            "Font": "",
                            "FontSize": 14.0,
                            "LayoutData": {
                              "ID": "anonymous",
                              "Size": -0.5,
                              "Folded": 0,
                              "Visible": true,
                              "ForceFoldButton": 0,
                              "MinSize": -1
                            },
                            "ColourData": {
                            },
                            "ProcessorId": "",
                            "Index": -1
                          }
                        ],
                        "CurrentTab": 1
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
      

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

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

        Any idea why the custom workspace would slow down HISE?

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

        Dan KorneffD 1 Reply Last reply Reply Quote 1
        • Dan KorneffD
          Dan Korneff @d.healey
          last edited by

          @d-healey if you tell me how to load this into my rig, I'll give it a go and see what happens.

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            Thanks!

            Probably the quickest way is to just load my entire editorData.json file. This goes in hise's config folder, make sure you backup/rename yours before you put mine in there though.

            editorData.json.zip

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

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

              your custom workspace json just makes HISE crash over here.

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                @dustbro How did you load it?

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

                Dan KorneffD 1 Reply Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff @d.healey
                  last edited by

                  @d-healey I take that back... Accidentally deleted the config instead of replacing

                  I dropped it into AppData/HISE on my pc and HISE appears to be working properly. I don't notice any sluggishness.

                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                    Did HISE load up at normal speed? That's where I'm noticing the most slowness.

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

                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @d.healey
                      last edited by

                      @d-healey I didn't notice a difference.

                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                        @dustbro Hmm, must be something else with my config then. Thanks for testing it, enjoy your new custom workspace :p

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

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

                          Do you have any markdown panels in your layout? Because they will initiate a "hidden" HISE instance for the dynamic help things.

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

                            @Christoph-Hart I don't have one in the custom workspace but I do have a markdown editor tab in the scripting workspace. I've just removed this and relaunched HISE and the slow startup issue was still there.

                            I tested renaming my editorData.json and HISE opened up (with default layout) and normal speed.

                            Unrelated, but I also noticed that load JSON is greyed out when you right click on the top level of the custom workspace

                            7df87d46-1779-4f2d-8c48-a68f25a773b7-image.png

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

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

                              Has the current project a lot of sample maps / midi files? They are initialised on startup so it might be the reason if you are working on a big project (Percx as about 1200 samplemaps and Midifiles so it takes 3-5 seconds if I start HISE with the percx project).

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

                                New empty project here, 8 - 10 seconds to open. Maybe a GNU/Linux only issue?

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

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

                                  I just tested on Windows and no problem there so I think it's specific to my OS and possibly to my general setup. I'll try on my other GNU/Linux system.

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

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

                                    Definitely seems to be OS specific, I just tested on Linux Mint and had the same issue as my main Debian system.

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

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

                                      Just tested on MacOS, works fine...

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

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

                                        Try compiling the plugin version of HISE and then load it in a DAW and close reopen the window. If the lag is also happening there you know it's something related to the UI.

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

                                          @Christoph-Hart Good thinking, I'll do that now

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

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

                                            The plugin version doesn't seem to read from the same editorData file as the standalone version. Each time I open it it's reset to the default layout, even if I make changes to the layout in the plugin.

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

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

                                            45

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.1k

                                            Posts