@MikeB -- Lindon, Hull UK, Audio Developer, before that I worked in Telecommunications (real time and all that - not as complicated as it sounds) and before that I was a record producer....before that I was a starving/failing musician.
Best posts made by Lindon
-
RE: The world of HISEposted in General Questions
-
Legato/Glide/Portamento/whatever else you want to call it - in "Synth Style"posted in General Questions
So for those of us who have spent the required hard-yards in the sampling business we have a very specific idea of what "legato" means, and frankly this aint what "modern" synths behave like. Stiil we are often asked to recreate this "synth-based" glide portamento legato, what th ***k else you want to call it...thing. And in my experience its a royal PITA to do....
Essentially notes glide between any currently held note on play or release as long as something is held down...and if a truck load of notes are held then they glide in played order....(where truck load == 2+)
HISE is not best set up for this sort of thing - or so I thought.
So after about 6 goes at this and also after the realisation that I really really need a holiday. I think I have it (or a close approximation of it). As I wouldn't want anyone else to have to go through the outrageous process I went thru to get here I decided to release it. So here it is - again MIT licensed so all yours to use...
HiseSnippet 2943.3oc6ZstaabbElzxLIj4NPKxemJzeP4PcgT1N1wMohhbk0hvafKkbLBZCVt6PxoZ4ND6tTLrAFnuA8MpHu.EnOB8QnuAsemY1kbWIYEUAmKNsDxRbNy49s4ry5dARGdXnLHW9RCVNimK+6TvZoezjFSrE94LalK+aWXpzWN1S3xyc3xY1ggb2b4yuwSIDxW7t4Te9W+9Cs8r8c3qAkK2oRgCukXpHZMzdG7EBOuirc4CDSSg88OvzQ52P5ImCkYiB6kalsyY1i4crIztSgbGaGNIW96Un1ngN0F8I6+npOt5i+j6+3pUeviFd+8p439fGu+9Obe2Q0dj8CeDH5MLbEQx.qH6HdXt728Po6RqIxE9ZAbpHTLziSKplyBRVC9HomKYhDzbMlH7b6k3kBykKegdq8Yan8Y+pBsEthUvW669.0Fr0Tj1Al+NYUuMxndUSqd6kR8tBUJeJU5tZU5CKX4DHlEsdGcrzzOhGLx1IarTiat7eWgFRffezNSsOieT.VrhfxObu8pvvu15Iil66DIj9LoeGYDuqe4sJ8skJV5EkXWbqQitx8HwDH873AW41TpQv0QXY+4SGxCpvN21aNeEhv7y5SK7x8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VB2+1R38usD9faKgO71R3mbaI7Qe+DRuL05yijS00h4x0tmgZ19740uOYUYYt+i5uV6CFrankly I never want to have to do this again......so please dont ask for amendments, you will have to make them yourself, and if you find a bug - again you will have to fix it yourself - please post your resulting code here.
Meanwhile I'm off to Italy see you in a month, well from next week anyway...
-
RE: The definitive feature request & bug fix roadmapposted in Feature Requests
Feature Request
@Christoph-Hart - Please can we have bus effects (send and receive) as per this discussion :https://forum.hise.audio/topic/1983/feature-request-the-case-for-bus-containers
-- wow I just re-read the thread I pointed to - I've been a pita about this .....sorry.
-
Happy Holidays..posted in General Questions
So happy holidays to everyone who has them at this time of year.. Anther great year for HISE and this community, tho I did get too many t-shirts this year...
-
RE: The definitive feature request & bug fix roadmapposted in Feature Requests
Feature Request
MIDI out.
-
Happy Holidaysposted in General Questions
......Ok that's me done for 2023, so wishing you and yours a safe and festive holiday season and a prosperous, healthy and happy 2024...
Thanks to all of you for making it a great community..... now where did I put that T-Shirt?
-
LED - with peak line - and red warnings...vector version.posted in General Questions
So I've seen a few posts here asking how to "do" an LED-style control, and there's been a few answers - all of which seemed to require adding in a png for the LED itself.
So as I needed (or wanted) one of these that used vector drawing, and one that had some level of "red-line" warning as well as momentary peak measurement too I coded one up. You might want to use it - or adapt it to your needs.
So caveat no.1 : as @ustk has said elsewhere - this is not really a gain meter - its approximates one as it uses 100 milliseconds between each measure - so it may miss some peaks. But in any case:
HiseSnippet 2093.3oc2Y0uaajaDeks2qwJmARJtCs+IQPAtUWTj2Uw1IFF2EYaI6Hb9CAKmjVTbHfdWJIhrhTXWJ63FXf9H1Gg9HbuA2MjbWsbkWaqSsIMoBIVlbFN727AmYHcmHtOINlGYUZ4SubDwpzWa28RlXvtCvTlU6lVktm8QjKNnUSqctbDNNlDXUpzh6KoVZ4krTe9kWrCNDy7IYSYY8ZN0mb.cHUjMamF+DMLbOb.4T5PCtWqQaeNaWdHeLfjEscsFg8eGtO4HrjsErsJ8UsBnBdTWAVPhsJszN7fK6NfeASy+qowz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9EBWOXR17d3wghzYyez5PNiOZ.mQy4zOg.YD52mjKVpPEZag.tWa1LeSiSHgDbrwws+RC4Cyfi.6DYNsE2Qk3Ryn+5OaqgKRlO3yqxE+AMrKa+ZvI4K2ccpwzgnIpi2ci1WESNEqfyzcDIWjYtJ0s+y6Xtduoysi4+J8Ou3+G0+7GiTPPMgub574OYC0opiTtaz+682eJZ.5SwdLD6Gwequ9kqjYDumZFPuYp+t2KaenbLxyR8ZVv5rcq4ZMDpq9VeeYL8S.6Swqo9brlmNGqYs4XMqOGqYi4XMOaNVyyu00HaoY6wB9Pc7OLQmVpm3qTIcWcpiBV+FfT1+WLI'm pretty sure the code could do with re-factoring so I'm always interested in a better version if you want to comment or contribute...
-
RE: Have a nice christmas and new year vacation!posted in General Questions
Happy holidays everyone...have a fun safe time.
Latest posts made by Lindon
-
RE: Packaging Instruments Guide?posted in Newbie League
@David-Healey said in Packaging Instruments Guide?:
@dannytaurus Just the first post. It has been updated with recent changes. I have not read beyond the first page.
well yes, and no... if there are any recent changes it usually takes DiscoDSP a few days at least to update that front page....
for instance, I found this to be incorrect:
After it's accepted, staple using: xcrun stapler staple "plugin.zip"Stapling the zip doesnt seem to work for me , but stapling the plugin works fine.
-
RE: Packaging Instruments Guide?posted in Newbie League
@dannytaurus said in Packaging Instruments Guide?:
@David-Healey That topic has 28 pages!

