Params for Oopsy + Daisy Patch: Round to integers?

Hi everyone,

I picked up a Daisy Patch last week and I’ve been having a lot of fun adapting the Gen~ example patches into the Oopsy template.

I have a question regarding params. Is it possible to lock param values to integers, so that the values display as integers on the “params” pages of the Daisy Patch screen? As of right now, the parameters in my patches default to 3 decimal places, and the values jump around a lot (especially if the min max range of the param is large). I am using a ceil object after the param object so the value rounds to the nearest integer beofre it is sent to the rest of the patch, but this seems to happen after the param value is sent to the screen, so the value displayed on the “params” page is not rounded to the nearest integer. Does anyone have any suggestions to remedy this?

Yes – this is implemented for the next update, or in the dev branch of Oopsy if you want to get it right now.

E.g. [param cv1_int_foo @min 0 @max 4] will only ever send 0, 1, 2, 3 or 4.

Also, [param cv2_bool_foo @min 2 @max 5] will only ever be 2 or 5, etc.


Oh, awesome :slight_smile: Thanks for the quick reply. And thanks for all that you are doing for Oopsy. Amazing work :pray:

Oh yeah! I’ve been wanting this and have been using the dev files but didn’t realize it was already there