Latch mode for the Hardcoded Arpeggiator.
-
I would like to propose the addition of a "Latch Mode" to the HISE Arpeggiator. This feature would provide users with a unique creative tool, distinct from the existing Hold Mode, to expand their musical possibilities.
Description:
Arpeggiator Latch Mode, although similar to the existing Hold Mode in some aspects, offers a distinct functionality that adds a layer of versatility to HISE's arpeggiator.One unique aspect of Arpeggiator Latch Mode is that it automatically resets the arpeggio note pattern when the user presses a new set of keys after having released all keys. This behavior ensures that the arpeggio starts fresh with each new chord/note input, allowing for seamless transitions between chords and arpeggio patterns.
Some Benefits:
Enhanced creative possibilities with a unique approach to arpeggio sustain.
Clear differentiation between Hold Mode and Arpeggiator Latch Mode, catering to various musical needs.
A versatile tool for live performance and studio production across genres.I kindly request the consideration of this feature addition, recognizing its potential to diversify the HISE experience for users across the musical spectrum.
Thank you.
-
@RastaChess +1 for this, would be a useful feature!
-
@CyberGen Requesting upvotes. I know there are bigger fish to fry but no arp should lack a latch mode. So here is a very friendly bump.
-
@CyberGen said in Latch mode for the Hardcoded Arpeggiator.:
@CyberGen Requesting upvotes. I know there are bigger fish to fry but no arp should lack a latch mode. So here is a very friendly bump.
Search the forum - a long time ago Christoph showed how to add latch mode capabilities to the existing arp.
-
@Lindon I must have gone through 30+ pages of results. I really can't find it.
-
@CyberGen So I came up with up the most rudimentary code that could pass for a latch mode addition to the arp. The only problem is that it restarts the arp as soon as the first note is played. Ideally it should restart and play the note in time with the previous notes. I don't know how to script that. It's probably something using Synth.playNoteWithStartOffset. I just haven't figured out how to implement it.
Little help please?
function onNoteOn() { if (Latch.getValue() == 1 && Synth.getNumPressedKeys() < 2) { Arpeggiator1.setAttribute(Arpeggiator1.Hold, 0); Arpeggiator1.setAttribute(Arpeggiator1.Hold, 1); } }
HiseSnippet 1827.3oc4YstbaTCEd2jnRsSSosTF5O2ICSGWnjwqiat.zoNWayPtXhSSgevzQYWYaQVKsrq1z5oSG5iBOJL7DviPeD3M.NRZssVaS5FSgN.6urNGc9zQGcz4hb8HtGINlGYYW3ntg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gT8RBIPg9dzEDF2qbxzwk60BSCByubuJpSY51q.VIS2dL+GYM5f8h3O0SWupLfwkUTf8MS8OpT.smbri6nUp1AR87TOurPMhfUlTAWbREr5jJ38lTAWZREb4IUvUdyBJqLXsDAui9dBTtT8szOPlstRI0UFq+.vtQ+W2
-
@CyberGen try this, it might be a start for you to expand after your liking
HiseSnippet 3786.3oc6b80baabDGTxvwj1N+0YRlN8ADMMYnpUTHkcrriap0+sUrjEqoriy3wMEB3H4EBBfBbTVxYzLd5zO.807Vl9Eod5a8s9QHuz2y2.2cu6.vAPPJHZ4FmToYhru61aue6d6t2dKNmFAdVjvPu.sRk2deehVoyo2beWVmk6XRc0VeEsRui9ZlVLuf8MVLv2XCSlUGsk122LLjXqUpzj2DIrT4Sooo8CeyS+m2XISGSWKhrK9O22iZQ1f1ixR5swB2l53rloMYaZOEpu7Bqa44trmiWe.TSpWSy2zpqYaxcLQxlPWqzoW0lB.pIyjQB0Jcpk7r2uYGuG6Jn+9zP5NNDrQcsl.iDculmiMhXrWsk6PcraDI7gZZkzajnJlTnJtf9lTaZb+Ipj2jOfQxLT0GklHM7lLE7pqBuZJvKGHURAR5BH8V5MsBn9rjQP7bV80cYjfVlfZWEJ2oeulNTaRPCPEBPQuzDfFVvAsI9OWPeYOXdtrY6Y1krV.zHlOUuRsZyXb4Z0l95Up7IeR4.RaicMCnl.zCqfs5R1OzFjJiO23gO557tb7r5RrwAT5rGnp1fFxftV0sM0kLqU.ATMaJ6u5zB5XcB752tSQHcWBrRT19EgVqNdA1g3dAPYKSmPhPf54Y2GEEvXCXBXZSZ2lZB6a0A53t.y1lvRY.TcJUxlBVf3IuXXyMZnNwD89HlNhCKud9dtvlfQHeJn0dDptifoQ6R.aWNh5pSgClfg6SbFEwhgSHeiQQ7FRRkztLpAGE8QDvmCJSgN9F1lLyD8SL7hzUo0QUqCSUPyrAjVjfs8VAle03YlUYEog3giFtffipHzXyM8rIidBHEIS51j82wyLvdnyIhfjozj7m6SfPfCcJQDj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s02fmkWwQ6K2x2NJWi2RWdMwlDG9ESGvrpf9Xum9V8Y98YGB6xwmeH3JykaGWb8F5otM7QHfpha2o0uEbPbNdbmj43uvxb7MRk43MC756yW8KH5fDRCIAF79OVxfrVgyfTD3esMU43xlAATRfrTJwK9+Hd+cfQtmKMzy0iCEwCKVEKxQWgv56FAlu+69t+0MjCzzOfXZqJlH5aR.nZyYYXJa3Qlya8wLm2y7xJm2iE38yfHBklnw.+a6BBcR646PV0EKfBziHjfr3nw8pBxMA6A+NdtTKUKx6RXAz1sIApPOW4YQFCOYTIii6BmYXFRTK81FvU0LkkDbrTE0K9sUF0106qKfqA5kZ7hrscphssUbqryDUk9njj3.9ciaZDKNyc3n8dgjsEk9Qc2aWR.iXqtMuBwhtCwI8FCDgStlbdvqpeoOTetrIPtqx25k9UstS2szN11QOVNtaxBcb2w9N43ez2wNTFkp6b5hyGPCqWAr+GMTEmX8JBTeWATOq9WBWhjmOgzWEa2xKnmwMItjfAKJR5jK92G+kmRbu1siptecUNmYr4RGG.sDpOXWonBEu0.wSgtyrPTmyo1YCS2TLCZmhSaRUxl4GtgHmHQ9GaEZABKuDSJ6oM56DR3eNw5pSLo64T69VlA1v9RpSzdgyhI2CdN8OAYwT6UvrX9eJbOIn+KvNM35Y7ylc52SGBGLmAe613m986650GemFaZBIGienXrFuPrWKhrpDw+KvW1tF1FgSShqMuA9.JjCVO50yfCVOZvw7bl4N4bleobNS8SNm4jyYN4blSNm4k64LmrFEeM5YZE380VhOv.u3k7df8OW9+OKpr9lXai5C9oEv+kp80VVoY0.SbtwchWZbm3kG2I9oi6Dux3Nw4G2Id0Ceh3IkK1m40S3uCYLzXUQAuJIRVf65q8eQwcuVo
-
@ulrik Genius! I'm going to dissect this tonight. Thank you sooo much! I was in the process of writing a rather simple arpeggiator just so that I can have better control over it. This helps a lot. Thank you.
-
@ulrik I updated the snippet since the Latch Transpose mode didn't work as it should (it restarted the arp when applied)
It is fixed now