@orange A different approach, Thank you!

Posts
-
RE: Basic PaintRoutine question
-
RE: Basic PaintRoutine question
@d-healey said in Basic PaintRoutine question:
@Fortune A panel can only have a single paint routine. You need to put your loop within the paint routine instead of trying to create a paint routine for each name.
I wanted to use loop to create separate text for each of the 7 panels in a single loop.
If I have to write to each of them separately, then there is no need for loop, right?
Or was it something else you meant?
-
Basic PaintRoutine question
Just trying to print the names I have stored in an array to the panels.
I keep getting
undefined parameters
.What's the catch?
HiseSnippet 1034.3ocsV0uaaaCDmxIJq1acXEXO.B5ujWMLjbhsSQZ2ri+XyXKoB0YAEHnnkVhxhKxjdRzIwan.6QYOIC6QYOB6MX6HkcjxRbZigm.Dft63ue7z8AO5Fy8HII7XjVoSlOkfz9L8gyYhvNgXJCMnKR6y0OBmHHwFopNb9TbRBwGoos02JUnUbaj54u+lCwQXlGISEBcJm5Q9A5DpHSqaqumFE0G6SNgNI2p2q0.ONqCOhOC7mszsQSwdmiGSNFKWVAcz2gSBQZekdC+.bC+l0scH6tueyZNMq+r8Z1v1NveemliZNZWrOtQSaj1N87oBd7PAVPR.ROj6OeXH+RV5FbJMgNJhHEbPCgcNUMpSHMx2cYvIAgz11MKTsUZn5K0Oh5SuVeVH6KTFLxPjOnoU39bImGfKokyk1N0kdh9PuX5TQlEo+7o5CXPFL.C4l7tR5ZQE9iB5c3vJXhpSvmS5GCBWivplscEi511kOnj7ARQIBCWVzuX7BikvFSDsih5vmLky.4DKSWLiDYJwjBn+qkYQIlyL6DximkXVoTQ0ioaHNgXVwXobWZBDfDTNKmRI4wp+obJeE4BR7n7PIQ344j68yluQ52A7XCKJr61GXPMdtx+qFQXiEgfhm9zxk9U.RohR8mQeS0DhvERmhWwmInLhUvLlmzgrFWtTQ4Rg0Vbb0.nPF9wsRKZSpdIUD1NZZH1RDRSjgEKSA4JQpcyxULrq5TFhJJ7JJfcJ05ChjmkRhBdeHIXY1Nlhif+bmZkOvHkZ+X7ksiniYD+S.7VKxAv+WEiyrkKEdkY2Z0AMldPlKl3apXFX38xOjt46UI9kg.CN6Xtf7RlkJnAVM9ulBBtSaxpkXdTDI9NMKOMH99.ZwlMYDIthwE3nYjqWHT8eyVpc93Zo7RKdysPNa.iJd4TxB497HeYqh76a2.hVT8Ce8iC5hEXYO4Bcv5lRfRXo6n0kbAbJXZGZQ8tjjyE7oHsO459EjltPY8wK6ekcOHJr0ORW8sC5prCJGzZdlvW2Jq1.zty+.OJCO.1qsJ1+sS2.ru6pX+OGsAXeuUwdqeZCvd8Uw9eMcCvdiUw9uK1.r2bUr+tqVE62dhBLKi6OKBKt4.N4n+EFfVzaLUQN4fkPEyye0fGvTO66cp2GqK9DcWpvK7t8wB2gOBMu+e3iKtqvi06EDP7DYN3158e85dwfOv1mNzZ7QXQLEJAzOd1jgPl1i.6NCJL.x00JHKlRkskxxHvPByWIHKHVXzQJqsvnyRinIXuX9a8ROXVdajGoz.9DScashv0FAYCGj5v57w4Ivkidqm2Mo5V.qst.2ccAt25Br95Brw5Br45Bb+OLP4cWaOSvmj11fPG41SMcSSqGCCUfppUz+1CwMsB
const Pnlz = Content.getAllComponents("Panel"); const FXNamez = ["Chorus", "Phase", "Distortion", "Compressor", "Reverb", "Delay", "Eq"]; for (i = 0; i < Pnlz.length; i++) { Pnlz[i].setPaintRoutine(function(g) { g.fillAll(Colours.withAlpha(this.get("textColour"), 0.1)); g.setColour(Colours.withAlpha(this.get("textColour"), 0.9)); g.setFont("Arial", 12); g.drawAlignedText(FXNamez[i], [0, 12, 100, 25], "centred"); }); }
-
RE: Using 2 and multiple channels together in the Effect Slot
One more friendly nudge @Christoph-Hart
Hardcoded is not working properly on multiple channels Effect Slot. Please fix it.
-
RE: Space in the project name - Can't compile the custom node
@Christoph-Hart Yes it works again, thank you for this quick one!
The new export UI looks great by the way.
-
RE: Space in the project name - Can't compile the custom node
@Christoph-Hart on macOS.
I haven't tried Windows yet.
Also VS version mismatch window pops up in macOS too.
-
Space in the project name - Can't compile the custom node
There is a space in the project file name. While we could compile custom nodes before, we cannot compile them now.
The current commit.
-
RE: Neural Amp Modeler (NAM) in HISE
@aaronventure said in Neural Amp Modeler (NAM) in HISE:
@Ben-Catman we're all holding our breath until January.
What will happen in January?
-
RE: Using 2 and multiple channels together in the Effect Slot
@Christoph-Hart I'm also experiencing this multi-channel problem in the Hardcoded Fx.
Are there any plans to fix it? -
RE: Things I've Learned about ML Audio Modelling
@ccbl Is it possible to share a simplified project that works please? The models cannot being compiled here. It would be so useful for starters.
-
RE: Error in building plugin: no member named 'prepare' in 'scriptnode::conversion_logic::midi2freq'
@Christoph-Hart Is these bugs fixed?
...\hi_dsp_library\dsp_nodes\CableNodes.h(1192,14): error C2039: 'prepare' is not a member of 'scriptnode::conversion_logic::db2gain'
-
RE: Using LUT on SNEX
@Christoph-Hart Can we ask you for a proper working example snippet for the use of lut in snex, which is asked in this topic?
-
RE: CSS Discussion
@Christoph-Hart CSS is a game changer addition, thank you for this. :party_popper:
But I can say that some css functions do not work properly in HISE, for now I noticed that
box-shadow
does not work exactly the same.Neumorphism/Soft UI CSS shadow generator
CSS code generator that will help with colors, gradients and shadows to adapt neumorphism or discover its posibilities.
(neumorphism.io)
HiseSnippet 1000.3ocsV0taaaCEkxwpXVcEXEXO.BIXCNCwER1tw4CLLW6DmZrjTip1h8uVZQJKhPQJPQkXug8m8jrGk8trWf8F3QJYaIm3rMXrZAHHdt2K44d4gW5QBtONIgK.FVuaVLFX7kldyXxv9gPBCL7LfQMyDJR3mj.5MKFljfQ.CictPa1nVUP1u+5G5AoPlOt.B.9.m3iujDQjEni59iDJc.DgeGIpj2s6Nzmy5yo7TEU1wzADC8uANAeMT6VESvqgIg.iuyzosaPvwcfc7wMai5bXyNXzXbyfVA9G0AgZE3FfZd7QuDX7jyQDIW3IgRbBvnZONZlWH+NV9B7ARBYLEqG3B7TqbN7.NEoSQMJneHghFsrFk.TyxnhJ1N4Uru17JBhrBunx8UYFrKhnbAznx5zam0nmaY54ThdafRFknT0bJ8bSOeAIVVXQymmZNjIwh.nZepLUx8ET4OML6yUdvjuHBdCdfPMXUD0Ozw4.a0q8O0xRsWkHsuEJrov.6u2dYX9BrJatj6CoWx427JFZ.FSqqCQ43KRvp4iRXXO4LJ1KDik020xBQt05WrpEAESHrSra57MmZUaLWfvhFBHhjlbh8wtwS0nJUwDAOkgNwduVN5mLem1HIDh32chscC2VwSsyd07P0q8baoeNvplc4eYNznjasQ5mSs9UKKqc0LdYRMAK6yih4L0f565oNLzn2E6tuNadPlpxRcnVAoLeIgyr4rq4R7aX02WmhpI299lBB1nM8pK3TJVrQy5iOh+o.qyRiFiEGn1kno3UNpjHqq6LebcW4iE94EiRNxYCYD4ahwrG6vBXQET806GdFTB0h0EXJ+hwBIQSAiyv2pZUjKcqYdFN4FIOVcpeUYW0cRlY8YKE1PFlBHJ4aUydW.lVtuyrxCtifjgq.9ieqaHlLITVFIWo4Q9405dki91L4WYbhDGsrOUsm333LeczlkgAkxfm9XYPMyEZpRogcP2hz32+T26kFhGjFhtPJkeWe0a8YjDc2m9Th5K6u0907awBv3IE7d974u+9YiogBvYsLIGRhmJKbRE5dfG1xQ0riiRoP45c.02SrvfRdtVaGcqEVBQNq78H+u0V7+JEet4HhzObybrxF3nRD+4fiKtL4YlmGDf8kEDrp4fe5yyMGf2xSkD1jqfRAQo8LuNMxSsK6iUqNSIO0sGLpnkw4icVnH.dXFxYgXX9Bit5wFKL5tzHHB5K3ezOuoj95puHCQwIV1U60LuRO11Ej0npbcNRc64G88WepdPfM21.assA1daC7kaafGtsA1YaC7n+8.0+4lWkJ4Q4Ga.fqFcdVWdCiyYPkBLSsB9aNo7zK.
Target Design
What we get in HISE with same css code
-
RE: Smart way to make an Expandable GUI Template
@d-healey Sorry, can you please give a small example with the broadcaster & reg combination for this use?
-
RE: Smart way to make an Expandable GUI Template
@d-healey Thank you!
That is, defining the
GUI_EXTRA_HEIGHT
variable and setting the panels that need to be positioned automatically on the Expand button's callback on the y-axis again.Normally, my template is more complex and I also use the
GUI_HEIGHT
variable in some inline functions in this template too, I don't know why but I get instant crash while clicking the ResizeButton.Yes
Content.getHeight()
would be useful. -
Smart way to make an Expandable GUI Template
For my projects, I have a template that includes top, bottom menus and automatically positions according to the dimensions of the GUI.
Therefore, instead of using direct numbers for the plugin UI, I use variables such as
GUI_WIDTH
andGUI_WIDTH
in many places in this template.Now, I will add our new feature, the GUI Expansion button, to this template,
I need the bottom bar to be placed automatically when the GUI is expanded vertically.
But since I use these common variable parameters in many places, I was going to ask if there is a shorter and smarter way to handle this, friends.
HiseSnippet 2020.3ocsXs0babaEdWYsIgr1owyz9ZGD9P5J60TbIE0E6w015lkZsj3XJm5jLdz.sKHIFuDfcWPao3QyzeZ8eR6Og7Peu8.f8BVxkpxZZnkkHNW+NGbvkC5EyCHII7XK6Zmd4Dhk8cc5eISLZmQXJy5vcA5Nu7MGh1kM1Z6KmfSRHgV1124kR110V1R84Wd113HLKfTPxx564z.xqniohBp8d9egFEsONjbJcrgzq87CC3rc3Q7o.TtiSKqI3f2iGRNFKEaIGK6uXuPpfG2WfEjDK6k2lGdY+Q7Oxzx+8zD54QD4.eq9fgzj2mGEJQrjp0NinQg8xB4DKvJ8JR.2Qm.9cNGQCo4zKRDeihApPCy7g8Rkg2cJAOeS30x.dU.IaCHsrFR22oePLchnfiDO+FmCYBR7.Lj1MghVVqkFbOm5PRMQf9.NFAShm8WOb2SO.8TT2VsdxLrNXuCe4AmB75zt6SpWeGNXZln4X76I6GCCxckatg7LTbEPGUcSyPx.R7N3nnygIvDWQ7ThjY85qtJ5T9DTOLiDY3bf1Y8XQfmy7INLTIjaiTdM7Psfe.yjIRBQlKlPhETRBfuw+49mbro7epwGoghQMdrAZaLhPGNRz3wcZckFRRLsMWH3imCVZxKDYEr0fyHE9HTma.TKYfaHZkv80RhYf9G4KD4RVJNWC7ykogmQ4wiPs88PabSCASi7oFv7N+i4y9MdLpwKhhPEDf3ZBNFL5N7wS3L3KRYJkLxxEJXjmEziDbdjfNQpibSoXRB8morgH9DAkyPBNBvJRLhfn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