HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Simon
    • Profile
    • Following 0
    • Followers 2
    • Topics 32
    • Posts 210
    • Groups 0

    Simon

    @Simon

    Developer of many Kontakt libraries, now konverted to HISE
    github.com/minosimo
    codeberg.org/IvyAudio
    ivyaudio.com

    78
    Reputation
    185
    Profile views
    210
    Posts
    2
    Followers
    0
    Following
    Joined
    Last Online
    Website ivyaudio.com
    Location Tallinn

    Simon Unfollow Follow

    Best posts made by Simon

    • My HISE choir

      I finally released Poeesia, this choir instrument I've been working on for years.

      It sings a poem in Estonian, has a bunch of fun Estonian vowels like Ü Ä and Õ, and polyphonic legato, all of which combined made it totally impossible to build in Kontakt. Thanks to Christoph for making this possible, and thanks to all you fine forum folk for the help!

      ivyaudio.com

      I removed all the swear words from the repo but there there's still lots of spaghetti, so don't look too closely please: https://codeberg.org/IvyAudio

      Your browser does not support the audio element.
      alt text

      If anyone wants a copy just send me a DM :)

      posted in General Questions
      SimonS
      Simon
    • RE: My HISE choir

      I finally finished the walkthrough if anyone's curious to see how the thing plays.

      posted in General Questions
      SimonS
      Simon
    • RE: Changing filmstrip via script

      @ustk Awesome, that looks like it'll work great, though I'm getting slight flashbacks to similar control-layering jankyness in Kontakt.

      For anyone reading this later, the solution is to script a panel to have mouse interaction slider behavior, or to use an invisible slider for mouse interaction and the panel only for drawing.

      You can change which image is loaded using ScriptPanel.loadImage, and update the drawing of the panel with Graphics.drawImage.

      David's tutorial covers a lot of relevant stuff here

      posted in General Questions
      SimonS
      Simon
    • RE: IPP Missing in Plugin Export

      I don't know what the situation is with IPP now in HISE, but the old dropbox link expired so here's an internetarchive link just in case: https://archive.org/details/intel-ipp

      posted in General Questions
      SimonS
      Simon
    • RE: Phaselocking 2025 and other sampler related discussions

      @Christoph-Hart Oh boy my favorite subject :)

      First off, automatically aligning the legatos to sustains is one of those coveted features that's impossible to do in Kontakt, at least without squashing your samples to a consistent pitch (and rendering them unlistenable in the process, which you then remedy by re-applying a pitch curve). What you are working on is beautiful and super exciting.

      RE: a few of your points.

      Sine waves

      This alignment will be most noticeable on solo instruments that are already closer to sine waves than to the chaos of an ensemble. I imagine testing with sine wavs is a totally suitable stand in, and aligning based on rising/falling zero crossings should already give very good results.

      Legato Parameters

      I would like to have access to:

      • Attack and release time, and curve, for source sustain, legato sample, target sustain.
      • Volume for each legato sample (I don't see any reason this would be removed but just in case. Maybe it's possible to include this in a "legato adjustment" ui?)

      Most of the time you will want the crossfades to be the same length on both sides, ie. sourceSustain > legato will have an xfade of ~180ms, and this value will be adjusted for both. This is what I eventually settled on for Poeesia. However, sometimes having the source sustain play a little longer can help preserve ambience, eg. sourceSustain.Release = 220ms, legato.Attack = 180ms.

      There might also be situations where you want release samples to have yet another setting, so targetSustain.release would change depending on whether you're playing to a new legato sample, or to a release sample.

      Whether it's worth exposing all the parameters separately depends on how annoying it is for you to implement.

      sourceSustain > legato, crossfadeTime
      sourceSustain > legato, crossfadeShape
      legato > targetSustain, crossfadeTime
      legato > targetSustain, crossfadeShape
      

      is probably sufficient, and in fact probably the nicest dev experience.

      Legato length

      What I loved about building Poeesia in HISE was I wasn't forced to choose a "best fit" setting for the legato sample length like you're forced to in Kontakt.

      I just got the length of the legato sample from the samplemap, and delayed playback of the target sustain by that amount. I was then free to set unique start end end points (and volume) for every legato sample in the library. This is the main reason the instrument sounds better than it ever could in Kontakt.

      Sustain offsest

      Legato sounds much more natural if you jump very far into the target sustain. I know this is tricky in HISE with the maximum offset being relatively small, I forget the name of the remedy you and David came up with.

      Phase locking sustains

      I do not pitch/phase lock my samples because it's never really been an option, and is only really beneficial on solo instruments with multiple dynamics. As usual, doing it in Kontakt is a pain, though I know some devs have done it.

      However, I assume using loris to flatten the pitch, and re-applying the extracted pitch curve from one dynamic layer to all dynamic layers using the sample editor envelope in HISE, would be an extremely pleasant workflow.

      Even on raw, non-phase-locked samples, aligning the phase of sustains to legatos is very noticeable, just like it is for loops.

      Polylegato

      You probably know this already, but just to recap. Two different conditions should trigger a legato sample:

      • key released, and another one pressed soon after (jump legato)
      • key pressed, and another one released soon after (overlap legato)

      Either one of these on their own is also technically polylegato, but it is much less playable for the enduser, to the point where I wouldn't include it in a library.

      The only parameter that needs to be exposed is the "legato window", which also represents the added latency. I experimented with different times for jump/overlap legato, but settled on adjusting them together and exposing that setting in the UI of the instrument.

      posted in General Questions
      SimonS
      Simon
    • RE: HISE seems to have butchered all of my loop points.

      @Elezeid HISE projects, including sample maps, are trackable in git. It's well worth using and has saved me repeating work several times.

      posted in Bug Reports
      SimonS
      Simon
    • Simple Panel Persistence Example

      Making a value persistent can still be very tricky to figure out in HISE as compared to Kontakt.

      For integers or booleans, you can use a knob or button, which have saveInPreset enabled by default, and use the setValue() and getValue() methods to store and retrieve the value.

      In some cases though you inevitably need to store text or an object.

      The trick is to create a panel, set storeInPreset to true, then store your object to the panel using setValue(), not panel.data. Only the former is persistent.

      Here is a stripped down snippet with a simple example:

      HiseSnippet 1233.3ocsVs0aiTCE1SaGXSfshUhmQVyKjVhZSBYaK6BhcaZKa.ZaDoag2V43wSGSmXOx1oYip5+Y9G.GamIYRZJKphcdHJ9b86bwmi6ojTlVKUnfpWLImgB97v9SDlzNoDt.08HTvlgmRzFlB6Ic3jbhVyhQAAq+SVBAU1.499qe7PRFQPYyIgPWJ4T1uxGxMyo16U+BOK6DRL6B9vRR29UcoRQGYlbDfm0CafxIzqIWwNiXEasPzaH5TTv1gwMa2L4.JYuCZ1tEk15f8a8c6SYjjD1dMe99sOHocBg1nEJ3SNNlajp9FhgoQAabnLdR+T4Xg2AWx07AYL6gln9fm8jOQlEaCQKUTmTdVbuhDkFAVo27z159z1WFdJOlOi97z2W3XfmqQ4DXvZKBu0W.dMKCuFkf2JfTPIHsgGROKrOUwyMy4XwymE1U.USH8vV.JdYQqsYXXGIHgvryPx0rSTvgYZTqUiF0wMazXqWVEjRKyX6PyXDUMf.T6zFbNQvxv+.tvHj33dVR0hbbhpiAKzXl3CFYLRwhxeniVsHOun5MpumUgpNCrilY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
      

      ALSO: if the data you're trying to store contains any undefined values, it will appear to work correctly, but will restore to a value of 0.0.

      This should eventually be added to the documentation. Just need to find a place to put it.

      posted in Snippet Waiting Room
      SimonS
      Simon
    • RE: Snippet: Horizontal panel-based slider with hover fade in and out

      I started the slider as LaF but moved to a panel when I couldn't figure out an elegant way to do the animation, interesting that that's the one part not achievable with LaF.

      Coming from Kontakt, the ability to have smooth transitions and (gasp) actual hover states for all controls is a huge win. The average user probably can't articulate the difference, but I think in testing a UI with smoothed hover states would get more positive feedback. When trying to sell something new to a group of people who have been used to Kontakt for potentially decades, I'm convinced this kind of UI polish can help make a HISE library stand out as better in every way than what people have been used to.

      I believe I used a separate label so the text wouldn't be part of the hover target.

      posted in Snippet Waiting Room
      SimonS
      Simon
    • Snippet: Horizontal panel-based slider with hover fade in and out

      In context:
      0104f3f0-7c4e-4b88-8b0a-9e9e55755bac-slider.gif

      Easy to customize!
      13170984-ff47-41b5-a7ae-728b22825d26-image.png

      HiseSnippet 1890.3ocsXs0aaajEdnSTPk1Tfs.6S8oI5gcohYzMaqj.2z1DeYqQiSDhRylEKJJFSNRbfImgfbjsUKxh9ea+2rOs+C5dNyPJRJK4jZrqfgk3bt8clykYNbbpxmmkoRINsd6hDNw49MlrPpCOHjIjjSNj37YMFmxy3ZxKVjvxx3ADGm67WQpNMuKw74+7MufEwj97xkHj2oD97WJhE5xUG+seuHJ5XV.+sh3Jbu62dhuRdfJRMGPxcZzmjv7OmMi+JFx1VMHeGKKj37vF82aDm+3clFDv1YmfQiF8zm7zce5.1z96xNavnmt6vce7vm73oDm6cTfPqRmnYZdFnzWnBVLITcozZf2IxDmEwwGFPl.V1tL4fPQTv3hskLBw4tiK2jticS5O03TQfX45kaV+QCAZoDU2zb15lfzfeGPxoBjtqEReQiI9ohDcIEDO+gFmH07zoLH1TEJVdIa8uueiCT.GRc2X147iSgGVJg6t866QGrW+N62pkPFIjb5z4ResPIoAb+HVJeRjHfm5Jg3j2UdK7NWpNah3m4c9kVMiT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X4qAE.alnFJ7DURtMQ49.Bulaz382rweDZ7c16lL9Wgr7IX7aXyaM6bUSVhERuX1UkmbC02IPv6TlNrKPrfMfkx6CXIxtxEYFUg0N858Rt9ujUb4SJSFPgpHSkN1Xe1CZAyQjoowKlTbsy5WTssMn11au9l+.8VvqsajTmphVdWlBZuVlSAuJbUApbNm2xNpgPOLSFHdPwJrWo81RAf7YtzHv2Ccw2n.CqXBnossUcwJo7.6IIF8XtQ30iKWycb8UwIJITv4YaLzoEDm.hYpHd2jT7RWseaHu3V7WpROO6Az1v4dGIgqZxw1F+PhFRXbw1AeX+k1RIekRyesz0nRH5QWkzzoqkVNzhvTv0PNO4byB5JmGeFOspCgLBSJUe7q68oM9kucrkJLpjmHE5Wmvye9XUT.NVE96qOrFIetGbrsbDBrpMCs84ECsgiNPDA3z11cZhA73Dx6X97u9FxObxgPsagZ.MBVAN0SKPmw4P9Ev711YAa13Pd14Pgrg27.LLL3G0nWQbZ37H.yKveLD9gcbFPk2694y0uxvLHiNvxUGeoXs5CrPb9xFaZhERQUDZoeC9fVpLyGWk7qjUVcHZGB429Ux0GGFFDWELOhoqOcN9dKxI.4L0FIFG6UlIzKp9dM9cLxd+abj8OUH9EMFKf6trdLt0ZvHjO7+CLl+hN97FGMcJ2WWBv61332eaeqFeDyam7bFz6OUfYhuZd7DHL6yww4gb0LLduEVQYetuM9SHS3x.yCXlSNwAEIgHwAEDIwL+T0O4aqCwWkxmYVAvjz7plZ13T7Y5fxBvh84XHk+m78qqpqI3vaqf6baEb2aqf6caEbzsUvGeaE7IebAwNREuTFnrgPNc7QlFlNNGYZYYxVI+WP3nMW1
      
      posted in Snippet Waiting Room added
      SimonS
      Simon
    • RE: Help getting plugin to load in FL Studio

      @graysan Have you tested loading the .vst in another DAW?

      posted in General Questions
      SimonS
      Simon

    Latest posts made by Simon

    • RE: Phaselocking 2025 and other sampler related discussions

      @Christoph-Hart Single time for fade into and fade out of legato sample is fine. Curve has been very important to adjust in the past, but I realize that's always been in the context of typical unaligned legato, where it might play in or out of phase.

      So, going on the assumption that the phase-align-o-matic does its job, the crossfade should be linear as it is now, and probably doesn't need to be adjustable.

      posted in General Questions
      SimonS
      Simon
    • RE: Phaselocking 2025 and other sampler related discussions

      @aaronventure Aligning legato samples to the sustains as Christoph is implementing certainly doesn't require bone dry nor pitch-locked samples. It's just like editing a loop, the crossfade happens over a few hundred ms, so the pitch variations don't have time to throw it more than a few degrees out of phase. Even on an ensemble the difference is subtle, but definitely audible.

      As for pitch-squashing / phase-locking of different dynamic levels, you probably have the most experience with that of anyone here, and I agree with your analysis that it's practically useless on anything other than bone dry samples.

      @clevername27 Depends what you mean by the "right" problem! Aligning legatos to sustains is a problem that every Kontakt developer who has ever done legato has encountered, and has no way of solving. Without switching to HISE, of course ;)

      posted in General Questions
      SimonS
      Simon
    • RE: Phaselocking 2025 and other sampler related discussions

      @d-healey Audio embeds already work!

      22d2d59f-e324-43f0-b5f7-e8b4f4b25059-image.png

      posted in General Questions
      SimonS
      Simon
    • RE: Phaselocking 2025 and other sampler related discussions

      @Christoph-Hart Oh boy my favorite subject :)

      First off, automatically aligning the legatos to sustains is one of those coveted features that's impossible to do in Kontakt, at least without squashing your samples to a consistent pitch (and rendering them unlistenable in the process, which you then remedy by re-applying a pitch curve). What you are working on is beautiful and super exciting.

      RE: a few of your points.

      Sine waves

      This alignment will be most noticeable on solo instruments that are already closer to sine waves than to the chaos of an ensemble. I imagine testing with sine wavs is a totally suitable stand in, and aligning based on rising/falling zero crossings should already give very good results.

      Legato Parameters

      I would like to have access to:

      • Attack and release time, and curve, for source sustain, legato sample, target sustain.
      • Volume for each legato sample (I don't see any reason this would be removed but just in case. Maybe it's possible to include this in a "legato adjustment" ui?)

      Most of the time you will want the crossfades to be the same length on both sides, ie. sourceSustain > legato will have an xfade of ~180ms, and this value will be adjusted for both. This is what I eventually settled on for Poeesia. However, sometimes having the source sustain play a little longer can help preserve ambience, eg. sourceSustain.Release = 220ms, legato.Attack = 180ms.

      There might also be situations where you want release samples to have yet another setting, so targetSustain.release would change depending on whether you're playing to a new legato sample, or to a release sample.

      Whether it's worth exposing all the parameters separately depends on how annoying it is for you to implement.

      sourceSustain > legato, crossfadeTime
      sourceSustain > legato, crossfadeShape
      legato > targetSustain, crossfadeTime
      legato > targetSustain, crossfadeShape
      

      is probably sufficient, and in fact probably the nicest dev experience.

      Legato length

      What I loved about building Poeesia in HISE was I wasn't forced to choose a "best fit" setting for the legato sample length like you're forced to in Kontakt.

      I just got the length of the legato sample from the samplemap, and delayed playback of the target sustain by that amount. I was then free to set unique start end end points (and volume) for every legato sample in the library. This is the main reason the instrument sounds better than it ever could in Kontakt.

      Sustain offsest

      Legato sounds much more natural if you jump very far into the target sustain. I know this is tricky in HISE with the maximum offset being relatively small, I forget the name of the remedy you and David came up with.

      Phase locking sustains

      I do not pitch/phase lock my samples because it's never really been an option, and is only really beneficial on solo instruments with multiple dynamics. As usual, doing it in Kontakt is a pain, though I know some devs have done it.

      However, I assume using loris to flatten the pitch, and re-applying the extracted pitch curve from one dynamic layer to all dynamic layers using the sample editor envelope in HISE, would be an extremely pleasant workflow.

      Even on raw, non-phase-locked samples, aligning the phase of sustains to legatos is very noticeable, just like it is for loops.

      Polylegato

      You probably know this already, but just to recap. Two different conditions should trigger a legato sample:

      • key released, and another one pressed soon after (jump legato)
      • key pressed, and another one released soon after (overlap legato)

      Either one of these on their own is also technically polylegato, but it is much less playable for the enduser, to the point where I wouldn't include it in a library.

      The only parameter that needs to be exposed is the "legato window", which also represents the added latency. I experimented with different times for jump/overlap legato, but settled on adjusting them together and exposing that setting in the UI of the instrument.

      posted in General Questions
      SimonS
      Simon
    • RE: My HISE choir

      @d-healey I'm lucky it's playable on my little keyboard and laptop, because the secret is that I don't have anything more to show at the moment!

      posted in General Questions
      SimonS
      Simon
    • RE: My HISE choir

      I finally finished the walkthrough if anyone's curious to see how the thing plays.

      posted in General Questions
      SimonS
      Simon
    • RE: My HISE choir

      @Lindon Funny, I did update the entire site all at once after years of inactivity, which must have tripped their heuristic for what it looks like when a site gets compromised. I emailed their support but I'm not hopeful.

      posted in General Questions
      SimonS
      Simon
    • RE: My HISE choir

      @Lindon well that sucks, got a screenshot?

      posted in General Questions
      SimonS
      Simon
    • My HISE choir

      I finally released Poeesia, this choir instrument I've been working on for years.

      It sings a poem in Estonian, has a bunch of fun Estonian vowels like Ü Ä and Õ, and polyphonic legato, all of which combined made it totally impossible to build in Kontakt. Thanks to Christoph for making this possible, and thanks to all you fine forum folk for the help!

      ivyaudio.com

      I removed all the swear words from the repo but there there's still lots of spaghetti, so don't look too closely please: https://codeberg.org/IvyAudio

      Your browser does not support the audio element.
      alt text

      If anyone wants a copy just send me a DM :)

      posted in General Questions
      SimonS
      Simon
    • RE: Adding Console on Compiled Plugin For Debugging

      @Lindon Does the profiler print custom messages to an external file that I can optionally ask the user to enable and send to me if they have a strange behavior in a particular DAW?

      posted in Bug Reports
      SimonS
      Simon