Fast / Safe Scriptnode Usage
-
@iamlamprey expr node where you call Math.random(input)? That way you dial in the "slightliness" via a parameter in on note only once instead of 30 times.
-
@aaronventure pretty sure the core.expr node continues to output after the note has started so the ratios will keep changing
-
@iamlamprey Take the cable_expr, plug it into voice_bang which will capture the value on note, then plug that wherever. Don't forget to wrap it all nicely into a large block
-
@aaronventure nice! i'll give it a try, cheers
-
I've added a random mode to the midi cc node, this way you don't need to use a expr node, randomizing stuff on a note on is a pretty useful function to have.
Another neat trick is to use the FM synthesiser node - it's basically just a sine wave generator that will use the audio signal as pitch modulation, so if you create an envelope signal there and feed it to the node, you'll get pitch modulation without having to use cables & containers.
HiseSnippet 1651.3oc4X8zaaTDEe1DOI0osPKTthlCHHHhhhKgBRfTbhSLMh5DSrIp2BS2cb7f2clkclMIFDmPH0KHN2a7o.Am.INwANUwc9.vg9M.dytqsm0qSZhoobfDojcl4Mu+968mcaFIcYJkLB4Ttc+PFx4Z3V8E5t05R4Bz1ahbtJtdrnW+8nBOzF8CoJEyC43L6GZHvobITxOOYsMn9TgKazVHz9RtK6d7.tdztMq9Qbe+5TOVadfE0qVcaWonlzWFCJyr3UPgT2dzCY6PMjMCF4L2VdbsLpklpYJjSoMjd8a0UdrHk984J9C7YlEUPs.FktccoumQiM6hp0k660bfQqP.WZNxELapK3V3FbO9v8G4JtQxAjQ2v1e3LSd0a1bpWEa0aEK0aBpjikJUJUktItkaDOTO5jzPy1BMKpCEb61pRJsHmeAWSBDHzKGP6wpGAKFdgEuyJqrDA9ya99chEtZtTPjhcjZ1thEeyE9xEJuvWs.Y7i5zYhmYDSjz2mEMwiMQ5ny5hKJhCd.KZIxQT+X1PBAyOuOEe59T6PtapUaQnTrsfq2MjINMf.JyUAO8IauIUSMAhr8.5BYQZtQEb1jcDfpSCKkwaxT8zxP.WWHlAnEoWrOUmGBYxaxN.7A4halfiPw08syqdlgqNup3MwM4Z2tSVGmYB5H3otLzwrrwqi2pSGlqdjBVBW+9O+R8VHK0CjoQ3WKa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vXdDsj3Fw.iDjx3zShUFFRIcLdTxvwSHuNwMsy5DJomumVoyFMuZ0hn4GeNQyecvumgFpGw97XXvt9OCwyWczqSMhq+0G+iu527V+wSCM+j0Jx0EqdZXrajn+Mh807PedQH8SV64.j1HjSooOL8K2zb7.ZTk7X5aMpy+PRtHi+7+it+ktvEzq9cmuTfO8k27wmY2+WqJ5xW3mZ2j7R+xqV7kRKqSoFetWI3LguWCusZeyotT+ALGftVIVWGGHExaq.twj4yrdoztE1mOsuVQ975+05+FRYu.ZxqzOcebsmGe.h.paj7frWx0XbWIYG3UjEIeA5x3Fl0jJniFOpadi3CbcyypBW71S6Ee6o8hqNsW7cl1Kdmo8hu6zdw26oeQyGsO6UQLeU.HIs4Vo0cc1RXlIII+.8O.aAtodB
-
@Christoph-Hart very nice! btw is there a way to auto-collapse nodes within the XML doc? i'm at 1% cpu usage but all these open nodes are lagging my screen like crazy:
-
@iamlamprey are you using a clone pack ( whatever it's called) ?
-
@d-healey nope just a split with a bunch of chains, i need a lot of different things being controlled at once so im not sure if clone will work the way i need it to
-
@iamlamprey said in Fast / Safe Scriptnode Usage:
@Christoph-Hart very nice! btw is there a way to auto-collapse nodes within the XML doc? i'm at 1% cpu usage but all these open nodes are lagging my screen like crazy:
You can click on any node in the list on the left and it will fold the others and zoom in to show it (I use this for „navigation“ for complex networks).
-
@Christoph-Hart yeah i mean do the nodes keep the "collapsed" tag somewhere in their XML? im using a python script to generate the network, it's not a big deal but id like to cover that base if possible since i don't need the network open ever
-
@iamlamprey try it and find out :)
Spoiler alert: Folded is an attribute :)