Old 05-10-2017, 01:17 PM   #1
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default MIDI Ex Machina - A Note Randomising Sequence Generator

Hello fellow randomers

Small update to 1.3.5 to fix a crash when no item is selected in the arrange view.


This is the stable release of 'MIDI Ex Machina' - a note randomising sequence generating tool for the Reaper MIDI editor.

Originally released as the MIDI Note Randomiser, the latest version has gotten fat and includes a Euclidean sequence generator (Bjorklund algorithm), and a monophonic random sequence generator, as well as a totally unnecessary and cheezy rebrand...

MIDI Note Randomiser has been retired, so it you were using it then I'd advise switching to this shiny new version. All the old features are there, plus some user requests (permute, multiple octaves), and some new bling.

It's available via ReaPack (see here for import instructions)
Code:
https://github.com/RobU23/ReaScripts/raw/master/index.xml
Some screenshots (updated to v1.3.2)

Note Randomiser



Random Sequence Generator



Euclidean Generator



Features

Note Randomiser
  • Scale based note randomising
  • Per-note probability sliders
  • Special 'Permute' scale for randomising only selected note values
  • Force first note to scale root
  • Randomise all or selected notes, even if using Permute
  • Octave doubling with probability slider
Sequencer
  • Monophonic random note generator
  • Grid size selector
  • Note length probability sliders
  • Shift notes left<>right by grid size
  • Accent/Velocity randomising
  • Legato randomising
  • Force first grid slot to contain a note
  • Pass-thru to Note Randomiser
Euclidean Generator
  • Bjorklund algorithm
  • Grid size selector
  • Sliders for number of Pulses, number of Slots, and sequence Rotation
  • Accent/Velocity randomising
  • Pass-thru to Note Randomiser
General
  • Re-sizable interface
  • Saves all script state with the Reaper project file
  • Reset sliders to default (right-click on the slider labels)

There's a wiki on GitHub, with some additional information, warnings on some known bad behaviour, credits for the code I was too lazy/stupid to write myself, and some other stuff.

I hope you find it useful !

If you find any bugs (ha !) - you can post them here, or on the Issue tracker on GitHub if you have an account. Please try and make them as informative as possible and I will try to resolve them quickly.

If you have any feature requests (ha ! again !) this is as good a place as any, or on GitHub if you prefer. If they fit in with the general philosophy of the thing, and I can work out a way to implement it, then I'll give it a go.

Planned features are here, so check the list before posting.


Cheers
Rob
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen

Last edited by RobU; 12-07-2019 at 12:20 PM. Reason: Updated to 1.3.5
RobU is offline   Reply With Quote
Old 05-10-2017, 01:18 PM   #2
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default

reserved ...
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen
RobU is offline   Reply With Quote
Old 05-10-2017, 03:24 PM   #3
exidus
Human being with feelings
 
exidus's Avatar
 
Join Date: Feb 2016
Posts: 121
Default

WOW! Thank you for sharing your work man!

This is a really cool piece. I will try to break it and will report back
__________________
- Win7 x64, latest x64 REAPER Beta

::::::: My Mixcloud Page ::::::: EFMod_JN Theme :::::::
exidus is offline   Reply With Quote
Old 05-10-2017, 04:10 PM   #4
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,289
Default

WoW... this script is a lot of fun! Thanks for it...

I am wondering if it would possible to have it work in the Inline Editor as well?

or maybe a version of it that would do that???
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is online now   Reply With Quote
Old 05-10-2017, 10:33 PM   #5
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default

Quote:
Originally Posted by hopi View Post
WoW... this script is a lot of fun! Thanks for it...

I am wondering if it would possible to have it work in the Inline Editor as well?

or maybe a version of it that would do that???
I don't use the inline editor, but never say never

As it is, the main loop checks that the midi editor is open, and that there's an active take, pretty much any function that does stuff with a take uses these checks before doing anything.

If I knew how to test for being inline, then it might be possible. I'll add to the FR's and look into it. But, there are a number of additional core features I want to implement first.

cheers!
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen
RobU is offline   Reply With Quote
Old 05-11-2017, 07:46 AM   #6
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,289
Default

Thanks Robu...

so just to say that given what this script can do, especially that it can run on just a few selected notes, being able to use it in the Inline Editor would be really great. I think if you try the Inline Editor yourself you will see what I mean.
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is online now   Reply With Quote
Old 05-10-2017, 06:31 PM   #7
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,748
Default

