basic toturials to gen~ / codebox progamation

profany's icon

somebody know were to learn the codebox progamation
and if yes, can somebody tell me were to get this information

in case of u don´t know what i'm talking about, just see that:
http://www.youtube.com/watch?v=OwHfkoAj2-U

sorry for the english!
cya

Graham Wakefield's icon

We're actively working on increased documentation for Gen, but for now the best thing is to look at the examples in examples/gen and examples/jitter-examples/gen, and the Gen Overview vignette in the reference (Help menu -> Max Help, click on 'Vignettes' in the side bar, and then on 'Gen'; or simply open the gen~ or jit.gen help patcher, click on the '?' tab, and select "Gen Overview").

profany's icon

thanks!

Wesley Smith's icon

If you looks in the help system, on the right is a tab called 'vignettes'. Under that there's a section called 'Gen' where you'll find a page dedicated to 'GenExpr'

Gregory Taylor's icon

What you'll find there is that material, relocated. And Wesley's probably too humble to mention that nearly everything about the current Gen documentation has improved, and is improving (I am particularly enjoying the ability to option-click on a Gen operator to receive a compact and succinct description of the operator's function. Bravo!). As for further tutorial materials, please stay tuned....

stringtapper's icon

What I'm wondering is if the GenExpr language will ever have a complete manual so that someone with no experience with text-based coding could start from scratch with it, or if GenExpr's similarities to C and Java make it so learning the fundamentals of those languages is the place to start.

Wesley Smith's icon

The closest languages in terms of syntax to GenExpr are JavaScript and C. If there are specific questions or topics you are wanting to know about, definitely feel free to add some subs to the Max wiki and post back links here. I'll fill them in from there.

jayrope's icon

Bump. The links above are dead, and i wonder, if or where a codebox tutorial could be found.

In particular it would help to see other common gen objects, like history, clip, scale, delay, expr etc. used inside an example codebox to see, how exactly the code spells out.

Max Gardener's icon

Have you considered simply creating a simple patch that you know works properly and then clicking on the "C" (code) in the right-hand toolbar of the gen window? That'll show you what you're looking for (i.e. an operator's syntax), unless I am misunderstanding you.

jayrope's icon

Max, that is excellent advice, thank you. I wasn't aware of that feature. Only recently came back to maxmsp, after years in PD, where one has to work without features, and actually that isn't so bad, as one tends to memorize a lot more details on limited luxury.

Graham Wakefield's icon