HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. afinch
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 33
    • Groups 0

    Posts

    Recent Best Controversial
    • Looking for someone to script

      Hey guys,

      I am getting on really well with Hise having made some good simple libraries. However, I am now looking to do some more advanced scripting work that is beyond my skill set. Aiming to work with many 1000s of samples. If there is anyone around who would be interested in being paid to do some bits it would be great if you could get in contact!

      Hopefully this was the right place to post this, if not please point me to the correct place.

      posted in Scripting
      A
      afinch
    • Piano pedal and articulations

      Hey,

      I am trying to sort the scripting to move between different samplers to enable a user to switch between Sustain, Sustain with pedal and staccato samples. I want to do this with a mixture of CC11 data and the sustain pedal. The samplers I currently have are:

      1. Sustain

      2. Sustain RTs

      3. Sustain Pedal

      4. Sustain Pedal Sounds

      5. Staccato

      (Treating 1 & 2 together, 3 & 4 together and 5 separately)

      A snippet of my WIP is below and while I have some of the features working I am struggling to make everything run smoothly.

      1. How do I get HISE to work out the value of CC11 on loading the instrument so it knows to start with the Sustain samples or staccato samples?

      2. When moving off the staccato samples (with CC11) back to sustain the 'Sustain Pedal' samples are triggered even if the pedal isn't down

      HiseSnippet 2035.3oc6b91aaabF.mzxLnTsIoIMnXuY.2JJFrAbbDUrc5PPVssrRgwhrELcB56JtPczlHTjBjGypWg+FrWtOH6iv19D0uAqO2cjhGoojokjcpMNYDSe+84O2yc2yOS3zOJzgDGGFooad7YiHZ5egg8YAzS6bJ1KPa+8zzefQObLkDgDUs6YivwwjAZ55M9AVE5lKqw+7qe+tXebfCIuJMs2E54Pdi2POZds829u446+Z7.xwdCk58FauuSXPmP+vDPeZXzRaD14C3SHGfYcaICM860cfGMLxlhojXM8k2MbvY1mF92CD8+cdwdu2mvJXoYCSjn5WG5OfowrZ05bpm+f9Y1crFH+94dgFBuvSL54Mvab84diuj2.JeDx9C8kJpdMJndVxpWKI0qBURWRkVVnROxv1IxaDMuEl974F6G.KNtXvsKqJh9po+eM5DBcHft9P7GH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yLM5wJirxRPzvn05szFBIq8SNNrf7mBWuT8XZOCi44yvX1XFFylyvX1ZFFyKlgw7cScLr7j2IgFNTbnGTAj4DOvRu63.qFZ+FFsnc2A
      

      Would be really grateful for any help as I am really close to finishing the project!

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey Will do, thank you so much for all your help!

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey So what I am really doing this for is a piano library. One of the things that is often available in other piano libraries is increasing the mod wheel (CC1) to 64 to move from sustain samples to the staccato samples, this is the overall goal. On the interface I am also planning on having a slider that is always linked to CC1 just so there is a visual display of what the Mod value is. If the user decides, they could also use the slider on the interface to enable the staccato samples as well as an external CC input.

      So I believe I want CC1 and the fader working in parallel. The only slight catch is that I think it may be good to give the option for the user to select a different CC using the Combobox. In this case I assume I am going to have a free CC and the slider working together and then convert from the free CC to the CC of choice for the user. Is that easy to do?

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey Oh I see, so the code is fine but the actual CC data isn't being put in correctly. You can't achieve what I wanted to do just be assigning the knob to CC 1? I want to control it as a slider really. So a slider that moves from 0 to 127 (CC1) and when it meets the 64 value the Ignore button is toggled. Need to get out of the the Kontakt way of thinking!

      HiseSnippet 1448.3oc4X0saaaCElxNrs1sMasnWra1fPwtvAnKvpMMc.Ec0M+UXz5DinzfcWAiDsMWjHEnnRhaPuaOOa6Qn6QYuA8MX6PIYKZEGOWitt+7EB9b34P9wCOGd9j5JEdz3XgDYU6fgQTj0MvtC4pAaNfv3n1agrVF2gDqnR6LUaLLhDGS8QVVUetVgUskPo+d+S2fDP3dzBUHzgBlG8krPlpPa2VufEDrCwmd.Kzv50Z01Sv2TDHR.7TE2DEQ7NlzmtKQaVELx5Ja6yTBoqhnnwHK7FB+gtCDmxyr+PVL6n.pVvA4BSTl58NgJOgQOcGQfuF4ZcE+2Ag1b.Kvu6nXQLBl4tE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vtHWmKRxaNliOC2iclqJw6XcwRboIAg9DxJ5iy6hTaDFcY5KT2leBzIEzjcAyVzdjj.0HsS1UuifKhFH3LuI6aAEM86SklXepaHn7BZaVn4Ns1mFPIwFwyut0KYbJQNY63OnXgyG76kM0yqu.mAWacYs8+MXyV8+8rYmUna4btr1vpKU+C+b9F3T1W1Zxx+cA08EIJfD7HhnXnotKvP2iZxYsh9Z6L4lZYMfbob+TgeG9kOnyHBt5AcFMHxazTA6s7+m11xpJkqY6k9RZA.04.yT5X38.zPBHg9IAkgDOo30dYsSzX8ZoZ.TxS+XX0vczx1i+RCXbS860CcNesmmtP3afH7z849KfOOXA7YsEvmGt.9r9B3yiV.e91Y5ilzxyRThvrKIK9bQ52r055lBYG3F0klewtz0pM2md1njgraOLRF2l6ax5XmjffKXiVYI6bOldZ4VpRXKo0c9c9om+au4Ge5XBqEeUo1PqaoJ6t.TmtamUsXs83pkpn+.3VCzSE
      
      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey I am expecting the knob to cause 'Ignore all events' to toggle off.Screenshot (199).png

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey am I working in the correct script editor, should I be working in the sampler one?

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey I thought I had added the reference in the muter script, and will do!

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey Sorry I meant to include that in the example. Even with that it still doesn't seem to be working.

      HiseSnippet 1408.3oc4X0raaaDDdojYRjRhaSfOzKEfHnGjARMjRbbJPfaX7eABIxVvzIn.8fwZxURaM4tDKW5ehQ.5g97z1Gg7pz2f7FzN6RJwULxJJBooos5.glYmY1uc9Ymgrqf6SRR3BjUsCNOlfrtgs24L4fMGfoLT6sPVKZ2AmHIBmLVabdLNIgDfrrp9TECqZKfz+d6i2.GhY9jBVHzK4TexyoQTYA2ttOiFFtCNf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gAsLsB7300+W67Ly0DISnG000EIc.+UVR5UrU9twKUpNykJslZohwzXUtrowxBW5AiVz1LBVZnLTt4dO13Kr6QOySl5erpXIYBF4S1TQebd0gZCwnGUcg51rSfNo.mrKX1hzCmFJGxc7t5c3Ld7.Ni5OdeKnnoeehvD6S7.AkWPayBNK4tOIjfSL7mei6yoLBVLd63OHeQqO3WiZhwquxNCtNpxZm+aLMa0+2OM6zbcKlOKqCr6B4m4w4aXqm9xQMr7+TPcedpDFBd3fn1PScOXBceh4LqUT2ylQ2TQq.jGgEnI9S3W9hsFNfqZwVCWD4OzTvYK++51VVUIL0zd5WRKDFcNzLkNAdO.EjfgP+jfxHrufeneV6DEVullCfRl9aWUytih1YzWFv1t4JMQQPmyC88UEBeK3gmrN2aNz49ygNqNG57f4Pm0lCcd3bny2MUcTCs7jTIOJ6RxhOui5MasttIQV.2ntz7Cro2q1r.xYCSFxt8vHYbaVf4WZYmzvv2QFEyRx4cL4zxsTEvQRw6hk90mp9HNiFXs3q.0FZcKjY2Ef5zc6rpEqsGUsTE8W.sNG1VB

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey basically trying to control the knob so it triggers the ignore button.

      Here it is: HiseSnippet 1449.3oc4X80aaaCDmxNLs1sMasHOrWFfdXOj.zEX2llNfht3l+UXz5Dinzh8VAiDsMmkHEnnRhaVeaedF12f0uJ6aP+FrcjR1h10Iw0HsaXyOH363wi+3w638SpsT3SSRDRjSkiFDSQN2F6Mfq5scOBiiZtCxYIbKRhhJcyTs0fXRRBM.43T94ZENUV.Y98gM2hDR39zBUHzqELe5KYQLUg11MdAKLbOR.8HVjk0q2noufusHTjB3oLtFJl32mzktOQaVILxYwcCXJgzSQTzDjCdKQv.udhS4Y1+ZVB63PpVnNxCbTl5CNgJOgQOcOQXfF4Zc1+GscOVXP6gwhDD341EQlxYQlkwsXArQ5KhPesY.2hYXGibJMNjKOFjqeQPdJPxwBRKjAo6h87krXUwHZ7bKbSN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W9IP+RPS1sE6jQ+an1w6c2RvEw8Dbl+3cmfZltcoRarO0MDTcAMGKzrbiCogTRhU776Z7RFmRji2z8SJV7o+JZS875avYv0UWV69eCNqk+eOm0KKzsTNiUWX0kp+keNeargikqlR7+TP8PQpBn5NjtIF5o6A7v8o1LSKoumMStlVVCHOJOvH7Wvu7AqOjFqdv5CGD4OzUvdK++l1VNkobMMNyqhEBDjCsSosdM2uHnLh3KEuwOqchFq2znAPI27cwpfaokcG8kFv3ZqUS+l8r236qKD995HzzmyCli47v4XNqOGy4Qywb1XNlyimi47CW5bzjVdVpRDkcIYwmKR+9qN2xVH6.2ptz9i2YVql7.5YCSFxt8vJYbWdf8mfYuzvvOxFsxIryqO8zIaoJgsj8G6YDe0hupTSn0sTkcW.pU6cypVb1cT0RYzeiKG79q

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey Based on what you said this is what I got to but I still can't seem to be able to get it too work, am I missing something obvious?!

      function onController()
      {	
      	if (Message.getControllerNumber() == 1)
      		{
      		if (Message.getControllerValue() > 64) 
      			{
      			mute.setAttribute(mute.ignoreButton, true);
      			}
      		else
      			{	
      			mute.setAttribute(mute.ignoreButton, false);
      			}
      		}
      }
      
      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey oh I see, I am a little confused as to how I specify CC1 there. Could you explain a bit further please?

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey So would it be something like this? I have linked a slider to CC1 and don't see the 'Ignore all events button' toggling on and off.

      function onController()
      {	
      	if (Message.getControllerNumber() == 1)
      		{
      		if (cc > 64) 
      			{
      			mute.setAttribute(0, 1);
      			}
      		else
      			{	
      			mute.setAttribute(0, 0);
      			}
      		}
      }
      
      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey Yes so just >64, how would I implement that?

      posted in General Questions
      A
      afinch
    • RE: Mute/enable a sampler when a controller value is greater than or less than

      @d-healey

      So is it something like the below? What goes after the ifs to specify the value range you want for each?

      function onController()
      {	
      	if (Message.getControllerNumber() == 1)
      		{
      		if () 
      			{
      			mute.setAttribute(0, 1);
      			}
      		if () 
      			{	
      			mute.setAttribute(0, 0);
      			}
      		}
      }
      
      posted in General Questions
      A
      afinch
    • Mute/enable a sampler when a controller value is greater than or less than

      Hey,

      I am trying to set up my project so that when a chose CC goes over a value of 64 one sampler is muted as another is enabled. How best should I script this using the MidiMuter? In principle I want this to happen for CC1 but how can I integrate this into a combo box where the user can select any CC and still have the same sampler muted or enabled when the value changes?

      posted in General Questions
      A
      afinch
    • RE: Release Trigger Counter Equivalent

      @Christoph-Hart That sounds really interesting, thanks for the insight!

      Screenshot (197).png

      So if my sustain samples are 20 seconds long is this the correct settings for the RTs, I am interpreting it as RT volume decreases as the curve shows, over the 20 seconds. The AHDSR doesn't matter too much (except initial volume) but then is the velocity modulator as you would expect it too? I thought these settings seemed right but at the moment when I play I get a loud RT if I play a quick note or a very quiet one if I play a long note of any duration (no sense of a gradual change).

      posted in General Questions
      A
      afinch
    • RE: Release Trigger Counter Equivalent

      @d-healey I am having a play with it, alongside an AHDSR and Velocity Modulator. What unit of time is the 0-20 time knob in (20 doesn't feel quite long enough)? It is taking a huge amount of trial and error and was wondering if I could take a more mathematical approach! It is for RTs on a piano and I was using this video as a guide: https://www.youtube.com/watch?v=b9mqaBy0Axs&t=1348s

      Velocity Mod Table 20:37-21:00 (I have this working)
      Release Trigger Counter 21:58-22:27 (I can't get this working exactly how I want it)

      This is what I am aiming for!

      posted in General Questions
      A
      afinch
    • RE: Release Trigger Counter Equivalent

      @d-healey ok so I have linked that now but how do I go about decreasing the RT volume as time held increases. Can this all be done within the hardcoded RT script? I have looked at the documentation and haven't completely got my head around all he controls in that script.

      posted in General Questions
      A
      afinch
    • Release Trigger Counter Equivalent

      Hi All,

      I am still moving away from the Kontakt way of thinking and was wondering what the best/most efficient way of achieving a Release Trigger Counter equivalent in Hise would be?

      posted in General Questions
      A
      afinch