Volume+Freq as One



  • Does anybody knows how to use one knob for both of this thing.

    Ex: When moving the knob as a volume fader, the frequency goes up as the same time as the volume goes up





  • @d-healey thank you as always



  • @d-healey I'm having a hard time trying this and I can't.

    What I actually want is when I select 60hz, the knob goes starting from 60hz while I move the knob up, it goes up in volume and in hz.

    HiseSnippet 1094.3ocuV0saaaCElxwpa1ctqEX.6VhbkSWpijcRZGFFpSbhGL5RhwbZ2PKJJnkniIBEosDUVMJJPeMVuZO.6cXWuGjc+vdA1NT+XS63lD3gNAH.wye767oCOG1MT5QihjgHqRmNYDEY8Y18lHTCaMjvDnNGfrti8QjHEMDmJZ+IiHQQTejk0ZemVfUohnjm+5w6S3DgGclHD5YRlG86YAL0Loca9DFm2l3SOkEXX81M63IEsjbYLfm0rcPiHdmSNidLQaVAaj0sNzmojg8TDEMBrYeo+jdCk+rH09mwhX84T8BWTOHPohQsFx39cyy0HDxpX2YY9ZoY9WXeDymMU9LF3tIJvy7vjCrJLOjJNGjbMgjiAjZK495.nMYIvyx.dESg28r64ExFoloQisaa2Q.+bFP.Z2DVo1hJ72EraIAKDpZAjyosCgES8n5tNNah2wwYiuoR4JkAxORgufDhoiweKNoNn1YT0gCFP8TUWmNd8TCqTlI3LAEOHV3oXRAVJdhP12UuUgRdUOYvHo.1zMgvwioaTo7apTtzVasmuOdB76E6EGojAXt7LlGdHMjVqVsJkwvCW5Q3Xlvm9Z.Dzw0zUY3uBuM995U6SD9mLXPDUAPoDH.9ZOkJj0OVQql3V1ld+G31n1NZD+V3MmEf7oUN5ptdBpWeCcPxvdKBm2GJ6pNeJkm3lbzfP5XW.iunNvh52Fv6tvqKPqu7CQR0+uRRWJog0sAn.bTiE4nMyg4KR1hWd8rQ8qhMpavFFo0wRE8DQ0MJ+lxkJ+1x3EUMXvR0kELNMbop0MGBuJGqJhC5SCyoubCgSLyej71e3ijlcI7R4DCCkhNBl5jQzr0lGZyy5bsNnoIqonY4nozjTaIlMSzk6Ifx9mAcGJjYNXpJo2vcx5Mziy7ogHFfwOwNo7EkvMlcjQ2XmquDmeZmCHJhtCUFb.HNhFpXZh15.5EP69z9UkrOfFctRNJAuY0Xv+lqEwud5F177lSlt3cOuIxHN25ZAuQbdpQb9UYy.xLcn61Lf46yockQLc8kVy6+E8ye7XzkaCCCCj9wbhZ9ID5lTYJzwvrUrtcq.h8DyQkeTFabSg68r6xTdCWNdKrD7pq49Hi2rgvUrSm1LCrEsa+Sq5DW2kBEmqah6mmWA2JN7B5giyvAc7b3333f1LNLJEvfsUAHcz8ccxYseaq+720BbyD7tm+9eroVP84uxjvuwhB11r5TKXmEC5tYBveIWkXwCWLFOZQAesYPa29zCEDfkRYz0tpqU4dyuVE5GjwJl3riHvrI3LlMvQ8fIYdT3+oPP4Sopr0N50ZH0ilPc1V+C7jozUu1JSoatx+W1i.hWn7UdocJ0kGeZhDHuEI2EsDboXXMdZ+UaamZNHnSB6Udd5hkG.E7K2m5qfOMVAe1dE7YmUvmcWAed3J3yitRezWQeuX35RoMz.AcOLYTkkkQkN5eAb5Z80J
    

    I don't know if it make sense.

    Thanks in advance...



  • I don't quite understand what you want.

    You have two knobs on the interface, are you saying you want each one to control a different frequency band?



  • @d-healey Knob 1 = Volume + alternate freq
    knob 2 is for selecting from where knob 1 is going to start going up in freq.

    ex: If I select in knob2 100 hz, then knob 1 will go up in volume and up in freq starting from 100 hz

    does it make any sense?



  • @d-healey knob2 is actually for the starting frequency, but knob1 is going up or down in volume and in frequency starting from the selection of knob2



  • Is knob1 supposed to have a percentage range? If so what counts as 100% for gain, 0dB?



  • @d-healey knob1 is 13.5db



  • @Jay said in Volume+Freq as One:

    @d-healey knob1 is 13.5db

    So you want it to go from 0 to 13.5? or -100 to 13.5? or something else?



  • @d-healey said in Volume+Freq as One:

    0 to 13.5



  • @d-healey 24db is the maximum for the EQ gain



  • Something like this should get you started

    HiseSnippet 1090.3ocuV8taaaCDmxNbs1aoqEXeZeRveRdq0SxIwsECCyMN1CFcIwXNMnXEEEzRzwDghzVhNqdEE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4BZ6I43fNYEbbzz3NLNLpS2Gvo.rczSD7siZZBA1WFQSn9pWuQDsykIr6RB22nxd4D9i+4KepgPiERz3OMDd7kswStLNdpsQ6z4j1BBDkxhnEWMhV71EQWSB8mjSULwYGRfQPvYNLDi5C27JjB4SgfxWDpxW6qWqgTepIzgc9W3ImYfdsSNyf4L+ewGwjvD4aBy5bpKOtqgBruEl6MVBt.Kr1cQ+VL1G5W.cVXuILTWr7Hnfe85TeCzYmMPmc2.c1aCzowFnyi2.cdx0pi9JzOapRFm0PCHzqsYzkiiUkN5+.9+xTjB
    


  • @d-healey Thank you Dave. You Rock man!!!



  • @d-healey

    is this right?

    HiseSnippet 1176.3ocuW0saaaCElxIZs1aoqEXWLzqzxUxasIxN+zVTTT23DODzkDi4zfhUTTPKQGSDZRGI5z5EDf8nrGk8HrGk8DrsygR1hNwNIy.cBxBheme3GO7nygtYrJjkjnhINEObXeFw4qbaMTp6VuKkKI6tMw4dt6QSzrXuTnsF1mljvhHNNK7iHfSwEIlq+5kaQETYHKGhPNRwCY+DuGWmi1r1q4BQCZD6PdOKsWu1tgJYckPM.3yBtAj9zvSnGy1mhpUvk37E6Dw0p3VZplkPbVbKUzvVcUeTlp+Q7DdaACGTgzBbTJbCkHBYLhRp2kKhZNZcmP.uzLOJrPZT3ab2iGwGimGMtuQfWtE1wCmBWG8pXSufaO8brn2hoz6AtsBi4804RPt8kt6JgMpNTXKvlVo5RJ7sK5VWAZH0qzidBqQLLXrE9aFD7HuMBBJ+7kJsTIXiHQ6cFM1icp2K7L4DqbLSuSmNrPs+xrSWNUQtTvkLuNCjgZtR5ojuVpZWAmnXkvOT0quRBS4i.mIFvJuToyWpjGbITgTgGWFw9DLArSWAyl79d7ssnxnC5zIgogonH..u8JsNl2dfl4aLIycf9UVakMPpTDts7ViXf3+fWvz7X5TmnowZiZnAcfWp7Nj6Uw04Qn28K+dK0gGrHCNXfuueJAdrWPYXN7qDDD.CF6zxk8VEPMxKCDYr.STaVKJqIYzZBtWcUOdhmtK7HlebW8KSgQ75P7kFyRiFIyHxhIMyHVf5m9j2IaE8hbt5WEIOLMlvTKl.16YQo5iWmm+JdMiE05kedtdWbo476FkV7eymUmvmn+t..FkdCaf0Gk34urIgb4xnexRKqSEh1PsE+IyVsS8MYBPrX1tr5xW8SESVDX06pBeLsF7aS3GjZ7dTQquQ1WoYGH8KW57REKcQIuKKpSmoJKimBV7TEikSiuNC8kC50lEO5awQJB0Ulrvk6rKbYWWMLM1XonRtqjqOnOSNqxYjr.JTXqPFq.U0lxZ2KqrVKAOhES3P0q63Z1fHFBa2XgbqMt5ULtF4M6tMUSwhqYzAnXeVrliqdmsYmAcsRK0VzcaVxIZUeCeyR.f.1Mx3OMdBqcRsgiG7a+RMhketyMRdK+7FK+76pZ8n4xH2sVOdTjf0TkvwMc6kKz9teK9uxr6UStZWEn2lJZffpmrgGVWNS.5W6NKX2CILeCs87mktf2V59.2lbcX2oy2BSguXd3mY9lclhkbSadlS1Eca7148.DS+7MA2zAH95QY00GDeFamSy3A6zI3w9C50fKfSFf0BbJ.KGroQfcTCApjCreMDn5jmFTFs1kAVOG39FS1HC3O96G9LCvli0Xy+z.7jK6imdYd7Lam1nwg6HoPTJMhtvjQzEtcQzorg9ypAZt738nPmH36NWHF0BNnZHC1OkRlXbnJab.NFoTKlIz457OvUlvJ3XmLgUFI7+k4nGMLV8gvzpmX5wcMHv5VZNlcQ379vXuw0bccCVIf.UW3eHLDSVdLjvOcapNG1r1bXy5ygMaLG1r4bXySlCad50ZC9ONd0.spWZAM.n4Nl1WNNVY5j+EP0G24Y
    


  • @d-healey I don't know if this is the right way



  • I don't know what is your purpose but Parametric eq is not for frequency modulation. It will cause clicks in most daws because eq nodes are not smoothed.



  • @Jay said in Volume+Freq as One:

    is this right?

    Well the first thing I see when I open that snippet is an error, so probably not.



  • if(value = startFreq(20)) // Freq Selected

    value here is the value of knob1. Knob1 has a range of 0 - 1 so it could never be equal to startFreq(20). And startFreq(20); doesn't make sense anyway because () indicates a function and you don't have a function called startFreq. There is a variable that I created called startFreq which is pulling a value from your eqfreq1 array, but the values in that array are not within the range of Knob1.

    You're also re-declaring local index, you can't have 2 variables with the same name in the same scope.



  • @d-healey So there is no way I can tell in the script than when when the freq is in 20hz change the type of the eq otherwise do something else?


Log in to reply
 

11
Online

1.1k
Users

3.8k
Topics

33.3k
Posts