timer functions
-
Hi there, can someone help me set a timer so that it activates an effect for 10 seconds, for example, and then turns it off for 3 seconds and turns on another one then again 10 seconds and 3 seconds ....
-
@treynterrio which effect? Just bypassing and in bypassing will probably cause all audio to cut off so I'm thinking it will need to be done through gain or signal control.
-
@d-healey it was just an example with the effects I want to setup my timer that it runs 10 seconds then 2,3 or 4 seconds and then 10 seconds again
-
@treynterrio
You could do it like this:HiseSnippet 1113.3ocsVs0aaaCElJIpHxsAXsX6cB+PgyVPfjiyhK1RmWbR1BVShWcWQySEzTz1bQhTPhJodCAX+j2+fLRQIKp3KKvaUOIdtouy24nCO8h4XRRBOFXU6cShH.qmY2eBSLt6XDkAN6Xf0WY+NZHIFdKULFFgRSHPWOvQShPIIDefk05+jxTKmM.YO+8ObDJ.wvjRQ.v64TL4MzPpnTZuN+BMH3TjOQ8AJk2pyYXNqKOfmJg051tfHD9ZzHxEHkYqYC9YTxXf0WauGwuY61n8as2d31upM9.LpMA6M3.2lng960l3Ovu09sP.qmbhOUvi6KPBRBvZii39S5OleKS+AdOMgNHfnN3A5K+xZwmxC7UonRJn6XZfeuB9JAHiRuR1acM68k1mS8oSkWxheQlBXoGlDn0ZUg25UfmmI7bMf2bfjkAj1PComa2GGSiDkZT34o1mwDj3gHYcxDJZaAqQ1vtKWZASraH5ZxowxCS8nQKW2cfMcc296pUSVqRDv2fFPB7fGBK7ZDQzkGFwYxCMpqUWWZu17HVvaSYLJazBcozjJt0WvihH9vk4WgMJGqESFAw7TE1k93NEwgxRity9P3IrQTFYWbLQV.xDd4femfEMTAXpg6lPDYuzEEDLP1S1Pop3fxTJKPFG3vTFVP4Lno9FaW6Oq4nIBUjZTWP9jn9Nv5ZTPSfwk4qSY5uahrSPkqw7fFh3TRt57rrh5gnfDk96p.aAJVC7Fd5ZVNEjQKOJNnzxYIgbxcY7vCLQSEzgEtB+dnm610bjBcJKUEu8MPOYBeWMmJt7Z3qfu7kPiHredDVJEmnIsLJdQbbAI5rHVtnH3Xxw7HMEmo3w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mv7XWiWDB+jDAVEVTN.pUYc5UcM54VldNkn2FnjVIJUKkROUeDIhMSVHQwmORe.WRifvy52ko5hp7mUz6J.M3xFSwmSONBVbsE1sbb10poiS8CMMg6pXoUeHlSjwVuv5s41MgJ6JlNSvgE16b7O5tS8cMst42cocy+UZu2N0eGvkH5DK+EC3dzE.SbNLAfE+JhjcADZ8.PebXL8ZZKAj97ILNsAIhBpjjne13eFNL1voS1HlJSv5hCCGC4g19y4f6Db65l+hoguHxx1egEimGBpaZX3unQLb8oXajHzNYOAuYXZv7sreVIFAZCdwHy12lQ92sl4xn4IVaTbzry+8KegkacqOOeyaDR4SjAJkkAr3FwRbTJ+sccbRtvLtRwCJvnMnTyLcTLcsvVYNen4UpKd4M8tBL8KOFYI3mJjzyxBVlWYZcSQ99aTV1YODb8lDmto2ig174SGSi105BbHD8xUDpJVuTS+tK0J2Ifjl2URQAe.mIOaFkeW8GPYIqve+vfdXIVUelgA5MiFIYJJn0idAzcLsZ0PuGM9boXF30qyvQZOVlH8I40xXNMDwfJVccnvBsnn6YuNKKVLnykLOYPAvO0IfxlDHKivjzo4caMdDxX0JEdAZyDXTJLpDoLtOR0rDo98wefjZ0uh1DoxguH+RSq5Cle6Uhecl8gFz9sMGz9iU2he2tAMLZP3MODKWedgZpZl.HydslzpFw7XlbY4ot2bHRsG1Pj6eF2CktOUeHSRB1LeqrA9B0B+ey2rQxOQOs2XAYqAW+2672+anx2KlKY7ImfkQLHWS+z4SGAYFDJvDNjJp59nUQURkt1QsVEYFQ4dIKVAeYBcUq0xD5lKDMEShDumj1yS8.fGmf.bhm7XIC8STqsbQI8AKG+mBuG48Dx5t5VF1baMbus0vVaqgOeaMb+s0vC1VCa+Oan54huZtTLMsbBgNYX+jgHZZ84XHaLIyE82.kuALTC
-
@Oli-Ullmann @ulrik I assume both of these work only when the UI is open?
-
@d-healey
I simulated the suspension in HISE and it still worked. I usedEngine.createTimerObject()
so I think it should work. Or not? -
-
@d-healey
I guess @treynterrio will have to compile the snippet.
It works in HISE... -
@d-healey said in timer functions:
@Oli-Ullmann @ulrik I assume both of these work only when the UI is open?
My snippet works even if the UI is closed, compiled and tested
-
@Oli-Ullmann it worked without any problems