Is it the first post by discoDSP? The one that says last updated Nov 2023?
you will need to read (nearly) all 28 pages...
-
RE: Creating a MIDI copier/transposer in HISEposted in Scripting
@flameshower here you go - you should be able to work it out from this:
HiseSnippet 1053.3oc4W0sahaDEdLfWUXaW0sZUUuzWzKf1TDFxODUUsIg.aQMjfhyl16VMY7.LJ1y3NdLsnp9N0Gk9nruAsmwlDam3Dnzc2KZ4BDm+l46bly4aFFKEDZXnPhLpcwh.Jx3iMcVvUy5MCy3ngGiLdl4HbnhJsRTczh.bXH0EYXT9UZEFUqfh+71WdD1CyIzTUHzkBFgdBymoR0N9fef44M.6Ruf4mw6sOXHQv6I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Erpv+EDjsrQwuAK6YrOvJ9FBI+Rcu.auoA1YSCb6MMvc1z.2cSCbuMMvtqNP8kVGFoD9IirHznw8iezpgQeNF53imNP+M.Icpm3 -
RE: Packaging Instruments Guide?posted in Newbie League
@jonalexander23 said in Packaging Instruments Guide?:
I'm pretty disillusioned regarding being able to use HISE even though I love creating in it - due to this crazy OS packaging process which seems to change from year to year by the looks of things...maybe there's plans for HISE to handle this part for non-experienced bash coders like me?
this is an issue with Apple not HISE, - welcome to plugin development - where eventually you end up hating Apple Corp.
-
RE: how do you export a plugin? I don't see any youtube videos about it or talking about itposted in General Questions
@tjrob are you trying you export as VST or a VST3? - I cant recall off hand what the MacOS dialog looks like -- if VST - then you are out of luck its VST3 only - so go to the settings in your project and tick the VST3 Support box.
-
RE: Multiple Styles for Controls?posted in Scripting
@dannytaurus said in Multiple Styles for Controls?:
@Lindon You could simplify the control text a bit:
// Simplify this: var ffText = obj.text; var fftextStart = ffText.indexOf(":"); ffText = ffText.substring(fftextStart+1,ffText.length); g.drawAlignedText(ffText, [a[0],a[1],a[2],a[3]], "centred"); // to this: g.drawAlignedText(ojb.text.split(":")[1], [a[0],a[1],a[2],a[3]], "centred");This assumes you'll always have the ":" in the
obj.text. If not, the short version blows up.Sadly, no the LAF processing is considerably more sophisticated than just dealing with styling buttons dependent upon some value in the text attribute, so sometimes its there, sometimes not..
-
RE: Multiple Styles for Controls?posted in Scripting
@dannytaurus said in Multiple Styles for Controls?:
@Lindon Nice.
Incidentally, radio group 51? What the hell are you building?!

