if (key == "amount") {
bool ok = mix->set_float("strength_first", 1.0f + value);
return ok && mix->set_float("strength_second", -value);
if (key == "amount") {
bool ok = mix->set_float("strength_first", 1.0f + value);
return ok && mix->set_float("strength_second", -value);