getting accustomed with GenExpr
Hello maxers,
It's a while since i've begun to work with Gen, but I'm still not completely confident
with it. Does anyone knows if there is any official (or unofficial) language manual?
and in case there isn't, does anyone has suggestions about some other language
that could help me to get more into it
thankyou very much
Matteo
hi
i didnt seen any lectures about how to script in there , just deduction from what i saw inside examples or how gen is generating its code .
a little knowledge of any scripting language would be required . the expression language in gen is a simplified javascript . as soon as u know how variables and functions works you should not have too big problem figuring out how to "deal" with it , just be patient and it will come . bare in mind that order of execution is from up to down .
But the truth is that it would be fair by C74 to provide some documentation as for anything else . Becuause using built in objects inside expression is not as obvious as it should be . u need to figure out how to call or initialize them .
Also getting the code snippets for sublime text helps a lot
thanks for the answers..seems that my problem is both a signal processing and a language problem. I've not a formal education neither in programming and signal processing, so sometimes I've difficulties in focusing the problem
Usually I've ideas that I'm not able to transfer in code because I'm not really familiar with either the algorithm and the language syntax. For example, I've some books about filters, so I'd like to make them in gen, but I'm not completely aware of which objects I've to assemble to reproduce it.
Maybe some DSP book with code implementation could be useful? any suggestions
Thanks
DSP is a huge topic in general .
With Max u are actually learning principles of programming . Because you are relying mostly on conditions and object/function executions . You are defining order of data flow etc . It all refers to procedures , the way you would think while coding .
Having that in mind you might get more confidence in learning how to code as you can visualize the code structure already (as you are doing it in Max anyway). In coding u will find some habits that u will be in need to learn ,but it wont be so crucial if u will stick to GenExpr only.
Learning to code doesnt hurt , it helps to "think" in gereral i dare to say . u can give up wherever you want , but u will always end up with new experience ,even if its bad experience it will work for you as a skill or avoidance for the future .
Before i met Max i did not thought of DSP coding , but i knew a little of Javascript . During my journeys ive learned javascript , now im happily learning C and C++ . Mostly by coding in Max environment rather than Browsers or something else .
But DSP is a beast , sure you need examples to get the idea of how things work , and C74 provides that in SDK . Its a different part of the story to be honest , and im quite sure that one would be able to get a graps of it all with Gen . You need to do some reverse engineering with Gen examples .
Any DSP book for now would be an overkill at the beginning ,dont jump too fast because it may discourage you with amount of math and dependences its introducing .
Gen Folder is full of examples that are gems to be honest . ive learned a lot from them . If u will start getting some ideas from it , you will be hungry for more , then any DSP book will make you quite happy as u will more less know what principles are required to understand it first and to write DSP as second . :)