Hi,
I am trying to write a patch which records Frequencies, and writes them as MIDI notes. The only problem is: I want the MIDI numbers I receive as integers. But not like you get through the (int~), since this just cuts off the values. I want them to be rounded to the nearest integer. If I get 69.6 I want to have a 70, and if I get a 70.498. Is there a box that can do this?
Is it possible to put conditions in pd, anyways? Or would I have to program this all by myself? I found k_cext, to program it in the C language, but when I type something in, I can not connect anything to it! I just put the folder into the extra folder of pd, did I maybe install it wrong?
I would be very thankful for help.
Lorenz