Scriptnode LFO shape
-
I've built up Christoph's example into a larger module. I'd now like to include a fade in time to the LFO. I've added an envelope and tried it in various places in the chain but it doesn't work as I want.
Any ideas?
HiseSnippet 998.3oc4W80iZaDDeMvVUtzVkTEU0G5CtR8Ahz0HHIMMR8gvcbPDp4tCcPt12P6YObrB6ccVulTTU+t0OB8yP+DjuAsy50fM47Qnz6hpT4Aj24O3eyL+lYGFnjdPbrTQbpOZQDPb9D5vEB8zNSYbAo+QDmOhpgXM4vEQr3Xvm33T8EFcN0qQR+71meHKfI7fbQDx4RtG7RdHWmKcP6ejGDzi4Ci3gEr9Is66IEcjAxDDGUoMIQLuYrKgSXFypPQPz0mqkpgZFBFhSsCk9KFNU9Fg09y4w7KB.ygVjg3OjUbOYfuAwFojNS4A9CVFuwDhCcPdzW0F82mdL2muRddV3toJby8nX9vox5vq5ZvqUQ30r.7JARNEfTMKjtGcnmhGoy0Xvycn8EZPMggo8hPwZKw42ocjnAB8CCYyfdJ7vJGZ7zlM22E+5A+vjDgmlKEtRwIRMbpnwC16W2q9d+1dtuqpISJUm40njAAfpT0lJsZSN1PjDdAn12cNKHAVYHF9qmSoWeNsXI2yF0ELTJ5K35Si.w0QDHYoJ7oW0+HllYJDYxP6h.klaffyQvbjUaKK0oGAwyzxHjWekZFxVj9IAL85THSeSlBLGrVcyTbDwb8hh8UuKup11wq1Lseag68nC3Zuoki2JkfWLqcai2rtzOk1cxDvSmC1Zzd+7FaIuwgxmYgxcnC4BHcjYJP9hzyt+DaN39BP.JSRs00M8r8W24O11omQa8zyS8z3qejhIhijwq8CODB4ijBSFIW3qhwADvqOyTkKJuijoJU0aedOLHK0mgLchJktbPnLQnWidTcqqIEaoWuqof8kL+r1s0H8Onsd+6mTr62.UYvUVI3tHmNLJ.5JlCA33vTL9437uIrj.8RoqSxOVJjQSkBtWQFvYfVwu7RPUD6kFPGn03N.4Rte6yf.fUjM+MseIxBYJLOA6Xtn0+3aiKsd8kTKbcMclt+mZBO0B6uJaIBC.Omo3LgdUbjFBtYFXCgLSbWYyid+gxxMO9SZ9s7QJHhofQxAArEMhYFVDNx.1209b7.PcXfza1UWPHxFCoZabQBNuWcsqlbiu0x6a2D5MDCqvlGm.52HUyRocYOiOYKMwoo1wZrzLdtszLNbYoo0s6VKabMfp++bMfyjIZt3xiY3zreAYCmjDNDu80CPjHDPfYcUmJlxq8bSyY60uB+zC+E9ISYKyYmLksVp7Cx6Hj4oji8rjcCy6iSkfwsH8edUmdr4raKRZC.5Gs4CaRBwqMG64YR2eKleJ2mGsC973cvmmrC97c6fOOcG7462Aed1F8wrwxAIZYnsUDELnaZuuiSWACYxordxe2XsKAI
Also, how could I add some random variation to the frequency value? (another math node? or could I feed my noise osc back into the freq of my triangle osc?)
-
@d-healey Are you using new_layout? Because the snippet crashes on develop...
-
-
Also, is there a way to get the Math.expr node with the smoothstep to be bidirectional? Currently it always goes from 0.0 - 1.0 but I'd like it to go from -1.0 - 1.0
Actually I think I can work around this by editing the modulation table.
-
Also also is there a way to get LFO to restart on keypress, so every note in a chord stays in sync?
-
@d-healey Built new_layout but it crashes too with your snippet...
-
@ustk Yep, my snippet crashes here too :p I'll post a new one when I'm back
-
@d.healey Your snippet contains a network that was saved to a file, so it can't find it (crashing is not the smartest hint though).
However I still need to think about a good solution to share scriptnode examples (including SNEX files)
-
@Christoph-Hart Got an idea => SnippeX
-
Ok well here's my network file.
-
Or Snippnode...
-
Alright, here is an example snippet that might answer a few of your LFO questions and the network was saved to a file before so we can test that one too :)
HiseSnippet 2016.3oc2Y07baabEGPTqrEsqqShmL4POrGxA4YT3P574jNSsr9fd3TSYNhJJ4l7JfkhXHvtHXWHJzN4dtjomysdr+Kza8OgNSO1a8u.+eP66s.f.fjhVhgVoI7fD1291cee768wBzKR5vUJYjk8lGmDxsruOoehPObugLOgUm8sre.oKSo4QzTR6lDxTJtqkscsmiDr2bcKyuW+zcY9LgCufjk0IROG9K7B7zET6syezy2uMykerWPIt+jc53HE6I8kwf7TizzJj4LhcN+PFx1ZD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c8UqY1Gq29G9lj7K1OSyHqnhW27B3S+tBqz+NDR9j.oa0DJOf.IfF1HetEjJYKrJGVhBhOou5iZ0nQiVuJONGp37plFJ0m5MPUotwUl4cia4Luu8dkpK8GRo1up+PJ2JexfaiyHf4DIOMqgODFeWCEPuEluK8ljt3XZKqKxJxPZ1noEdw3ScbPS7G0xxZ9q4IKwZ93kXMexRrlOcIVymsDq4yWh07EKbM3KHOqSKLjCHz6fzZV1EscVy5+we+39x
-
@Christoph-Hart Yep the snippet loaded. Thanks, I'll study this after dinner!
-
@Christoph-Hart Thanks. The resetter works, and by removing the last sig2mod in my chain I get the increased range.
For randomizing the osc frequency, I'm thinking the best way is to route the output of my noise osc back to the other osc's frequency control (via some math node), is this possible?
The attack time of the envelope in your example doesn't seem to affect anything. I was hoping this would work like the fade-in time for the regular LFO modules.
Something else. We discussed this before but I'm not sure we found a solution. Basically when a time variant modulator is assigned to pitch and the modulator's intensity is at 0 the pitch should be unaffected, but it isn't.
https://www.dropbox.com/s/ntz5irejmyk0bxk/simplescreenrecorder-2021-10-05_22.36.17.mkv?dl=0
HiseSnippet 2743.3oc4aszaaibGmTxirkyqcSBVTrXW.UfdvKZh.odq1CwwuBL55DsVdM5MiwTirHLEGtjTI1sneP1a6gdZAJP+HreD548Xu0a6Wfh1+yL7wPJQYJEY2DTcHvyq+yu+u+OCmzykZP77ntJpkO4ZGhh58Q8u11eztivl1JGtGzOxZH0m34qry0NXOOx.EU0huhMrZ40Tfe+6+1O+hcvVXaCRXWremRMMHes4XS+3d6s8evzx5.7.xIliklcisOzfZuK0hNAfRQjlhC13R7EjWiYSq.RQsz9CL8ot88w.XTTWaG5fq6Oh9Naw7O0zy7bKBqgtRefPhtOfZMfgXVuJ6NxzZPuPV1SAHZuXAPQg.3oniLGXF0erf3S3CTIdExxC0BIgWwDvSWFdZRvaFPpfDjVS.oOE02v0zwOdDFdtG5Paeh6PLH1kghXtJp+DZWJLAa+piwWRNvEZDsfsZoo8rJv+7U+9gSrM7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W9ZqCxsNoCOzI4Iayza6lCDjmpWuW7UrFtUeFiZZcE+Z2tUiN0Z1o1pHHTxH5SaU+d61mc8GqTRmvXdM45ztI4xooeT.46zfy7qbrbmKLMxkcftkPu3dyS.WoK38FuD2of7CgZ0uJKTOqaaKEtU1dow8RKlWG0eD1I2FHr7kMqky6JH3PSqFfFcL6bb74HwbSdyz26wx3lsCkd4XL+Ko9d+5iV5WsRw++7UqbLchOjG.NHrq4UrO7zjw8gpCLB+nydgW.VPasv5F5SrGva7efeACpyZqFLnd3fxr6WJX2Gi566RvigctOuPL2fOATPqre9Ke9e8V34uzykXQwCDIuBm1Oss3HOI68uuMeqB+V7w6U.xOl.G.2mmzKZvM193iekKchS5U8KufaPdhK36wRFKMvarIft0WlG20k54MDXGNs7jGp2D370Cj64XxagzVI6CzsxZUlh5a8HL6ISiPCf3Yy2EsSvbaJnzNda8Tsqkpc8TsajpcyTsakpc631BA5QXGQFKrkOcn0D3DMoeVjqmu2xAPodXf2kl4NlWDsKhdj8Vhj2bLI8TauKeGs2oO0o2+Wg3p4Y+VNDi8424+9AeB.NFeLD1eHFJjHr2jwJNhZSCe.MxdCf08EWvR3Ei8YxPAIBi54oaGdSuQc8a1V7LOR5juPxB87+lulm95WEj2tBK.WkOnd8naD9T0DOdtLepZUBeccbVHXJwO0N849vR+gu+6+Wu.BgEDzfMAHpmufu4cFcvT4hn90y6gW96XOUpUlp7NrzjUySLr7sfdaJ7+C+3O9yuXGSGpElcihE9nQE9AzaLddVSOLnNpJvt65+A9aI+9Hdl+JrB09eETuKpB1HjT.uE72BS6hjvuTuZAKnrMKYubOnFTFjX2s1cAJGiMbomE7tFXXcCdO.Js4+OQpLbNbncE8v+uNHNnH6qbblgQ3mEX1qo1Rrl5KwZZrDqo4RrlVKwZZuDqoybWCqXxfOUHKzHzQu8EFVpQOAD0hJ+W.DOlgdA
-
Actually I think I can adjust the gain of the osc instead of the modulator's intensity slider and it will keep the pitch centred.
-
If you are trying to make multiple lfo shapes synced together, or reliable synced multiple layered complex shapes, you could always use a phase ramp at the core and run that through shaping like sin(phaseRamp) and for getting double rates just use fract(phaseRamp*2)
Is there a way to do something like this in the nodes?
-
@MacroMachines said in Scriptnode LFO shape:
Is there a way to do something like this in the nodes?
Yes, see the various snippets posted earlier in the thread.
-
@Christoph-Hart said in Scriptnode LFO shape:
here is an example snippet that might answer a few of your LFO questions
By using CV instead of GT I can get the envelope to act a bit like a delay, but I can't figure out how to get it to work like a fade-in. I'm thinking I need to connect the envelope to the gain parameter...
HiseSnippet 2037.3oc4ZrsaaaCkxNzoNoc2ZwvvPGfdXCHCq0PJ0IMYa.4dJB1RhQbV11SALxzwBQRTShNIdC6eaeB6aXeA8On6PpaT1xWmaeXUODXdNGRdteNjLMBXVzvPV.Rq5487oHsGha1yi2YuNDaOzQ6izVF6xBnbZHODsaOeRXHsERSq7qDDnUcAj760asKwg3YQy.gPWvrsn+nsqMOCZis+AaGmCIsnma6pPc8sOxh4sGyg0EXlxXCjOw5Fx0zSHBxJgQZUNnkMmEzjS.tAnYWVqdM6vtyKh9KrCsuxgJFXhZBKTDXzdcrcZ0HQPCQvB0HSrKGI1OAercK6T3Yh+GIQnmMCUcfVoQwRlSAKoovRKDwReLtoUfsOOCSj43HONMnMAT0prRDsHs+BuGCHviWykbC8v.XP5DVYcCimoC+4q+t1c8r31LOcl2ILN8TuU95k9ikptzetjd+nZ2tPbhsIf43PCJDsv5FLpIthWW2qnAOS+VhSWZJgf3mWmVYxzoVQRsBgLui7r4m5SiGeHyokPWI98fV.TrZC90Ocz9DNQXThgAz4SC31B1Qae5sfWcjIpJdeZ3MblO3WOf8C7bXs55P34cmDwMwH.8QNanvP4EZy6oFW0uO1BCWeXnnOFizNgr6GiaXys5TL+Vp.9EzZus423H1GgOncapEOiYW.e3uLxvy4Nq7fHV4ywuxgcEwISAB9M.WQiBY+hXz5o30SIvbD4T+6IMmp+DmSUq77Jg0Busxg9N0+9wCXZBmqQjlExwisB.NhkeZbE.gU8BRfMwimx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LVeRSINW4qp3ynNzbY7dya1pBB8qailzhbiIC8foRKHiBJW+Fg1WupKqU9XtO.CArcpkfapJ9WZ9j0XLIyUjgJXJ3umW.VNR.jHlRtWMaQo9xVTAumRuD0wGK0RtLFuSHXUVw1yuK+Y5F0Vqs9yiNwV7nuI97aoUdRVxEw6Sup60Iqo7LZyUM3hhtQL1nOUlOkbS+pLYOeRDSkJag4W2d4swE469etHdNcaIUca+cnMNcctAirTvBIkBhNm4XpBT7tg5mU+Pv66d8hY2hagc9vvJmFarm3ZlrP6xX23RjWCwa0Kudj2Fb42OuM3yXc41dWC40BrgHTQyQMg3dqjawILo0n3wFIYDZR8ZIG7F3KFooXrVLRyDjph6GDItKiaBGsU9RcRg8Ski0+YxsT8WQgC8N30+ob2x5W7m+07+tkO0hCa+4ADuPeVX9ltnt1my7DZ8Lf+THUDKFc7KE36wHAEh50acHHjENmlDd2.oKYxslo3BVdltt17uSiB8+u8xv+u+1TkmL1cL29c0Ddro7zKGDeXFIO9IPRq1DHcZBz7N4Gy7XI2mZlGvYTH375qo4Z4uPAJtO3THOY6jNPSA8ka+ifWHIPdGIyltX5eK3BsWeVba6Q29++OdSwIqJxb0O6owuAzHdkk3GIZFekk+dqcs8YNDQibkfrdmSj7p3Xg2BUlilmDXzYB+J7p0qk9s4dvet8T3Os+lTf2dJRs6iueTuv32Nl2HZt4399VY42E6gKwJfcY7UjIbfefDBH2dx+uXpB8zBi0MQ2p1Kr39tuzxJ4DCEOmUmg47hYXN0mg4r1LLm0mg47xYXNaLx4HptGeAdhXS.PiChhq0RuaQsxn+Ef7Wl++
-
@d-healey said in Scriptnode LFO shape:
I'm thinking I need to connect the envelope to the gain parameter...
Think I'm getting somewhere, if anyone knows a more elegant solution let me know :)
HiseSnippet 2152.3oc4ZkraiajFtnjK4sNqciffAY.3gL.NHcKPJKukDfVdsgwDaKX43YtYTlpjEgIYwPRYakAA4Zxo7vL2mIOB4RdAxSP+Fj7WE2JJQQszx4PhNHnZ+e4q99+qpT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Cf9dPMewM+jqmOBbtwQGwMYLSdn8XrasIhK56Q84gJ78VJ+Wy2a4bVu.Sma.dMOSXGJOSsVv9di36I0ONOsnxZwLBsnNsEE9M3STi57xJQMpG2nr591gp6p3VvwuEuEtPY+.QY0+E4Np5qnvAyG9B1kd8F0K+1eZ9+5MmYD.K+EdDGeWle1jon1lWvb3V8zJ+JeJeuX3ACkpeeFwK2ld8KOBTxbGSKRPOOAjL9dokffkmoGDI6KgJ0++z9bSu4u9a4ISbGy6KsbrL1RbTpCiNYkPFeefzpCAnSiqMKH+DlCK9EKRQ.mSgMm2bCM60tkmBEk8aRMOqQbFnIU8wM9R.ER7D2dyrYKl9+sE45u9vnj0Cees+b7p8SVTj4JN6ihdk0BdGynmgcFeGye9k6Y5xrH7D4JArdWPDxJ+vf2AQlCGmnxvSB9Ov0pWM4yN6Cec2YvWc9zjJu6Ljb1GeQQug+mMlWgctAb+qVX4+HVCahgG6pn6qiCfWRTCn2Nh+4YKC4zBkU0Q2ImKL+N4uxvH9DC4OlZyvXVeFFS8YXLaLCiYyYXLaMCiY6BGCO5dzsIx2aBUz7vv80JoOkWYzuCQOww+C
-
Thanks everyone who helped me with this scriptnode task. Here is the final lfo. It actually combines two oscillators, one is used a standard lfo, the other is used to produce random variation both to the output and internally to the frequency of the first oscillator.
HiseSnippet 3057.3oc6as7aaibFmTxiemjciSCJVrEPG5grsIph5s5CHG+JvsqSbibb6dxKizXaVSQxRR4XuKJP6shdoGZujdY2C8bQurnXQOz.rn2KZNzqo8uf7eP52LCeLiHoDEsb59n5fg4LCm427896a3rqsYWriiosj7B6ctEVRdYTmyMbOd8iU0Lj1dCI4YQtXGWo0N2R0wA2SRVN+8H8IuvLRRRe72527IsWSUW0nK1qI5u8M05heWs9Ztgst6p+HMc8sT6g2SqO2nqt51cMMV2T2b.fi7nRRVpcOQ8H78UICKGB.wl8zbMs63pBfQRdl0L6cdmiMehAa76q4n8XcL4AEoNvDwZdKS8dDDSZUZ8i0z6sq+90QBlzcC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