yes its very very big...
-
RE: Multiple Styles for Controls?posted in Scripting
@dannytaurus said in Multiple Styles for Controls?:
Create multiple LAFs, one for each control style, then apply them to different controls based on their ID. If you stick to a convention of IDs it's very quick and easy.
..this works but I do something a bit more flexible, for buttons at least - I use the text area to define the style...
so the json for a button I want to have the "Flat style" looks like this:
[ { "type": "ScriptButton", "id": "PadEditSelector", "x": 170.0, "y": 30.0, "parentComponent": "EditPanel", "radioGroup": 51.0, "text": "FLAT:Edit Pad" } ]..and in the interface looks like this

There's a giant loop thru all components in theLAF.js and the relevant bit is:
const var allComponents = Content.getAllComponents(""); for (c in allComponents) { if(c.get("text").contains("FLAT")) { c.setLocalLookAndFeel(flatButtonLAF); continue; }; }and the LAF itself looks like this:
const var flatButtonLAF = Content.createLocalLookAndFeel(); flatButtonLAF.registerFunction("drawToggleButton", function(g, obj) { var a = obj.area; g.setFont(SkinSpace.skin.stdFont, 16); // get the text out.. var ffText = obj.text; var fftextStart = ffText.indexOf(":"); ffText = ffText.substring(fftextStart+1,ffText.length); //Console.print("drawing flat:" + ffText); var fillColour = SkinSpace.skin.highlight; var TextOnColour = SkinSpace.skin.outline; var hoverOnColour; //var cThisColour; if(obj.value) { g.setColour(fillColour); g.fillRoundedRectangle(a, 0); g.setColour(SkinSpace.skin.highlightContrast); }else{ g.setColour(SkinSpace.skin.stdText); } if(obj.over) { g.setColour(SkinSpace.skin.Over); g.fillRoundedRectangle(a, 0); g.setColour(SkinSpace.skin.highlightContrast); }; //g.setColour(SkinSpace.skin.stdText); g.drawAlignedText(ffText, [a[0],a[1],a[2],a[3]], "centred"); });..it uses a skin file to set the colours...
-
RE: Beginner at Hise Plugins and Mackie MCU Protocolposted in General Questions
@JimmyJ well this seems to be the relevant bit:
Rec 1 C-1 Dec: 0, hex: 0
Rec 2 C#-1 Dec: 1, hex: 1
Rec 3 D-1 Dec: 2, hex: 2
Rec 4 D#-1 Dec: 3, hex: 3
Rec 5 E-1 Dec: 4, hex: 4
Rec 6 F-1 Dec: 5, hex: 5
Rec 7 F#-1 Dec: 6, hex: 6
Rec 8 G-1 Dec: 7, hex: 7so there are 8 record commands, all on channel 1, with velocity 127 = on 0 = 0ff
So this (if this is correct) would be trivial in HISE...
