05-10-2017, 01:17 PM
|
#1 |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
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 Note Randomiser ![]() Random Sequence Generator ![]() Euclidean Generator ![]() Features Note Randomiser
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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 Last edited by RobU; 12-07-2019 at 12:20 PM. Reason: Updated to 1.3.5 |
|
|
05-10-2017, 01:18 PM
|
#2 |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
reserved ...
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
05-10-2017, 03:24 PM
|
#3 |
|
Human being with feelings
Join Date: Feb 2016
Posts: 121
|
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 ::::::: |
|
|
05-10-2017, 04:10 PM
|
#4 |
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
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 |
|
|
05-10-2017, 06:31 PM
|
#5 |
|
Human being with feelings
Join Date: Jul 2009
Posts: 8,346
|
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
|
|
|
05-10-2017, 10:24 PM
|
#6 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Thanks! Edit - fixed in next release
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 Last edited by RobU; 05-10-2017 at 10:59 PM. |
|
|
|
05-10-2017, 10:33 PM
|
#7 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
![]() 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!
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
05-11-2017, 07:46 AM
|
#8 |
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
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 |
|
|
05-11-2017, 08:49 AM
|
#9 |
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Played with it today and this is really awesome, many thanks !!
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists |
|
|
05-11-2017, 11:29 AM
|
#10 |
|
Human being with feelings
Join Date: Nov 2007
Location: France
Posts: 919
|
Waouh !
Great job. My favorite composition tool. |
|
|
05-12-2017, 08:20 AM
|
#11 |
|
Human being with feelings
Join Date: Jul 2009
Posts: 8,346
|
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
|
|
05-12-2017, 08:43 AM
|
#12 |
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
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 |
|
|
05-12-2017, 11:48 AM
|
#13 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
![]() And thank you Jon for the video !
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
05-12-2017, 08:51 PM
|
#14 |
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
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 |
|
|
05-13-2017, 02:10 AM
|
#15 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
I don't have a dual screen set-up here so hard for me to test, but even on one, if I have a full screen ME then I can lose the script behind it ... I am not sure if it's possible to pin a script window to the front, or even to locate the window and bring it back (short of closing and reopening it..). I also noticed in Jon's video that the fonts look pretty bad on a Mac :| I did use one that I thought was common on both Win/Mac but the rendering looks very different. I'll look into this too - if there's a way to detect the current OS, then I can switch the font to a more Mac friendly one.. If any of the more experienced scripters can offer a solution then I'd be definitely try to fix both those issues.
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
05-13-2017, 09:08 AM
|
#16 |
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
Thanks Rob... Ok so you see the behavior I'm pointing to even on a single screen... that's good.
I think maybe one of the other script guys, Lokasenna, Heda, MPL, SPK77, etc., might know a way to solve this if we can get them to look in here... I know I have already mentioned the wish to have it work on the Inline Editor but I'll say it again here just as a reminder because that would be soooo nice. You have a very sweet thing going on here that is a lot of fun to play with and I greatly appreciate your contining work on it!
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl https://soundcloud.com/hopikiva |
|
|
05-13-2017, 10:25 AM
|
#17 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
If it's doable, I'll certainly look into it.
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 Last edited by RobU; 05-13-2017 at 10:30 AM. |
|
|
|
05-13-2017, 10:28 AM
|
#18 |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Added fix for crash when all note sliders set to zero
Added sequencer note shifting left / right by grid size Available in ReaPack Cheers
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
05-13-2017, 12:47 PM
|
#19 |
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
You are A Hero !!!
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists |
|
|
05-13-2017, 01:25 PM
|
#20 |
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
Thanks again Rob... wonder if you could explain the Permute setting to me...
pretend you are talking to an idiot... ![]() [hahaha pretend, hell!] PS: just tried the updater via Reapack but Reapack still says 1.3... so don't know if it is actually getting the 1.32 version...
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl https://soundcloud.com/hopikiva |
|
|
05-13-2017, 02:05 PM
|
#21 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
![]() Permute is a special scale available from the Scale drop down list. If you select some notes from a MIDI item, then choose Permute (or vice versa) - The script will use the selected midi note values for randomising the selection (instead of using a full scale). You can activate the 'All / Sel Notes' option to have it affect all notes but still using the originally selected note values. If you change your selection, the Permute scale will update with the new note values Make sense? I can put a licecap together tomorrow if you like - but it's pretty straightforward once you try it a couple of times. Just tested the ReaPack update on a portable install - it updated as soon as I launched Reaper, but maybe you need to manually refresh the packages? At a glance, the version number is in the window title bar (tho I'm sure you knew that )
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
05-13-2017, 03:50 PM
|
#22 |
|
Human being with feelings
Join Date: May 2014
Posts: 297
|
Errr.... I can't find this in Reapack - what should I be looking for?
Edit: Please ignore, I managed to import it.
__________________
c====(=#O| ) ~~ ♬·¯·♩¸¸♪·¯·♫¸ |
|
|
05-13-2017, 11:38 PM
|
#23 |
|
Human being with feelings
Join Date: May 2016
Location: Leuven
Posts: 120
|
But I don't...how do you import that index.xml ?
If I update Reapack and search for Rob in the actions in the midi-editor, noting pops up? Thanx in advance! Last edited by Knob Twiddler; 05-13-2017 at 11:45 PM. |
|
|
05-14-2017, 12:59 AM
|
#24 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Cut and paste the following, then click OK. Code:
https://github.com/RobU23/ReaScripts/raw/master/index.xml Right-click MIDI Ex Machina and select install. It should then be available from the MIDI Editor Actions menu Cheers
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 Last edited by RobU; 05-14-2017 at 02:18 AM. Reason: updated with kavula's comments |
|
|
|
05-14-2017, 01:27 AM
|
#25 |
|
Human being with feelings
Join Date: Mar 2017
Posts: 12
|
Not sure if just importing repository is enough to find the script in
action list. Once the repository is imported (state:enabled - on the right side), you need to select it and go to options-install packages. Then it should be there. |
|
|
05-14-2017, 01:53 AM
|
#26 |
|
Human being with feelings
Join Date: May 2016
Location: Leuven
Posts: 120
|
Thank you guys! Great help!
1.In Reaper open the menu: Extensions / ReaPack / Import a Repository 2. Cut and paste the link: https://github.com/RobU23/ReaScripts...ster/index.xml 3. open the Package Browser and search/filter for 'RobU' 4. Rightclick and install 5. Make some music! 6. Or better: let it make some music for you. |
|
|
05-14-2017, 10:40 AM
|
#27 |
|
Human being with feelings
Join Date: Jan 2008
Posts: 319
|
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. |
|
|
05-14-2017, 11:31 AM
|
#28 |
|
Human being with feelings
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
|
AMAZING !
Small suggestion , saving presets wouls be nice...I think ? |
|
|
05-14-2017, 11:36 AM
|
#29 | |
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
Quote:
Thanks Rob... yeah Permute... very kewl! OK so not that brings up a question: Say I use permute to set the scale of whatever selected few notes... say 5 notes But then I want to run the randomizer on all notes but using that permute scale... right? Is there a way to keep that scale when I change to selecting all notes to be randomized???
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl https://soundcloud.com/hopikiva Last edited by hopi; 05-14-2017 at 11:45 AM. |
|
|
|
05-14-2017, 11:08 PM
|
#30 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
05-14-2017, 11:10 PM
|
#31 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Cheers
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
05-14-2017, 11:24 PM
|
#32 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
The limitation here is that it works either with the selected notes (i.e. the notes that make up the current permute scale), or all notes. Manually selecting different notes (right-click-drag, or ctrl-a), will create a new Permute scale, which is by design.
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
05-25-2017, 01:57 AM
|
#33 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
I've looked into this and see a couple of issues 1) I can't find a way for the script to detect if it's in the inline editor (devs, if you're listening, can this be added to the API, please?). Julian has a script that does this using reaper.BR_GetMouseCursorContext_MIDI() - but as far as I can tell, the mouse needs to be over the item/take for this to work (although I could be wrong...). Also, I'm not using any extensions at the moment, and would like to keep the script's dependencies at zero, if I can. 2) The script calls MIDIEditor_OnCommand to run action ID 40435 (Send all notes off to all MIDI outputs/plug-ins) after deleting then inserting the modified notes to the take. This is done to kill any hanging notes. Unfortunately, the inline editor does not have access to OnCommand so I can't reliably delete notes from a take without the chance of a hang. However, I did find reaper.OnPauseButton() in the API so it might still be do-able (i.e pause playback, do scripty stuff, resume playback), if I could detect the inline editor, of course... If any scripters can offer advice on other ways of detecting the inline editor that would be hugely helpful, and would make hopi very happy ![]() Cheers Rob
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
05-28-2017, 05:36 PM
|
#34 |
|
Human being with feelings
Join Date: Oct 2013
Posts: 108
|
Hi developer plugin, in this plugin you need an automatic chord detection. Thank you for your work.
Last edited by Alex Ortega; 05-28-2017 at 05:57 PM. |
|
|
06-04-2017, 03:37 AM
|
#35 |
|
Human being with feelings
Join Date: Mar 2015
Posts: 54
|
Really appreciate for Your huge job and share!
This script reminds me a Max4Live stuff which am missing in REAPER. |
|
|
06-07-2017, 05:59 AM
|
#36 |
|
Human being with feelings
Join Date: Nov 2015
Posts: 395
|
yeah, big thanks from me - wonderful work and so generous to share it.
Might I suggest a variation on permute that only lets the notes get used once in the randomisation eg say you select A, C, E and permute, then you could get C, E, A or A, E, C, but not A, A, C .(which I think you can get now) in other words if you select a sequence that has seven As and three Cs and five Es then the permutation has seven As, three Cs and five Es But that's me being greedy, what you have done RobU is going to be used all the time by me - huge thanks woggle |
|
|
06-07-2017, 06:20 AM
|
#37 | |
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
That said, you might have to wait a while, there are some other features in development at the moment, but I'm sure I'll get around to it at some point Cheers
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1 |
|
|
|
06-07-2017, 06:42 AM
|
#38 |
|
Human being with feelings
Join Date: Nov 2015
Posts: 395
|
too kind - and... "other features"
amazing !!!
|
|
|
07-27-2017, 12:32 PM
|
#39 |
|
Human being with feelings
Join Date: Oct 2014
Location: Simferopol, Crimea Republic
Posts: 12
|
Absolutely great!
|
|
|
07-27-2017, 02:26 PM
|
#40 |
|
Human being with feelings
Join Date: Feb 2017
Posts: 5,520
|
very nice one! thank you!
|
|
|
![]() |
| Thread Tools | |
|
|