Modulate between to values



  • I'd like to modulate between two values in a filter, like for instance Gain between +1.4dB and +15.7dB, and Freq between 578Hz and 8754Hz...
    Where should I begin?

    HiseSnippet 1367.3oc6Ys0aaTDEd13LHbBspsDPEIDZUEOjpFr7lDmKBgpariqhZbrScHEopppo6NNdTVOyxtyFh4hDuv+C9Gvy7.B9gvC8E3Edg+AvY1cs2YSbScVZqBU0VxZOWlY+Nm4baW21WXSCBD9Hih6MvihLdGbmAbYuZ8HLNZq5HiKiaRBjTeyXVaLviDDPcPFFEtqhgQwoQQe96auAwkvsoorPn8ELa51r9LYJ21UuGy0sAwgtGqul1KWcKaAulvUDB3o.tLxiXeH4.5NDkZSgQFu0lNLovuijHoAHio2P3LnSOwWwi0eeV.6ItTEgEpCrQwraHbcTHVcMpVOlqS6g1c.BYfam5EJD6ElC2j4vFwO0abkHAloqP2eXL0YAOqbBOCM3McL7tJtisOySlJQgsYwawgCptD3HPGVw5hl52Mv0DfFbYo9jCoM7AhQqX9UJWdAyJkKeyO8Ry.pEHbokrcoD+4UbTegCm.o4QDeyF9zurovIzk.Vq4mYFExT5.pbDy4ugRGyQz2PsIoafJx44sAJcNwFbZTrOwMjF.6vCqXUYAy0pr5xO5T2oTkrJs7BlVUJs5iR1sy62tgbaISvME7cDRZK972bluYlhy7cyXdRQc6NVYpi.egqK0erhUoD9m0BmmG1+IT+E.qCrpQJBwFYC9lcxB9riiHzTTv2hyjs7nIzogmJYwV8PokQiLVcVo1nN2HSaLpkx5zQ+njHV3pOeq5DIQkPjvCzyi5KYJq0nN8HnRSb5QQbcZvgRgGTq4T4NPF7vXJ8zZsHRvcmI+QkivCXxA505NG45kGatt03r1IDtWE2lIs6Md7N0XvK30dYi2jJmWBuY2tTaYJXmF23KxaYx7Ak4hgxr3GPNhFUZIBHuWDcWgeey6R4TekO05Y0P6G+1+3mmzFZdSbCsV1R.B64S3Adh.pkVD0udBYKpcW+s5TYHWWcDJlktVHk40.LOM8td0gL0zzrZaBOylAzY1olriSIe5s2jSfCjNTvZbZEXCFqx2omNzNzMf9.lirmk9BSYunNaiB4pQY1bTM8ufzT+Eeh9+85RElL39bl6n3PL1g02yktI+HpKT7MBiWCp11kD5JGxMaNUSAW30SvY15AX2mJ8YGb.MSPzXMn6HkvTfoblq58ovXIAZ4Yeb0sYbXREvOQyouvZx8Em0400wwv0TUHv70i9IEdMpeRNG6NI7+Z31B2AwAyMXtvjyQ.pHNlv5Ld3nEqplVMjxsG5E+9eo9OUc2Dhm90y8QUyF9dkp6FRbOgWeClmvk3OQmH4OZe5ILr48wiLpWVw547.6xwnFi2tQqjBoYedjmOHO44UTiKUO9s3mrmqZjhjIOG01ca5Av8QeC2i12S.SijoNXm9BgrGieP1IGlq51BgWbaWmL8Y6AU9fosCnR8soVXfTzeHVPFUvKsRonOK03d0VsFbwQsVcoMWY85tKs1ZwzvOcuU6iEKuRsAaeqvVnNRpWzL1FODuxxkhjq9cck9K05EC8Kv3zolv3z2UEFXN5TVEEbAufbLhyjccguEh9yqewsLP12pv4uL.To9Oe0TFv7G9qO7kQYf6PIqu9nzxjx.ZxeSYf2TFH2H9CvIinXp2u8h+DvWFu6+e.q54UO9B.buuHTB0rZRfmk6XnL6Ng86HB8so.T4bpKbivFSopKESWVQGUtixchH9G3ShPKEsQhPqgBekbO5Sr8EO1N9sQppn71Qb.6lG8OOTD2TQaZghdmqpFJkKUF0m4vdrss5IR9Dv+L90rXNVyR4XMKmi0TIGqYkbrlUywZV6LWi580bmPnWWb7Ovn8lwsrLF0szn.5eALfM.jK
    

    For the moment I think table modulator, but I hope there's an easier way, maybe with scriptnode...

    Later, the array of values will have many entries, so I will need to modulate around all these values. for instance between array[3] and array[7] going through all values in between
    that's where I thought to table mod, but I am a bit lost on how to populate it...



  • Why not an LFO?



  • @ustk Maybe this could be something?
    I changed the reference to this

    const var GainModulator = Synth.getTableProcessor("Gain Modulator");
    
    HiseSnippet 1383.3oc6Y8zaaTDEeV6LHbJIpsDPEIDZUEGRUSc8lDmjJDpNwNNJp1w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q6SsCU5y1eeZB+lgtfVUJgt.GvYlB6Pg1RBzBs9zBUXbnSEvNQGSag0naKNo8qqgigqoJ127+GkPR+lVIjyms4tt7WEWW31I1AtLyE5VNBDYvwDVmvAhlufpOwPJ2tmk66+kR+Tgs6R7rmLymTHoK6kKrcHwUyR+6N+3pqw7DtD+QZWX7W5SLhtJeHt+hx7UTdoyvlzzwHEiqTtV2DlIO2woCriuGEUSRU9dS9wKmp5VnaSk8qnVgtO7bzmvcos8DPiFIx20nsPHaw36mrofYJTQH7hqn5jnDZKHCGzJObxD8ooXXfTztGVPF4wKrT1nqEJeuhKWD9wg0Vdg0W5NkbWXkUhogaMuY8iDKtTwNUtYXMTCI0Kp8YiGfWZwrQiqteGk7KT67g9bz2L0H5a99J2.y96xJufK3IdiQbhHpK7kJzOO8EqP+jmz+rG5+zM9i+40Snu4O7We74Vne+Pu3qa9jJcprbeZsPyrYean+aC8GaD+Q3tshXpWi8he2sSi29MGvpNK5QW.f6NhPIjypJANmFb7e7VgsaHB8so.T4bpq5M8YjRkWJlNmhNJcGk6DQ7uvU2AsTzFcGzp2fuVdFsI19hGYG+NLUYTd2HNv5lG8uJjAWUQaZghdulpBJ4xlC0l4vdjss5zF2BrOCWm4GCcVXLzYwwPm7igNKMF5r7XnyJmnNp2EypgPstX+efQ80iKYYzuZoQZz+QNV2On
    


  • @d-healey That's what I am trying to use, as long as I can respect the imposed values.

    @ulrik That's a good start, now I'll see how to dynamically insert/remove points...


Log in to reply
 

5
Online

590
Users

2.3k
Topics

18.2k
Posts