Has anyone found a workaround for pitch bend amount?
-
This seems to do it. I divide the knob value by 2 so the intensity range is -6 to + 6
HiseSnippet 1453.3oc2X0saaaCEVJNLs1qonsqWraFfPvtvAnK1t+Nfhg5DGmViVmZX49yUKiQh1lMRjBjzowqnuA6gYOBEXuP8MX6PJIKYWgzT2r0hlq74vyg7SG9c9gomf6QjRtvxt7foQDK6KgbmxTiaMFSYVc10x9xntXohHbhUsyzHrTR7srsK8PsB6xqZY968OXGb.l4QxTYY8bN0i7DZHUkosWyGSCB1C6SFPCyY8sa1wiyZwC3S.7TBU2JB6cDdDYer1rUPV1q01mp3BWEVQjV1qtC2ep6X9qYw1+bpjdX.QKzvxE1nX06wC70HV+aqVioA98R+tkVV1ndYQgRwQgqi5R8oyzmEMthYAmLOxGOrW4zfWikDdqjCdqFCuqhb8DzHU1JZr8cnNL3hZHFtBxCqXasV4usQs3fEL0Vg3iH6I.gYdT8t0qeCm6Tu9l2e8JqWAtHjJmiwBmdTk23WLlPB5x8mDfguuFN+pigkr0HhZl1paXL0wXqSlwaDuiTV.kQbFNg4onblCm8XF+vFZDI3AU83gQbFfsa.mZvDxlqW4MqWobQm9VRhA2LIUMspw5Z2by6Wd8Ju0bRoej.3ZktqU2vbZaro14jyrENH3PfgUcdnngaNTtOWQdJq5lUdSkxUdaEmEWZ3vBWKYyBHhBWVy7EmliUYSBOjHRiFoFBTf44Xqc13XdwwjbFxYcXT0SiHIxYrvFEvBsRBp.ezNAgfoJCa7xIrQ2.pOQXQgM4BHSD0x.970CrdVmcwJb51.6HbJQDghp+Xr2kbLTuHljWFsKQdjhGYrM4dDJP8QOzSlcfu62ZNclvuSaJUS0gl0LFZER88CH83.MBB84QITuKxk9GfoHTispaImLbH8DSIngzfPoBN4NgPkIK6qgdlj33SFhmDnbjGA0I.d9QD+Abi8g4KQV8cg3SxI1z5rla+8IZyp7znnbb6+D8l1ubP696u8SNvsU+N8F71ZgDeJtlO9XRsWvEG4znFrIuh3ojfL2+0TlurlKeHEePl7i531tV7tJqs.hj0jZqyL9X5gBH0zjr9HLChphsdk7C3pUNu3poYkoZpaMKYLuprbv7ZModEXVlpSi9uTD3BtlgFIoEzx2cQ2RMYAMmL+U7rRd4a49IzxodgsbJLY+LB2qhL23Ei2UJ.u5tY+Gi2jF3qiZObHPwy.6pn8d4x1sd4fxOFCkqgbUBBFJDLxEGFArQCdpfRjZbdLSUzYdlpdBR.G6GWdK0r20bGnDGQLu1+po4n1NjOgM2Ykf79jHBVO.PNetXy98enfOIZQud+CLjkABniKDJxuvSYDHtqx+M1RvkxgvmiYuj4Wp2DwHcrJSSexwDgbdc6OIDt6YLR.3Lx1Vm4JI56ZpWWLT.+j7VaNk5Cvl6anpsQtwBx2bA4asf7sWP9NKHe2EjuWlbb.sKNRyLzC5tPkyKb1FzE1fdX3SNGKdG5nYadrl4KwjyzYwbCtxcZELT5ZeAlY97u.1me81RmM3VPDzt2G71qqfbo5qp1rigbTPiFiWC5hXFtHU670K5xY7nwbF0a9LBfgOZDQjG6E9AssRAIjYZtdy9j.BVlKk9mZ9DXxcrX9D8OoXQiydr3ztu9ATLbczE4b91nOYoO29jeBOkLeb9hou2O6IVIw3heF2GGy6Pi3AXgt2OTpMo3V1xc.9qPMeUZ2PNWMd9VVzlmaDquRGL3z3JWNYr.G3zEpuxI1WBYZj4nm63KET6ymnf4IR6oifF+tvvNdj7s+WQORQrbcsrg6QX9Fg+A9KYwFoyJnWrQ5hVdoaE7sk7ayi.rKQXZZtYd2.XJjf4dEY1qF+eAkgXOA+.u3Wynw5EMZ.TxL+CzJi5pkcl8rbDpN73V3YvzC77zIB+LDgK1matD9bqkvmauD9bmkvm6tD9bukvme4T8QOWz1ST7v3tBfhdsiIV1smQrJY8uUxZzyA
-
@d-healey Brilliant mate! Thankyou! Thats been bugging me for ages!!!!
Works perfectly in the snippet. I'll get it added into the main project now and test it. Thanks man! -
@d-healey @SteveRiggs I was trying to do the same by dividing the incoming message by 2.
But I encountered an issue I don't understand. When usingMessage.setControllerValue()
in the onController CB, I get this error:Interface:! onController() - Line 7, column 32: Call of setControllerValue() outside of onController callback
But I am in the onController CB...
-
@ustk Post a snippet
-
@d-healey Just two lines in the onController CB throws the error:
HiseSnippet 702.3ocsU0tSaCCE0tTOszMjFR6AH+YREIVUBCXHMgfQ+XpZqP0BCs+gLNtsV3ZGk3.qBgzdu1iydA1av10IARfUPnJg6OZuebRN9dO2aGFqY7jDcLB6bzrHNB+RRvLkYR6ITgB0uCBuBIRXXStXBmKc8WOwf1eVDMIgGhv3k9jMMrScDB8y27qeu69TIUw3EtxNGqEL9WDSElRuC26yBorGMjejXZkr2Xu9LspsVpSAJsDwCEQYmQGyOfZSqFAgeV2PgQGGXnFdBBWeec3rfI5KT44erHQbpjaM7QAvCJ2cOsLzxXqWT6IBY3vqu5IH3oLrrPrTdg30jAhPwM9KKHuJKfaIhp0CbsGhd9Uom2imd3JzqdN8VgDvhEQlxHVt8BRekgGOhBsfpzJOWTsMvj1ZHCko0T5Y7dwfwMHZtkm2Zta54s5GVtAjVhVxawjbZbSqG6mQoJlQnUtZ0AZC+PUyUabYCmFW0v8tgFMZtwru9XsTxiyCKF41b.bAfdbqwbSY3CRmdpMI2c1Ajcau5kK2vwENEecMljpXNlJS4M8yuANWcmWsUpE+PjpoJ6ctl641myMIB07a2TI2eSsplikWoqjnV0WILGFwU2WqFUzdfe8s9cnFps6W3CxKhGaDVJf6vOGFqx0BNjN7jyL5HXv5+DJfbUGlJolaqgsCtEAfZvsDKVAgJQXlUNW9mceRD1OV5tBYncGz74as4vWnp8Ty2h0DKS5NZDmYJIacRuu+zuS.8UcpQnFOfZhE+.zjv7R.r0jwAlnTboUmhqYUT41dVaakIfqByL9KbJB5aswEA8uNHZJkEqOgkOcXWD87LO.mTY6icHCr1t9nrIF.GwqkGZJre7DFyVJdKv84iY8E.y6V.Lar.X1bAvr0Bf48K.lsePL1+Z5ioF8z7wDvwvtYqQv3tJJnxxTjn+AzcLB4
-
I'm not getting any error from that snippet
-
@d-healey That's weird
Probably something broken in my Hise version... -
@ustk I get an error from your snippet, which Hise version are you running?
I'm running the latest scriptnode from today -
-
Interface:! onController() - Line 7, column 32: Call of setControllerValue() outside of onController callback
This usually happens if you've deferred the callbacks using
Synth.deferCallbacks(true);
The error message is technically correct (the callback will be executed in the timer callback of the UI and not the MIDI callback of the audio rendering), but admittedly a bit misleading :) -
@Christoph-Hart My first thought too, but the callbacks aren't deferred in the snippet.
-
@Christoph-Hart @d-healey Nope, they aren't, effectively...
-
I have the same problem, I want to make a pitch slider but it isn't working properly, is there any way to fix this?