Wavefrom Generator Params not assigning correctly
-
ok so I have. number of wavefrom generators in my product (Called Synths here)
here's a simple call back that is supposed to modulate the mix of the two osc.:
inline function onOscMixControl(component, value) { pos = OscMixes.indexOf(component); TheSynths[pos].setAttribute(TheSynths[pos].Mix, value); Console.print("setting mix - pos:" + pos + " value:" + value + " target:" + TheSynths[pos].Mix); };
so we find which synth we are supposed to be addressing, and set its .Mix to value, all seems OK no?
..well no this is what the console tells me:Interface: setting mix - pos:0 value:0.4399999976158142 target:14 Interface: setting mix - pos:0 value:0.4300000071525574 target:14 Interface: setting mix - pos:0 value:0.4199999868869781 target:14 Interface: setting mix - pos:0 value:0.4199999868869781 target:14
yeah that target at the end ? That's not the value for MIx - it should be 12 not 14, same for all the other params I've tried they are all off by at least one....so before I wander down the rabbit hole of rebuilding versions of HISE until I get one that works, or give up and hard code the numbers in (bad very bad) anyone else seen/seeing this?
-
@Lindon I'm seeing 12 here
HiseSnippet 1027.3oc0W0saaaCEVJ1Ln1caXcnCcWJTrKbFJBrbcS7PwPcSrcqwpSLhyZ2cErTGYSDIRAJprYLr2w8HrGg8FrcnjcjTigqi2Z1luvvmCOGxO9c9idrRxf3Xoxxt94yi.K6OgLYtPO63YTtvZXOK6OiLhFqAkSlpilGQiiAOKa6JuvnvtVUqzO+wyNhFPELHWkk0qkbF7JdHWmqcb2umGDLf5AmyCKXc6tCYRwwx.YBhmJjlVQT1EzovITiY6PrdIMdlk82P7ba652gQOnia6VLVqNG15aOjATee3.2mbX6N9s8orlsrr2suGWKUSzTMDia5QRu4SlI+IQ1A7ZdL+cAfQv0ZBdxYpsNdFOva7RxI1xxlLNmppjQU2mLh6wuReNk84oK3j6QQRydm0AI2a.jrK.opYP5djILEORmuhAO2kLTfQPjRfRPIyVqcdrM4XIZgPueH8BXfBEtxiFGzr4ibvu16o0qiwmXsykTkyanWB9RU3K.Ann38w046bRSc1eJnSAapTiGtzRmbSeHtW3IFKCf8iTbgtw02t8Gw+48dpehfo4RgiTbhTCmJZrW8eods5+Zcm2eIe+Utl4lojAAfZkKaRAUqywFhjv2ApGg25fD3JCQJubbb2MKNxxH5BFJECEb8oQvB4Ax.OS7w76qG0sVDove8CC6Q0TShvBcncQfRyMvwtGbIV5kkVTizChuPKivhuqkyfYqRuj.CoWLE1TbuXAjOJk2XxMDwb87hE+2f75lqMudSg38Hi4Z1rUiwcVAFQl5iAFWzM3SI8w1OLcN.qRF7iaao+le7OH63uKwTBkVxkd3eIYE0cqo68usocui13t2mxzHDNWQEwQxXvs3NOAB4mKEPbIsumGsVoGkz1CzIhxaclpRVYnhAHUTvt6zcoxVEUNlJJsYnbocBaJkK96OqufhArI.dy8NMlgDigmKVVLNIHFdC2SOysni4paUT8KoJSaSVoj1JkyZptYMZJW+Vv9ULIY2OVC2ptYY3efVd+2umUoYw0VhwI7vn.nu3RH.aLmhwu.6D6SSBzK0VtlbjTHilIE7RY.mAZEe5TnTh0JuPOWqwmLkq49cOCB.Zbg5zut6q3BfpPdB1Rt3l+tjUFu9JRFbcLMRb96D2tUSyV6bmJazbm+ww61OC5VtBE6e9+mH8CHXO8VNogam+8i2mISzbwzQTra.NEhbRR3DbXKCPDKDP.dPD6cLOQLStoQNazovKU3OwOKVz0HauXQ2kKdqbFgTlR9VV1yqMMLtSpF7dKR+id0v+wIJ63Zk9j6hDaHN54sLV4s5ZN1Zac7waqis2VGex153AaqiGtsN14C6n4kAOOQKCypSvmKMte5+Qw1N6kRokLV+EN6TYw.
-
@d-healey are you on the latest version?
-
@Lindon Yes
-
@d-healey ok well I guess its down the rabbit hole I go - building on the Mac is such a pain because I do it so infrequently...
-
@Lindon Are you only getting a problem on Mac?
-
@d-healey yes but its a slightly different version of HISE I think.
-
@Lindon yeah - it was the HISE version on the Mac --- grrrr.....the latest seem to fix this.