Hello community. Could someone please tell me if there is a module that can output a voltage equal to the integer part of a voltage received at the input? For example: input 2.325 V → output: 2 V. If possible, without intermediate calculations (Basically, for example, can obviously do this very easily).
This incredibly useful little module:
VCV Library - Submarine AO-101
I believe the operation you will want will be on the last submenu “Rounding” → " ⌊X+C⌋"
You can do this using the “Funktion” module of the cf plugin. Set the operator to “floor”.
Note that the operation is mislabelled, because it actually implements the “trunc” operation, although it is set to “floor”. (normally: trunc(-3.2) = -3 & floor(-3.2) = -4)
There are likely other modules that can also do the “trunc” operation.
AO-101 is indeed a very useful module, but I think your suggestion will only work correctly for either positive voltages (with C=0) or negative voltages (with C=1), but not for both at the same time… (with a single C value).
Both the Ao-101 and FKT modules do exactly what I was looking for! Thank you very much.
Thanks for the clarification. As far as I’m concerned, I’ll only run the module with voltages > 0, so no problem.