Can you script a button to control a key on the piano?



  • I'd like to have a button, that when clicked, acts as a note trigger for C3. Is anyone familiar with a way of achieving this?



  • @TNTHM Like This? For Drum Porpuse?
    @Christoph-Hart said in Like a drumpad:

    HiseSnippet 1750.3oc4Y81aSbCF+RaOTSfhFS7h8BdgEZSKUTJ4Os.ipIRaZKJZDHpoTMIDBbuyWhWuXGY6zRXBI9RruG6iv9Hw2fsGe9tDeooo8.Ff1NIPwO1+7yO+6w2ie70VBtGQJ4BmbWd+g8IN4tha6gLU25cwTlSiscxk2cawfdGxesyVC6ikRhuStby+Hc24xufSzy6e3V3PLyiL1jiyAbpG4wzdT0Xqup1uPCC2E6S1m1yZzqUqgGmUmGxG.TYd2RN8wdGg6PdBVOr4bcNlRNQ5jqja0JqJNp7guYyUm34Vg0Wc0ffz1c7FHDDl5..tSN2b+M7jycGephKZqvJBLmKrE2eX6t7SXFWe.UROLjnaT1oMvIi4c4g95Eu1pS8tzP+VIpmzAl6Vi0x4MZ40caR8oirOVS+lnNPiQXKs4laVzq74SuRSid4rn2BF5cM21dBZe03dzb6xtMXJhH.CQSaZYFqyb+wht04vHXpU6gOhrq.ZLBQw6VpzJn0KUZ4MVpvREtycPsgUBAo5RPjiALHpOhGD0tCgQDvRzGw3JBJfKhLG0fyVcoBvNBoBcLVXf1vWh9Yzyuc4UPl+8hDe7LIAgQAzvdREPRjhijGQYvzQknCGnTbl8rsUjkxvjkrP5PT0485yYPih2Lt+apWCvr2DVkHpB0i2C5FKFhjbXpwvZI.MjO.IHgDrzrH6wGHIqnG9IvFcjjv7ApYVSAAndfNC6pWpPrOVUR.GRkMSl6atBRIFPlv0LN618IBIUpo6X+Cdgy9QEHkfQ7wfTBq59BBLqRDFbsGNLDrxYPGTEEGRkXEUKGoHfFaCVqHf.CBvgRhIB9gquUNG8sRj9F+6YoCoFxYyzI8e0yw+Us7e0y2+Umk+CFv7zxJHzOAB0OkUb4B+9REPvCHe6qkI86JxnsHFAC0gi7g2oS1D0ODODD4lM1tQz1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1ioLBVjJcW1jhxWboXVgquy0PWjNUO5+FEKL++6KVXVR2UiKU.AdWn9JONeE2ny.P5hQ9RQ083CTPQFMwPB.ntdWnZf1PEPdD6ZBlSWmgocojB0aSX9kR9J+wcVNo.BcmkS5zwKYpf0V7uit8Vt4IL8oHQ0.GBklDZukVB0YooDbRGbSAcPsm9zoEzJGXqMb4ASFFCeNyhoZR8ZwAwDdORmzwciOOK5dXOA+kdlOXjdouXjEfArn+LK4capaiJ6DcudSvpGbt2K87zuUcaHbMcDUxLhpYFwZYFw5YFwcyLh6kYD2eFHzEYr4.EumIGqiy+.7xebm.
    
    


  • @Natanr Yep, that's the right idea. I want to connect the buttons to the piano roll so that when I click and hold on one of the buttons it triggers the corresponding note in the sampler module. Do you know how I can modify this snippet to do that?


Log in to reply
 

12
Online

621
Users

2.5k
Topics

20.2k
Posts