adding 2 Modulator combo boxes
-
OK I ChatGPTd this one. It works except for this error that I dont understand. Everything "seems" to b in order. I changed WaveType to WaveformType after I noticed in the XML of the modulator that it was called that, but it still gives me the same error. This is the third way I have had it write it. I personally cant see any issue with naming or anything. It must be about functions or something that I just dont know exist.
HiseSnippet 6438.3oc68rDbbabkXDEDIGJZQJqM0dHIEBqrITkLomAyvYFtN1Dh+joMoHEGZIqRRQBDnmgvBCvH.LRjx1an+sUtjxmxAeSoxwTkpbz6okU1S4RpsJWUrqJWnymZWGeQWbU6dZ2twuoaLCF.LeHmYL4ARh9C52u90u98dn6MzTE.55pZTwFdq8JCnhcV576oXryB6vKoPsxhTwFjVTCvWhZ98JyqqCDohEafqfpL1vmlx7mmM277x7JBfpEQQccUIAvpRkjLpV5Fbutjr7x7hfsjJg05zbqHnprfprZEHfL.cBpx7B2muH3p7nlcJZpXmYIQICUs7F7F.cpXmddUw8xui5iTrZ+0kzk1VFfdHIUd3Kxp3kUkEQPLpTpE1QRVbCGDVmB9R2nJ5OfE5eA50jDkbKuJYXLyJXp1Cb5QrSQBdCP.dIwAuDXfWc.oXXfzos.owoyKnIU1nZMH3YD5UTL.ZE3gjcbPwpsTm52LD8BpvVnXLcI96CVVC9faOlLapYdAlzYRD+huT73u3KpyWprLPKNjKnav7PdMl7Vkr5lLuLysLkHltHvvDdMeZxIraAypSbwWHNS8+ogcbyIt3cLGcA0Raqts5tXC+Bk11pYqwWNIKBFbPFzKSsTYUE3CSNAQ6Z.fX9SvuBVGPxhfvThurNCulF+dXvltSq0gvkMxfdmtukUkzMlDQXiGWRQVRAvTnhhfgjpBCTJm.yPfjlp7jBNvyK.GB4JfKF+sMQEYUAdYFIwcgCEYOmVRQDr65Ep1U3Hh5h4ubYe2B126LMutcASdwokU4EceOSVEYtk4.OUx6.eOuKB3KnpwLov1LRJdFZGfSX6o0APJnjAnj9Du.FgY52RURYxItsxDWzFprZqM5t.ur71vY3S5C4.AALwwH4W8MV6ty+Fas05WMOjPj5kvpZ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oSfNnQjtqf.x0KSAWgs98gsI5SplnOoah9LSSzmLMQex1D8IWC6CJ5pWtBzLWqci.KXikrDrhgspA0+OvOckNr
-
@gryphonsegg Changing it to
WaveFormType
is a good move. Now, ask yourself (not chatGPT) what is "LFO"?
Hint: it doesn't seem to be the modulator name... -
@ustk it just says LFO in the functions instead of the full name yes?
-
@gryphonsegg no thats not it
-
@gryphonsegg read again my post ;) do you really think LFO is actually something? it is definitely not the name of your modulator... 'LFO' is not what you want...
-
@ustk so I want LFOModulator1 in that case? are we talking about in the inline function section? sorry to be difficult.
-
@gryphonsegg It's ok no worries, I just want you to read and understand instead of just applying code without knowing what is going on... So what happens if you use LFOModulator1?
-
ChatGPT is a very useful tool to help you write code more quickly, but you need to know exactly what you want in order to guide it to working code, or in other words you need to know how to correct its mistakes.
I use it a lot for writing bash scripts, it saves me a lot of time but I don't ask it to do anything I couldn't do already.
-
@ustk I am going to try it on another project. I found the drop downs for what I needed but I will try this code only soon and I will let you know. You guys rock. Thank you so much.