this is really great!
I didn't realize at first that the tabs share settings and that's pretty cool.

I did manage to make it crash by setting all note weight sliders on the randomiser page to 0.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 05-10-2017, 10:24 PM   #8
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default

Quote:
Originally Posted by EpicSounds View Post
this is really great!
I didn't realize at first that the tabs share settings and that's pretty cool

I did manage to make it crash by setting all note weight sliders on the randomiser page to 0.
Good catch, Jon - I know why that happens. Added to the bug tracker.

Thanks!

Edit - fixed in next release
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen

Last edited by RobU; 05-10-2017 at 10:59 PM.
RobU is offline   Reply With Quote
Old 05-11-2017, 11:29 AM   #9
dupont
Human being with feelings
 
dupont's Avatar
 
Join Date: Nov 2007
Location: France
Posts: 719
Default

Waouh !

Great job.
My favorite composition tool.
dupont is offline   Reply With Quote
Old 05-12-2017, 08:20 AM   #10
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,748
Default



Links in the article.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 05-12-2017, 08:43 AM   #11
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,289
Default

Hey Epic... nice video thanks...

one comment about a feature you might care to add...

the script can operate on only selected notes... which is something I find very kewl because let's say you have a pattern you basically like but also have some small section of it that you want to varigate... so just select the notes and run the script on those and get varieties of just that section...

...right?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is online now   Reply With Quote
Old 05-12-2017, 11:48 AM   #12
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default

Quote:
Originally Posted by hopi View Post
Hey Epic... nice video thanks...

so just select the notes and run the script on those and get varieties of just that section...

...right?
Correct - also, if you pick the Permute scale when you have a few notes selected, it will only use those note values when randomising

And thank you Jon for the video !
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen
RobU is offline   Reply With Quote
Old 05-12-2017, 08:51 PM   #13
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,289
Default

Just noticed this ...maybe worth mentioning...

I have dual monitors so I mostly open the ME in the 'other' monitor... off to the right side

Ok but then running this script, the GUI for it will not live on top of that floating ME...

It will stay on top of the arrange window, but vanishes behind the ME if moved over there...

Perhaps that can be changed?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is online now   Reply With Quote
Old 05-14-2017, 10:40 AM   #14
dub tree
Human being with feelings
 
Join Date: Jan 2008
Posts: 236
Default

Hi. I was messing around with your script last night and made a little track. Everything but the synth pads and flute melody was generated MIDI with the euclidean thingamajig. Polyrhythms galore!

https://soundcloud.com/halfwalkmedia/euclid

Thanks for your awesome script.
dub tree is offline   Reply With Quote
Old 05-14-2017, 11:31 AM   #15
Arnar
Human being with feelings
 
Arnar's Avatar
 
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
Default

AMAZING !

Small suggestion , saving presets wouls be nice...I think ?
__________________
In Music We Trust.
http://soundcloud.com/hazar
http://soundcloud.com/ifthenrun
Arnar is offline   Reply With Quote
Old 05-14-2017, 11:10 PM   #16
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default

Quote:
Originally Posted by Arnar View Post
AMAZING !

Small suggestion , saving presets wouls be nice...I think ?
Presets are on the to do list at some point.

Cheers
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen
RobU is offline   Reply With Quote
Old 05-14-2017, 11:08 PM   #17
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default

Quote:
Originally Posted by dub tree View Post
Hi. I was messing around with your script last night and made a little track. Everything but the synth pads and flute melody was generated MIDI with the euclidean thingamajig. Polyrhythms galore!

https://soundcloud.com/halfwalkmedia/euclid

Thanks for your awesome script.
Hey dub tree, that is tres cool ! Great tune, and nice use of the euclidean generator
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen
RobU is offline   Reply With Quote
Old 03-02-2018, 04:32 AM   #18
sound warrior
Human being with feelings
 
Join Date: May 2010
Location: the D.E.
Posts: 209
Default

hi please can some one help me, I've downloaded this script through reapack but its not showing up in the mane actions list or in the actions menu in the midi editor, I've sinked the reapack scrips and restarted reaper but its still not showing up does any one know what the problem could be? thanks guys
__________________
I'm trey from the uk. I'm totally blind, running the latest version of reaper on Mac os10 with the voice over screen reeder and osara accessibility plug in: https://github.com/nvaccess/osara
sound warrior is offline   Reply With Quote
Old 03-03-2018, 07:25 AM   #19
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 4,932
Default

