xStream can generate and transform musical data, using a subset of the lua language. The tool supports real-time operation as well as offline processing.
Information and source code is available on github