Forums > Gen

How do you make a gen external object?

May 01 2014 | 9:01 pm

Yes! How? I want to make a round math function object for gen. If you could explain how to export a codebox or gen patch as a gen object, I can figure out the rest. I just don’t want to have to type in "[gen round]". I just want it to type [round] like a normal object.

…Or let me know if a round object/external for gen already exists :)

In 1 = round to number
In 2 = resolution… so it could be a resolution of 0.5, 23, anything.

function round(some ceil and floor logic)


  • This topic was modified 2 years by  argitoth.
  • This topic was modified 2 years by  argitoth.
May 01 2014 | 11:47 pm

figured it out. just save the gen patch and it will become a .gendsp file. Put that in a folder that max looks in (add them in folder preferences)

in MSP, you have to write [gen~ patch]
In gen, you just write [patch]

sweet! I’ll post my "round away from zero" code in a minute.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Gen