- Open MIDI Editor and make sure the MIDI Editor window has focus.
- Now, open Reaper Action List.
- Now, in the upper right of this Action List, at the right of "Section", choose "MIDI Editor"
- Now, in Reaper Action List, in the filter field, type in "machina".

Still doesn't show up ??
__________________
Reaper - OSX (always latest version)
OSX Catalina (always latest version)
My Reaper Tips&Tricks: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 03-03-2018, 08:31 PM   #20
sound warrior
Human being with feelings
 
Join Date: May 2010
Location: the D.E.
Posts: 209
Default

thanks for this recommendation I'll try it and let you know how it goes
Quote:
Originally Posted by vanhaze View Post
- Open MIDI Editor and make sure the MIDI Editor window has focus.
- Now, open Reaper Action List.
- Now, in the upper right of this Action List, at the right of "Section", choose "MIDI Editor"
- Now, in Reaper Action List, in the filter field, type in "machina".

Still doesn't show up ??
__________________
I'm trey from the uk. I'm totally blind, running the latest version of reaper on Mac os10 with the voice over screen reeder and osara accessibility plug in: https://github.com/nvaccess/osara
sound warrior is offline   Reply With Quote
Old 07-15-2018, 02:06 AM   #21
geoslake
Human being with feelings
 
Join Date: Apr 2007
Posts: 359
Default

Thanks for the amazing scripts !!!
Is there a way to get the randomiser to spread notes across multiple octaves ?
geoslake is offline   Reply With Quote
Old 07-18-2018, 08:34 AM   #22
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default

Quote:
Originally Posted by geoslake View Post
Thanks for the amazing scripts !!!
Is there a way to get the randomiser to spread notes across multiple octaves ?
The current version only supports 2 octaves (check the Octave x2 option), although you don't get individual control over probability.

I was planning to add more functionality, including extending the range, but the basic architecture sucks (I was learning Lua as I was writing it), and extending what's there is more difficult than it needs to be. I'm working on V2, but don't hold your breath though, it's some way off, primarily due to the 9-5 suck...

If you have any feature requests for V2, now would be a good time to post them on the issue tracker over at GitHub.- https://github.com/RobU23/ReaScripts/issues


Cheers, R.
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen
RobU is offline   Reply With Quote
Old 10-06-2019, 01:51 AM   #23
dalim.biswas
Human being with feelings
 
Join Date: Jun 2016
Posts: 32
Default Saving presets lacking in midi ex machina

It has beautiful features one can use of midiex machine too free of cost .Whereas one feature must be added to save the presets function(scale or notes) so that i do not run this plugin again for same tweaking .Also you can use step block for drums in future for beat generation .BY the way great stupendous work of Genius mpl.

Last edited by dalim.biswas; 11-09-2019 at 01:40 AM. Reason: additional comments
dalim.biswas is offline   Reply With Quote
Old 12-07-2019, 12:29 PM   #24
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default 1.3.5 Bugfix Update

Hi,

I've uploaded a small fix for an annoying bug that would crash MXM when no midi item was selected in the Arrange view.

To get the best out of this I would suggest the following preferences:



With these set, you can switch items in arrange and have them mirrored in the open midi editor, and leave MXM open at the same time.

If you have any issues, give me a shout.


Just a note to some of the feature requesters - there won't be any more updates to 1.x versions, bug fixes only. I have been working on 2.x and those requests will be included (mostly) : )

Cheers
R
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen

Last edited by RobU; 12-07-2019 at 12:34 PM.
RobU is offline   Reply With Quote
Old 12-07-2019, 09:16 PM   #25
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 4,932
Default

You are working on V2 ?!
That's great news, thank you and can't wait !
__________________
Reaper - OSX (always latest version)
OSX Catalina (always latest version)
My Reaper Tips&Tricks: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 12-08-2019, 02:36 AM   #26
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Location: R'lyeh
Posts: 825
Default

Quote:
Originally Posted by vanhaze View Post
You are working on V2 ?!
That's great news, thank you and can't wait !
Don't hold your breath VH, it's a complete rewrite, and it's long way from being completed : )
__________________
Hard work never killed anybody, but why take a chance?
~Edgar Bergen
RobU is offline   Reply With Quote
Old 12-08-2019, 02:46 AM   #27
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 4,932
Default

I should have said "I can wait". 😉
__________________
Reaper - OSX (always latest version)
OSX Catalina (always latest version)
My Reaper Tips&Tricks: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.