I am not sure what is causing this, but sometimes when I open a project/preset I am not getting any MIDI input and when I check the settings the MIDI inputs have been turned off:
Whereas I am certain I have saved it like this:
I am not sure what is causing this, but sometimes when I open a project/preset I am not getting any MIDI input and when I check the settings the MIDI inputs have been turned off:
Whereas I am certain I have saved it like this:
@DabDab said in I'm having issues converting an SVG:
@ustk Thank you. Got the fundamentals. one last question. How can I do tracking circle?. Increase /decrease just like regular knobman things.
With
Content.createPath()
and
Path.addArc(var area, var fromRadians, var toRadians)
Multiply your arc endpoint (var toRadians) by obj.valueNormalized.
@Oli-Ullmann said in How can I make a slider with bipolar appearance?:
@VirtualVirgin
This is a shorter version!HiseSnippet 1148.3ocsVstaaaCElJIpnV6BVA5C.g+kbmqicbRiG5tj3j31fkjZTmULfffBZRZItPSJPQmDugBr2r8Js2fsCk7EkDuzTOTYXKe341GO7bgcMZJOMUaPdAmNNgi79R+diU138hIBE5v8QdX+TofwM3qD1XbeQhVRLXRRBmXHJJG0dbBIMkyPddq9JmVdkVCk872+TahLSlYKgPuSKn7iDCE14q1cmeVHkcHL9ohgEjdycNjpU6ok5Q.BW0uNJgPufDwOg3DaEezqIowHum42jy1nUKxVa1rIs020htMkzhSaze65aPFvZ1hy5y1bqMIHuGc.SX0ldVhkmBFsslMtWr9JUtCdmHUzWxcDMP8.OmuLZuXgj0cZ3JEg7Vq67f2p4Aum5erfIls97f32jw.OWihAMuUtOH03S.RdEfzZ4P5I98nFQhcNGGd9B+CUVtY.4Vme4xhVQul+dZPBks1PxE7NFfXlFgund8pX3mJuLH.NeRsXIY.9GvSUgZ3vN4HMkHORquXWEqCmKCmKdeqBhMpHdAkh318zCSzJfHr7LIJCZMinVJ2dGyB91YY3UMCORjBnryHE0JzpvxLC4piDJHWsWVVb4p3ASYFUEq6+aUB9ifRquN9UbKNWF7t.9CJcoKMG.HHSMBrxKCJ49.htOXzox1FRHiL5QJVPoHG9xyVCyekVyU0rqLIlLakHCmqphqWqQE.2k.sF.I+ukSsgjJK1IuiHGwwcI13m++54gBwwboTekCiaUIGR.ffLXlDPgNU3BeAEA9YjypeN9awgjy13b753MpTESNqw4UwMc+o44mmsUyrS9l46+Qb8GnIByW54EXUA+rrykKc1pRAW7YKvU7TI2pmxu19eDPiEVtCMQ0b4e6JEQJNyIe3ApHHarFSOBpnOU2yZDpnvYakp4a6p3xTnLvvYkucFQasA1XK1u8kPx3b+lmRAlrlqR8Cv2oo9Xs5Dsk+FUXV1evGBv2l0fAKjmqZ0nkRtYgrcsuM2mhgpQC6yMUw4mbSEDZWcydfO5g0Cjl27nffZ0gJg8MI7IzczRlq2l6+2siIZR2GWuyIHDD0l047qmz4LOUBIXt1lyZEgx1.EGrg9kC2mXISMEXUvSIbiU31Pd6yuDF7k2Ttj+97zKr5jLYmzzCL+CxwWOyo+IYmwyHvlcFlUgNs.sH1Fdiwx+kEREQdO1ehESsikYi9es1H9c.6DI5JAyBSV881wCgh4hnXqi5of9oPz1kL2VesalA5tCcfwcZ1HIwdyYftaGLggCeEG73Ftn.bOt3sG9DFLV+dGL9Pg3S76Jrz3EiwUV.FgC6OGXbx0I9J+CFL.JhmCv0767qK6cG9Ht+s5QVnWzwDnkDbt5exng8ftJTtKIQwkoti+UbkL4z0cztHPOthkQ7OvyDlMbzdSX1XJSzPB0neOMuPycgkGmsBfIU1E5J4eriF23tUWPts38T5MM0cTbikUwlKqhatrJt0xp3KVVE2dYUr0GWQ20a2cjUOLurAgNt6AYcC87NPQfLvrrUz+BXDm0EA
Oh this is great! Thank you!
Nevermind!
Once I closed and reopened the project from the new folder name it works.
That one should have been obvious to me.
Oh this is great!
I copied a panel with a bunch of components on it and they all copy in one go :)
@d-healey Thanks David :)
Yes, I expected that there was some redundancy in the if/else that I had to weed out and thought I would see it later on after some experience (how to rewrite).
So what you provided here does fix the broadcasters to work properly, but I just want to add a note that you broke some other functionality with your revision.
You seem to have to taken away the code to detect if the component was existing or not ( I think unintentionally altered),
which made the code only proceed through the create block every time at compilation which resets the size and position of the panels.
The original functionality was to be able to move and resize the panels freely after created.
Here is a snippet with a revision of your revision:
HiseSnippet 3891.3oc6a01baabDFz1LIjooiSmL8iYtxOApPQQPJYYE21XIYKWOw1QikhmNiiZli.GIQDHNV.PIw3wSa+Xmo+AZ+U1+As6du.bfDjhhVNuMlIiLwc6s29xys6dGNxtHgE5w7913P+QiXIVVkt4gQbWVbLOxpT0imLhYU5WU9nIgIC1e.0Oz5wOvpTsxGPcS3QSHCYIC3djd7HRW+Q7.ZD4zPd2Xq8lLhFGy7rJU5lOBGWoJ2xR74+9E6QCngtrrlrrdA22k8D+g9IYsd38+R+ffCndri8GZP8l2+wt7v84A7wfLdyxsrFQcOk1m8LJR1MJa8mnwCrJsVYW2M2gc2ds2tU6cXa4sY21NsnsasyNayna0xs6NLZ6dccaYU58dnmOnPGkPSXwVkt0dbuIGMfednbBdgere2.F9fi0QvLKa9.dfGphXqV6OvOvK03EClxaYXJuozT9IkepumeZ6YlzaK5fjMBSCXoajW7tYNwywT7ZYHdEHRkLDoaIEoOt7QtQ9iRx5AkmOr7iCSXQ8nfexTTjzZci+Y0x6yAJBSZNjdJ6fH3gzQXemVsZPf+T+dUq5G5FL1iYW6I6dPyuKtF11FaPzHHSXCPafeHizabnahOOj3Fw.MdOIIeIPgcH3iaPtnAYRCxP+P3OzKpW8UUpVA3o6.l6oD+dDW9vQ7PP3Hz.fEdSHrK7iShqVIf6RCHtj+.QK98YI6qIWvdxmQpYLkn.WA3OvV6eme7CX8.Qzy1sdcBLk6FGOFFRHLbBuGIY.KaxiICnmwHcYrPhmbXUq7JfYingr.CQf54cH1T5zKdplTOESOZcxOfTqwzhqwnRXWjjeTOg10XZNF5Wzh4ff+GzqXVBQJlzX3KQv3UhQSnK6ZxlRMb.CDTiVyG6YWOc5Wdp01EbDGxi8Q.fszQ6fvIGAbpREjxWWsh1UNssrP2ozdhCWNnoLmKEDPNxoLoENxLyJNtpjpZCpXZOiFLlQR3JIGYX0LM2tF1.XfDlZf8u.IWYhHRV4EQOWyFTbfEJhw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aftwToP1Z6SVWSVir9.2U62TnykO614l94D39JKUEErP7aZ3k1pf.W5LJHWtFpsA8nLK5Jyhk6QyHGhegI9ggL0YXvjRhr60VB24hEcPx2FuH8WhFjczwSoHpwOkBrvVAsasMpn94CI0xKI3uh.4Q.ptjc34+0Js2hN7Ogtra7why.LUw485ArZs7ZwbU+VMHY9nT2yTGjnL.DY4h+HuD4KLJzgS86nZQ2kjBlxyvaXrawA7z8sRg6lhwfBmmcu8i00dgw5ZaFqSnshZNTE2Q6FaWbtPm5uIAGw4c1PRlK0S6PF+ZcCbT6qi7pEENtyISEuwPHj4ZyEuztEtzXVqScPFa8lDpz7sRMcLPAE1SIqnzHDhkIDor5E.eBv3Xd.q4nHeLFw47nS8C6qOlexB2EsN0sbUhp0UZAxzbLGulypim.6UPSxbWc.7+QrDhRn1EDk4rjQkzPT0sh58ntm1W7i7ad+BASeWAstnkSm65rSiz2vXJvCOUeZ84LEx8pgElu9azmKU.0sLAxBxOGEysqajq7ohK6MQeauA+xZlxeZk95hQUUe1fzQtjQ.pv2qklgRE62+GIspVY43jsNOSVWh0WEE4AqOecm50Ml72hVVS+ljsGK9sNtjlbwuizFouN7B90jp98v4wG2MfcL+nDXsX+LEGCj.Z5z4NMEq83Qh0MEJRcC.frwTKgjo+DOm2YkI9gn2keAKMOnnk83WrbKt0TeMe2HTpcWbwIt1jD+WGCccoti4dYEx+tSmYYqZ5DF3hmqhinaZoUYXE66pZVwaRC5PZzoXHZ72lepOG2p5qzaMsv6lyBuhBNEeCE1t3Knv1qzET.+Ar+Zk9LC3wimjC5.Ouz.GIsuC1T.rA2VCOg71.xLmay0cJFxbGEjYw0dsRXJ0oR7ZqrqkdH6hC7CX3uGh+Ofe3Bl3
@d-healey said in Trying to make a factory method but getting an error:
@VirtualVirgin Actually in your situation you should get rid of the second broadcaster and attach the refresh listener to the first broadcaster - you don't need a separate broadcaster for each listener.
Thanks! That got it working.
@d-healey Oh, there we go!
Thanks, this is all pretty new to me (coding)!
@d-healey
Thanks! I got it working from your snippet.
The preset browser now resizes nicely if I change the interface size.
@Morphoice said in Can a label be clickable?:
@ustk said in Can a label be clickable?:
Phewww.... We had a close shave!
https://www.totalphase.com/support/articles/200349376-multiple-application-instances-on-mac-os-x/?srsltid=AfmBOoqArvsq9Evjguf3dQ4sTrVAUeIOfEVHNXRSzDGsKDhfIKEX3GHpI knew there was an option somewhere :) Superior OS :-p
There is an easier method of running multiple instances of an application in macOS:
Make a copy of your application in the app folder, then open it.
I keep shortcuts for the two HISE apps on my desktop:
@aaronventure said in To register local look and feel for panels, do I use "drawPanel"?:
@VirtualVirgin no, just use .setPaintRoutine
The methods are all the same but you don't get an obj, instead you can refer to the panel with
this
Thanks. I was using a paint routine to prototype, but I'm trying to get the benefit of LAF to be able to assign the function to many panels.
I tried this:
// Local LAF for diagonal text labels
const diagonalText = Content.createLocalLookAndFeel();
diagonalText.setPaintRoutine(function(g)
{
(paint routine stuff)
});
... but the console tells me:
"function not found"
Is there a way to word it or set it up to use as an LAF or like an LAF?
I don't see a list anywhere of the inputs available for "function name".
ScriptLookAndFeel.registerFunction(var functionName, var function)
Do I use "drawPanel" when making custom look and feel for a panel?
@d-healey Right, I see. What is it meant for then?
@d-healey If I set the default value to "1" and recompile I would expect the button to be on.
Is that not what it is meant to do?
@d-healey I can confirm that the default value for buttons is not working here either.
Every time I unfold a parent it unfolds all the children too and seems very messy to me.
I would just like it to unfold at the one level and keep it tidy. Is there a setting somewhere for this?
@ulrik said in I am trying to get the position of the component that is being hovered over by the mouse to no avail:
@VirtualVirgin it's Content.getComponent("ScriptLabel1"), you forgot the "Content"
Sorry, I was trying to use the function you provided:
// get the component object
inline function getComponent(componentId)
{
for (c in AllComponents)
if (c.get("id") == componentId)
{
return c;
break;
}
}
@ulrik
I tried that out earlier but I just keep getting errors from it:
If I put a string in I get an object back?
@ulrik said in I am trying to get the position of the component that is being hovered over by the mouse to no avail:
@VirtualVirgin you could also do like this, it also takes care of components inside other components inside other...etc
It's also based on the broadca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6Y.x2wmCHNg.42ZnNT+bJuGZa+9O7flI7fneHiede4JTKMDZU9aQsQ0m0F8EIDQMSafyo2AP+W6aCOyg01GvHLzrkvdosXbujx2iihiIQUhK02Ve0w8uxPsensVATeIgAQw7a6FAyu4UqR73Ji4OvOLYF.KpMEvapUpdSLq7GtzLnVW4nisz3P6cBLTmPFfNVEEGnE+Q+ZTw0hk4EVsjwsipSPcgnClQmnyoSzvjw6YzBtM.zIpqURF3UKjnTTvTZoFXq4.i0kXf2NzX96hGRv+wi7cVcjOegiu3RPdoPj+gIFLGYHz2Shg1qPyaKJ3t9O9RH63GbeaYvMT5MPg98x3l1ppJv8.E9BKQBfIw1F6trH5E1B4B5JHrthgtELdpRnFEfnaYnDbBUzVwtGWPnvbGukPnP8J8wim11W.jdGCovQsgsLACxUtWzEzHvbGVTgLG.eZzFUB1qD.0UnE0EE3M4Rgya9jP37tFJYJd24w.zMWbFbzq4unBge2eeFX71+Qk3gNZy+NnuqwILqg1Xd7WIt3CG3u.zRWr2Cs3cMCYw7IQu1w+2dO4qJDumQSJ2rWxXbsDvHzj+OEXz+qK7dFG1oCzUWH.W23nW7SymRPS85c5dBl6RE4fOcX+SYCcMIvt6.AHh2Jg9ZhaioFWXZd5oDGK4fe.9yewhhw59KVb5hZ8wltruzTccNw2u31xY.L4H+VOoLNQLFkv8E6SsneooYbQMGiaccYb6qKikttLty0kwcutLV95x3dWNihu10AC4r9pzFMsSZdn7Vv55G5HNPQFsp8+fXth6L
Thank you:)
I am trying to integrate this with the solution from David Healey's tooltips video.
I have a question on how to access now the position data to position my tooltips panel.
I see this is where you write the tooltips data with the tooltip and the position:
if (isDefined(comp))
{
TooltipPanel.data.tooltip = comp.get("tooltip") + " || pos: "+ trace(getPositionOfComponent(comp));
And then you write it out with aligned text in the paint routine:
if (isDefined(this.data.tooltip))
g.drawAlignedText(this.data.tooltip, this.getLocalBounds(0), "centred");
But how do I access the position data itself?