Patch works in Max but not M4L?.....Why!!!!

    Nov 20 2012 | 12:22 am
    Hi Community,
    I have attached a small part of a larger patch I'm working on. The patch sets a velocity range and generates a random value between that range when triggered.
    It works fine in max and behaves as it should, but put it in Ableton and it will not get any randomisation on playback and also it won't record to the MIDI track?
    Any thoughts? it my first real experience with M4L so could be something fairly basic I am overlooking.
    Any input appreciated.