@trillbilly Avoid scripting something if you can. Here's how to do it without scripting, just connecting the controls in the interface designer.
HiseSnippet 1054.3oc0WssaaaCFlJ1LH16.ZGZw1k5hcQJPWgkWW2.1E0M9PmwpSLhxZ2cELR+1lHRjZTTowqnuM6AYOB8QnOB6MX6mR1QRcJdtZqYa9BC9eh7i+GolpjdPbrTQrZcxxHfX8gT2kB8h9KXbAY7.h0GSmvh0fxNi0AKiXwwfOwxpwiMLrZ0jj962d3Ar.lvCxYQHOUx8fmvC45btS6887ffQLe3DdXAsueuwdRQeYfLAwSCZGRDy6L1b3PlQscnDqcG5y0RkqlogXhUyCj9KcWHegHS+mxi4mF.FBGhKtQYrGIC7MH1vkzeAOve556cLgXQml6EZj4EtEcB2meI+buwMREXmaQQ+g0NkgWiRvy4pfWEPxp.jZlAoaRc8T7HctDCd9.5XAFblwP2dQnjoKw5Wo8knBB88BYmAiTHwkFr+C5z4t13e24amkH7zbovVJNTpgiD6em1urcq1ups8aKZ1rJkYNFkLH.TUJ1DoUaxv8EIgmBp6ZeNKHAtTQ75W1mt614S8xt0ETTJFK35ihfUzaNofrxsYhEqPHppNMRbiUQh9xvSkGHufv8MAh0jNjzqPwBCxOLd.SyVuY39hmUDnzbyUxZ.bNVkjElaQG.wmokQo5FFIEFTXs2VdzWfoyV+BdnKMKT3hn02pwnp2l9L14vLoJz9wf.TLzy5fkYJrBCyJFmtaFUFgp3P3ZHDAXepKW.sOQwYh4APaW1KZ69SILEz9PIONWhcWbIKB9YI221ov5tjPVJz1KsAveJ4FKqj9IAF3TrVyzfYk.LYoTBtIKVDy0KK5meGJ.6rwBvsEh2jNkq8VTMF2oBLho.uOv3p1VeDc3rYfmNGfMoi9w51iZ6O9amc7YoNoyORO7py1t5IHudamfDs0SPNxSiP.SDEwQxXvo3N+Vx5VT1.PmHJqdFqRZkWoTHIbMyBZtWuoLQoMCoKsSS3WjS9lGNTvvffKf2F+ih8vKqw2U7TllDDCOi6qW3Tzvb1cKx96XJeLt3UJQrwlFldkcVKWSVP+JFis66qIqM2tr1+hd7+2uOToGBzZMFc4gQAvPw4P.NEIEieBN1XFKIPula45rIRgLZgTvKkAbLnU74ygRIVUdgdjViOEKmys5cLD.r3B0dedumfCIXJzOA0zW7t+nnJiWeFMCt1llC1+chaWqoYabVRisZVx+33s9yUtlqPw9m++IR+oTrmdW6zvs8+9w6ikIZtX9DF1Mv7HsCSBcwAnd.hXg.BhMObaGyahyn6XnMvwED9oD+N9akPGCs0JgNqEdsbFgLOk74dYuV2zvXuTN38Vj9AjsvujEosu7A5TZm60gDhicdtmmIm9KP+S01zsF17k0vl6WCa9pZXyCpgMecMr4a1nMlI9OJQKCyx+QFSGl9gRVVYu.JsTf7G.p8vXUC
To do it with scripting you'll need to use the setAttribute function to assign a value to the waveform attribute of the waveform generator. At the moment all you're doing in your combobox callback is calling the getId function which doesn't do anything. Also you're passing a parameter to the function which will produce an error because that function doesn't take any parameters - check the docs.