Propagate artificial midi notes



  • Is there a way to get a script further down the chain to see MIDI events generated by another script? I thought there was but can't seem to figure it out now...



  • This would be cool. I'm imagining a scenario where you could use a glide script to glide notes from the arpeggiator, etc.



  • @Lunacy-Audio

    My use case is I have a script that triggers notes based on a CC being moved, and I want those same notes to be picked up by a legato script later in the chain. My current solution is to merge the two scripts so they can share the notes. Another solution is to use global variables for the event IDs but I think that's messy.



  • @d-healey What if you simply generate the notes in a container higher up in the tree? All the children will be able to see the events



  • @ustk You mean if I use Synth.playNote() the events will be seen by other scripts?



  • @d-healey Yes:

    HiseSnippet 1100.3oc6Xs0aaTDEdFGOn3s3JJvCHUdXUd.4fRsVCsAjPBb7k.VT6XYap3sxjcGGOJqmY0tiaqUUj3WB+P3I9Eg3e.bl8h20IahbWRQnFuRQwmay9cNy4l8PeoMKHP5ivUlrzigvuOY7RgZV6YTt.0qCBeeReZfh4aFwp0ROZP.yAgw678ZF3JkQgO+020h5RE1rTVHzyjba1S4y4pTtCa9ibW2ioNrI74Yz9wM6YKEsktxE.d1gXg7n1mSOiMfpUqDAgeutNbkzerhpXAHb4VRmkimIeoHR+mwC3m5xzDMPigCJh8wRWGMh0eF0dF20YXheGfPXxvznvNQQgOlzm6vWwOMZ7AgBLSsHa7.W5lfWiBBObF3UNBdOfL11m6oRknw18H8DvE0TJbEjEVQ5hJ8mXRaIngPUeN8b1w9.wJKpcnk0AlOwxZ+uwvnpAW3xELyoKD1JtTXJEdtzksTB8I3KcqYKm6IEvYcf4KntKX6W030UMLgG9TyZIrp.7pnYFlTUm53LPpXmHp03.yCsh9Cdi4pzzoIZ0vJTGsJWT03B3iI9wYLU6DfTauXHt290Cz7CAZapq6oPZTsK6A5S713ISHJ121230FULtvv7xh.OJOYw.xk4mqXcQh+MYXMwh4mx7StHRTDxVVOc7daV5ncTrMihRQOAWchGKlNMgUKKxqSjZgV4rYYk5iY4F5Z4nVJqqVOfhu6gJiRwpCppBqKtebcQqEJkTf3.FqPhu1QgQmr8lPaf4FIl2HG6+odcnJptDMFS.N8X9JtNZi6vdAz6KpfsBoCK3bkzKDzwIrH7ta.re0pWoIs4xUD+wuzjGzWNGNGpOvFWRwdEbjeNo+QimzcjY6e3ndCLaexfIv+A5G8slCOZT2ASL+LPVum1A8RtiZFz9COBiPyX7ylozTeZTnYEHM1jfSJJaxxfRSV9n7gjXrrF9hfkWxkcO3U7Qwu0zNtMfoB9v.AnuUu0BTqbmOYM24ggibtRKTnQtzYgKUsd2c8HsXAPM1ZsQ0sJEAb0xri7dCZ4akaK+F4khugv8Ajgbk8r7waobvqtl4sLdiGfVkzc5TlsJErkIG+yEcZYwfxtWyFMe3UR9tM1pwai2pAuy1sXt9sXxqhOusY9ML4tvRJWy5Ef7.oKqtmOWenwIziaOp2vI6Aqv8+usOLtc19v5Jabz3+vMNv+K23nPaLfyLLl7Fswvu1LyrXTsKOKd6XwsiEyF1B2+5cqohkuaMUD+6DyMahQzc81AFucGXTnF9aaKemos7H4BEWbVepxmCisICVLeLzQzlAHQHXtA5uAaIcFUDsklVGYFyDNgD+M7DKrglFGKrQhv2YdGyo19xmaGU9oadtaHGH1JB+8gqP5qoMW8K0PHV0sPygd5O21Vek9H3NHea9hBXyWV.adbAr4IEvlCKfMeUAr4quQaziSOZgRNOpbGXLraX6PLtqfBUKgUVn+AP8xdZJ
    


  • @ustk Oh wow, this changes everything!!! Any idea why it works when they're in different chains but not when they're in the same one?



  • @d-healey I think there's something related to the fact that Hise works as a tree chain... So it's always a parent->child matter



  • Yes thats correct. Sibling midi processors will not process generated events. I don‘t remember the exact reason but there were some issues with recursion protection so I deactivated it.



22
Online

1.6k
Users

4.6k
Topics

42.7k
Posts