Just Another Random Machine
This Patch plays random notes according to the chosen scale. You can set a range for the velocity and duration of the midi notes and can use 3 different random engines at once (Random, Urn and Drunk).
Finally you can route the midi messages from the patch to any software that supports midi (in my case I used Kontact).
Check the video on the left of this page for a demonstration.
The patch can be downloaded here: https://dl.dropboxusercontent.com/u/93867290/Random%20Machine.zip
Build with MAX/MSP 6