Humanizing MIDI

So I’m looking for a way to add humanization - defined as, in descending order

  • maximum emphasis on the 1
  • emphasis on the beats that are played
  • de-emphasizing the ands of all beats
  • further de-emphasizing the e’s and a’s of all the beats played

Doing all that with some degree of randomization. On the album I just finished this was the most time consuming step and it would be nice to have a way of automating at least some of that. Is there a way with the tools in version 6.5? If those tools aren’t there, can that be programmed with a LUA script?

1 Like

i suppose, that the „humanization“ you describe could be scripted with lua (but I’m not yet able to help doing this). An other approach could be to create a (muted) synth-track which loudness follows your desires and to copy its loudness to your tracks via compressors…

But i doubt that the „humanization“ you describe would sound „human“… i suppose you’d need changing patterns of emphasis.

You’re right, it won’t sound completely human just more human than straight velocity 64 notes do.

I’m looking into scripting it with lua but it may take me a while to get to because I’m pretty busy. After I script it, where do I post it to get it uploaded to the next ardour release?

1 Like

If you have pads or a midi keyboard, you could track it then adjust the alignment or velocity issues. I find it faster than programming everything, with better results.

you could submit a pull request at or at when you became a core Ardour developer…

See #29 at

Patches are to be submitted as unified diff (e.g. diff -Naur or git diff, either to the bug-tracker at or via github pull-request (git pulling from similar services with public remote repositories is also fine).

Just to clarify: nobody gets to submit PR’s via

By contrast anyone can submit PR’s via github

Maybe try playing the notes yourself? :roll_eyes:

NOVEL! I mean, real musicianship?!

Really though, we’re not talking like a melody here, we’re talking percussion and drum parts. Difficult to program 3-4 parts at once using pads, even more difficult when using a keyboard. I found it to be simpler to program each note rather than edit an imperfect performance.

It depends. Some of the kids I used to teach in London were quite amazing at playing drums via a keyboard. It’s certainly the route I used to take as well although I wasn’t half as good. I’d follow up by de-humanizing a little after the fact. I find it better that way around versus expecting a MIDI editor to humanize in a truly human-like fashion.

Sounds like I better put in some practice then with writing a script and my playing. Thanks so much for the replies everybody

1 Like