I am looking to generate a two-level pulse as follows, where the adjustable parameters are \$V_1\$ and \$V_2\$ between 0 and ~5V, and \$t\$, ~5 to ~50 ms:
The trigger pulse length may be anywhere from a few milliseconds to tens of seconds. If its duration is less than \$t\$, then the generated pulse should be \$t\$ long with amplitude \$V_1\$. \$V_1\$ is always greater than \$V_2\$.
Of course, it can be done using two resettable monostable multivibrators (one as a one-shot timer to generate the \$t\$-long pulse, and another to produce a second pulse, starting after the end of first and continuing until the trigger goes low), plus buffers to scale the outputs from each of these. However, by my reckoning, this requires at least a dual opamp and a dual timer IC such as a 74HCT123, plus two potentiometers, miscellaneous resistors, and a timing capacitor (and, ideally, some Zener diodes to make it independent of the power supply).
Can the same be achieved more simply (fewer components; no microcontrollers), while still accommodating the adjustment of the three parameters? I don't think so, but I would be happy to be surprised.