round to even integer
round to even integer
a sample library rounds values to even integers, and I would like to display these values in Lemur. In C+ there are some solutions, but is this possible in Lemur?
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
-
- Regular
- Posts: 315
- Joined: 02 Nov 2013 11:19
Re: round to even integer
here's a quick one that rounds whole numbers to even integers.
- Attachments
-
- Untitled.jzml
- even rounder
- (3.82 KiB) Downloaded 75 times
Re: round to even integer
brilliant, simple solution. Thank you very much.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
-
- Regular
- Posts: 315
- Joined: 02 Nov 2013 11:19
Re: round to even integer
you're welcome. I like these types of challenges.
I wasn't too fancy with the names, but I figured if I showed the raw and the rounded in 2 monitor windows you'd be able to understand it.
It could pretty much be a full time (or more!) job, sitting on the Lemur forum working out examples, solving problems, and coming up with scripting solutions to people's questions. There's so much to be learned from worked examples that isn't covered in the basic manual.
Sure, if all you want to do is throw up a page of buttons and sliders and send basic CC/note stuff out, it's not so bad. Once you start pushing the envelope though, you're kind of left to yourself to figure things out.
I wasn't too fancy with the names, but I figured if I showed the raw and the rounded in 2 monitor windows you'd be able to understand it.
It could pretty much be a full time (or more!) job, sitting on the Lemur forum working out examples, solving problems, and coming up with scripting solutions to people's questions. There's so much to be learned from worked examples that isn't covered in the basic manual.
Sure, if all you want to do is throw up a page of buttons and sliders and send basic CC/note stuff out, it's not so bad. Once you start pushing the envelope though, you're kind of left to yourself to figure things out.
Re: round to even integer
Nice one! I was thinking it would have to incorporate modulo.