Connecting a knob to a timer
-
I'd like to connect a knob to a timer. I would like to have the knob start at 1 (min) and progress to 100 (max) by 1's over 10 seconds. Once the knob reaches 100/timer reaches 10 seconds I would like the process to restart. Any ideas on how I can achieve this?
-
@TNTHM
try this:HiseSnippet 884.3ocsVEtaSCCD1oqdr1sgXR7.DMARoBXJAXCDSHJqaCUM1VEEF7OvKws0ZN1QINCpP6cgGQdCfywIMortwnRTo9Ce28c22c9tyoWrzmljHiQVMd+3HJxZEb+wB0nNiHLAp6tHqaiOjjnnw1FQ6LNhjjPCPVVK7Fs.qF0QY+94q1gvIBeZoHD5DIym9VVHSUJsW6CXb99j.56YgUr9os65KEcjbYJvmEvtnHh+YjgziHZypgQVKtW.SIi6qHJZBXyNxfw8GI+pvX+IrD1obp9fGpO3HiXTmQLdPuhbMAgrp2qLyWvj42EeHKfMQdYE3NYJrKQTsFXUaZJUeJJ4cUTZeIOP6fqfdVUnWcC8VC22OlEoJ0n41x3tB3xY.AJ6UokwVTsUpg6HAKDpMBImQ2OFNLAgyVttOzdSW2VauZyUaBE+Dk84jX6dDAk6Y+R6BrCopNxvHo.N3rtQ85+IpCDxSuZPYZywXbvFITktCHtCgyOEtpcFjJ7ULovoUyu2rQoUmP3oTGO6GX6jKbXgvV1221ysk1uMf.mH4zMhhY5H1QlJT1rjWrN.7x3xfjwpxPbIqpXj+HhXHMvo01Mu.9WlEJRrIOb7b00xhrvVJNRpnGmmNMuno8epZvfYpSWAikbN3xYo1DrqAniHM7TZ7CgqEHKlXHzKMcy5x2rlUeyEZECkhtBl53HZ94x1YsNSVWn0EMIYqJpLGqJMK0lgYkht7zBJugSO2jaNXpJap414SM84r.ZLhAb7V3r6STVsA19rXyhkUen6tDEovMfGgnDQiULcsxZW54vtLyvXC7tzjyTxHXszjdbn7ZB5pEip5FjrXtD1zrf91j0ceQ1db4tusaip3mE+qjuzO+fWwOs+X6vo2IGRJMEcu1nKuXAVuICR4D0z67zK2yU.8VSsbQu.QjvTiqFn+gEgtybQn2r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1jqoIeS0pYs4jMpruSOiWpNnppXB+AkS3AbVDMEw.Lhwv8Fpnx.6IuyOTsV8MiOlnHUNA7GDiDZphoqTVGSeOr00r1nC9XZ1UJYRgtkM5P07+Hjeb0Z4AuYvx5czWL3CrH0BPMqq.xET17EMVsOdPLo1TzeN.d4HIf8WTse866ghnyH4bSaXymNhW+kjXVTDmNQlwzMKM8OZyMiv9YYTNmnVeos90oRAZezb6ndCn.78xlw7aXSt2V2j6us66uR39P7DlJbw1waqsfW3t++a7V9tXW7nYyfE40fsM9j+XWeD7a.J+tLWwDyOknRYPSE9r73.3WCBo.RDBJOS2E1ROSYn8zz5JS.UDUP7I3TJzWSaUJzuRHJlDlJeanYRT+x6cK3.XRT7SGcf+9Anc7qFBwXOnMF5OYuMLTWJdBf8sayOsC17y6fMGrC17zcvlmsC17K6fMO+VsQ+uXuLWIiMiI.iIiJVFZYMRPftrhNRzmAXAghmD
-
@Lindon Haha you beat me :)
-
@Lindon That's exactly what I was looking for. Thank you!
-
-
@TNTHM Here you go
HiseSnippet 992.3ocsV8taaaCDmxwLq1atXEXO.BAa.xXcAxa8eXAaSMNICFcI0XpKqeqiQh1lHTjBRTcysHOC6UnOJ8goO.6MX6nnjobhRZg2lCxG3c2u69cGu6nllIin44xLjSumsLkhb9Db3RgZw3EDl.M4.jyswGSxUzLWin8WlRxyowHGms9Qs.mdcQk+9qeXeBmHhnVQHzoRVD8mXILkU5zfmv37iHwzmwRZX88BlDIEikbYAvmsv9nTRz4j4zSHZy5fQNaeXLSIyBUDEMG4zceY7xvExeWXr+TVN6LNUeXDJDbjQ7QRdrlwZonwKX73o04cNB7xTaUXKSU3yvGyhYqjaqFeZoBWKhl0CmN2D8F0jd9sRO+1nmSC500Pu6fCixXoJqFM29X7DAbQMi.WAMokwVTm20AOVBVHT6lPNmdTFbXEBuG36eW2666ObuA8GzGtHxUtujj4NkHn7QtemaM14T0XYRpT.G71wndmKi5IB4YWOnRskXrHTPuv0BPqrJFl.taNUo6dxFS37yf1DuYEhHESJ7F1+086Ys5TBuf5Mx8Kc8pDNuV3P2uvcj+Pse6AwMWxo6llwzAbrrPnbY4e6N.vqhqDRYVXCwUrpgQQKHh4zXug60+B3eaVnHYl7vSmhWBr4OlfyDT257yEJPfo55Tlj6EUWjtKTEAjCGz+0Cr4u0+FsfWu.9+lpx5Lpx6qJtqESsSZvlSjJ5SqJ68unu6kUMaVq5pbFGnVapMj9F.5IJRNilUm10FByHqODhu9gvl6HhLUjFFJESDL0SSohqayAppLBCocpXEXppbD81UingbVLMCwfIwOBW1LfJILr1a6sp2R9A.dar9FXEVyJS2n.zuL4.hhn2STwFfgozLESm7NGPeIr.1r0nG9.Z94JYJDmU25P8xDyA06TzcNkg7VXSWD5OVEveSFrztvdu.TC+r86Mws94M7F9I3WCRV+gjDh0TzmuVT589pPVjusYPdS75A46CZFjf+L.diKMj8Jv2X7nc8QIr3XNcpLmo66r.YA4Eylw.rcwIPSvU2NCuQHiK3D05ObnesrRg1gM2Pq2BKf.srYQ3e8qIs1x9AR26fmxTQKZmucZgu5Yf+m4a0ayCvGNaFMRYIaW7QO++1GhakJ+rrPwDyOlnxzW+3SJRBgOUIhBLQ.CJ5kMNcziyly95y5JSHUDWd3ugeUJGoO6TobTsRTBIJS9hHy9.8q+2pTBvIQ4GA0C9ZL3r6psHXruoYk8hnHco3q.t2NludCv7Ma.l6sAXt+Ff4Aa.lGtAXdzMhQ+8fOtPISLiIffoGVtQ1w4PAA5xJ6HQ+CrGvULJ
Notice that the minimum value is 30ms, it's a general limit we have to respect in Hise in order to avoid message thread cluttering
-
@ustk Timer runs in the audio callback unless deferred.
-
@d-healey said in Connecting a knob to a timer:
@ustk Timer runs in the audio callback unless deferred.
Ooops sorry, that's even worse then, dropouts ahead!