|
|
|
03-08-2017, 03:36 PM
|
#41
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Bug fixes...
So, after many collisions between my head and desk... I have some polyphonic note-munching issue fixes. Yay!
The script should now handle multiple notes at the same position without randomly hanging, or eating anything that it shouldn't, but of course someone will find a way
I've not managed to hang Reaper with up to 16 bars of polyphonic notes - but, there is a slowdown the bigger the item and the more notes, so bear that in mind - the script has its limitations.
If I can find any speed ups, I'll add them in a later version.
Please re-download from the Dropbox link above, test, and let me know how you get on
Cheers
Rob
|
|
|
03-08-2017, 03:45 PM
|
#42
|
Human being with feelings
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
|
I am using this a lot !
Would be nice to randomize based on the notes selected and their note value , if that makes sense?
So rather then using a scale , just derive what notes can be used from the notes selected.
|
|
|
03-08-2017, 04:15 PM
|
#43
|
Human being with feelings
Join Date: Jun 2015
Location: Venezuela
Posts: 345
|
RobU, you are awesome!! I've been looking for this for a while.
Would it be okay if I showcase this script in one of my tutorials?
|
|
|
03-08-2017, 11:30 PM
|
#44
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by Alez156
RobU, you are awesome!! I've been looking for this for a while.
Would it be okay if I showcase this script in one of my tutorials?
|
I'm happy that you find it useful
No problem if you want to do a tutorial, be sure to polish your crown first
Cheers
Rob
|
|
|
03-09-2017, 08:35 AM
|
#45
|
Human being with feelings
Join Date: Feb 2015
Posts: 753
|
RobU, do you think its possible to allow it to use the scales that are found in the MIDI editor's scales selection?
|
|
|
03-09-2017, 09:42 AM
|
#46
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by Ozman
RobU, do you think its possible to allow it to use the scales that are found in the MIDI editor's scales selection?
|
Hi
Are you referring to the standard Reaper scales, the ix_scales, or the non-native (and huge) zmod reascales ?
The first two are pretty much covered in the script, but for zmod's, sure it's possible, although the scales are not stored in the same format, but they could be converted reasonably easily.
I am working on the note randomizer's bigger brother at the moment, and on the to-do list is the ability to load and save save custom scales from the GUI, as well as a /possible/ import of (selected) zmod reascale files. But to be honest, it's not very high up the priority list at the moment.
That said, the current list is quite short... and I'm open to adding more to the default set.
Meantime, you can add additional scales manually by editing the script, if there are a few that you really want or need, although I'd be the first to admit that's not ideal...
If you have a few that you really want added, PM me and I'll see what I can do.
Cheers
Rob
|
|
|
03-09-2017, 12:18 PM
|
#47
|
Human being with feelings
Join Date: Nov 2007
Location: France
Posts: 919
|
That's better now, thanks RoBu.
|
|
|
03-09-2017, 12:20 PM
|
#48
|
Human being with feelings
Join Date: Nov 2007
Location: France
Posts: 919
|
Quote:
Originally Posted by Arnar
I am using this a lot !
Would be nice to randomize based on the notes selected and their note value , if that makes sense?
So rather then using a scale , just derive what notes can be used from the notes selected.
|
Or a range of notes instead of an octave.
|
|
|
03-09-2017, 05:25 PM
|
#49
|
Human being with feelings
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
|
Would it be possible to make it span more then one octave ?
|
|
|
03-10-2017, 01:54 AM
|
#50
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by Arnar
I am using this a lot !
Would be nice to randomize based on the notes selected and their note value , if that makes sense?
So rather then using a scale , just derive what notes can be used from the notes selected.
|
I think I understand. You mean grab the note values from the selected notes and use only those for randomising ?
It's possible, of course. I am working on this script's bigger brother at the moment, and I'll add your request to the planned features for that one. But, if I get the code working early, and it's not too much effort, I will back-port it to the current script.
As a workaround for now, you can set the probability slider value to 0 to omit notes from being selected, although I agree that is not very convenient to have to isolate the notes that way...
Quote:
Originally Posted by dupont
Or a range of notes instead of an octave.
|
I think Arnar's request would cover this ?
Quote:
Originally Posted by Arnar
Would it be possible to make it span more then one octave ?
|
It's planned. It will be an On/Off option, with a slider to affect the probability of a higher octave being selected, in line with the general philosophy of the thing
Also planned is an option to have the first note always be the first note of the scale.
Cheers
Rob
|
|
|
03-10-2017, 02:20 AM
|
#51
|
Human being with feelings
Join Date: Nov 2015
Posts: 374
|
Quote:
Originally Posted by Arnar
I am using this a lot !
Would be nice to randomize based on the notes selected and their note value , if that makes sense?
So rather then using a scale , just derive what notes can be used from the notes selected.
|
yes, a permute function would be more useful musically than a more random random
(to me anyway)
also a beta distribution is the best randomising distribution for music as you can use it to approximate any other random distribution - and it is really easy to implement. psuedo code is in Dodge and Jerse's Computer music book. If I knew how to attach images I would attach a scan of the code
|
|
|
03-10-2017, 02:41 AM
|
#52
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by woggle
yes, a permute function would be more useful musically than a more random random
(to me anyway)
also a beta distribution is the best randomising distribution for music as you can use it to approximate any other random distribution - and it is really easy to implement. psuedo code is in Dodge and Jerse's Computer music book. If I knew how to attach images I would attach a scan of the code
|
Permute function I can get with, beta distribution description on the Wiki made my head hurt, a lot... I prefer the KISS principle
-----
To attach an image : Upload it to the stash, open the image in your browser, grab the link, and use the icon in the forum message editor toolbar to add it inline to your post.
I'll take a look at it but can't promise anything. I'm still recovering from the Wiki explanation... also, see my sig
|
|
|
03-10-2017, 02:52 AM
|
#53
|
Human being with feelings
Join Date: Nov 2015
Posts: 374
|
Quote:
Originally Posted by RobU
Permute function I can get with, beta distribution description on the Wiki made my head hurt, a lot... I prefer the KISS principle
-----
To attach an image : Upload it to the stash, open the image in your browser, grab the link, and use the icon in the forum message editor toolbar to add it inline to your post.
I'll take a look at it but can't promise anything. I'm still recovering from the Wiki explanation... also, see my sig
|
thanks, here it is https://stash.reaper.fm/30110/beta.jpg
also. no pressure. Have go if you think it would be interesting. I think we all appreciate anyone who shares their efforts
Last edited by woggle; 03-10-2017 at 03:03 AM.
|
|
|
03-10-2017, 06:37 AM
|
#54
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by woggle
|
Thanks, woggle. I got the beta function working in Lua. Computationally, the cost isn't too high, I'm just not sure how I translate the results to something usable.. I'll keep it on the back-burner for now, it might come in useful later, either for another method of note selection, or perhaps velocity randomisation.
Cheers
R
|
|
|
03-10-2017, 09:04 AM
|
#55
|
Human being with feelings
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
|
This plug is now responsible for my new track.
Love it!
|
|
|
03-10-2017, 09:27 AM
|
#56
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by Arnar
This plug is now responsible for my new track.
Love it!
|
Nice !
|
|
|
03-13-2017, 03:41 PM
|
#57
|
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
Sorry for being a newbie, but When I try to Load the Script, it is Grayed out in the Dialog So I can't import it.
any suggestion?
|
|
|
03-13-2017, 04:00 PM
|
#58
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by lexaproductions
Sorry for being a newbie, but When I try to Load the Script, it is Grayed out in the Dialog So I can't import it.
any suggestion?
|
I'm not on a Mac so I'm not sure I can help - another forum user, vanhaze is though and he had it working.
Did you download both files and put them in the same directory?
You should also be in the MIDI editor when loading the script (although to be fair, I'm not sure that's necessary...).
vanhaze, help !
|
|
|
03-13-2017, 06:28 PM
|
#59
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
|
Quote:
Originally Posted by RobU
If any of the ReaPack guys read this; While the headers in my scrips are ReaPack compatible, a) I have no idea how to add this to ReaPack, and b) if ReaPack supports 'requires' in Lua scripts? Maybe someone can clue me in?
|
The best way is to upload to the ReaTeam script repository (ReaPack is decentralized: things are not added directly to it).
https://github.com/ReaTeam/ReaScripts#contributing
I see your script is currently using some of X-Raym's previous Wordpress-inspired tags. The tags the reapack-index tool understands are a little different: https://github.com/cfillion/reapack-...ation#metadata.
MIDI Editor/RobU_MIDI Note Randomizer.lua
Code:
-- @description MIDI Note Randomizer
-- @about
-- ## Usage Instructions
--
-- Move sliders, press buttons
-- @author RobU
-- @link Forum Thread http://forum.cockos.com/showthread.php?t=188774
-- @provides RobU_MIDI note randomizer (GUI Library).lua
-- @version 1.1
-- Licensed under the GPL v3.
code here
(This syntax is also supported: http://sprunge.us/hJXQ)
The "@provides" line adds "RobU_MIDI Note Randomizer (GUI Library).lua" from the same directory to the file list. I've named it like that for better organization but it can by anything.
If you have further questions, feel free to ask anything that comes to mind in this thread.
|
|
|
03-13-2017, 11:47 PM
|
#60
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Quote:
Originally Posted by lexaproductions
Sorry for being a newbie, but When I try to Load the Script, it is Grayed out in the Dialog So I can't import it.
any suggestion?
|
Hey !
Could you please do this:
- Right mouse click on the script file and choose "Get info"
- Look at the box "name and extension"
- What is the extension you see ?
- it should be ".lua"
|
|
|
03-14-2017, 01:36 AM
|
#61
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by cfillion
The best way is to upload to the ReaTeam script repository (ReaPack is decentralized: things are not added directly to it).
https://github.com/ReaTeam/ReaScripts#contributing
I see your script is currently using some of X-Raym's previous Wordpress-inspired tags. The tags the reapack-index tool understands are a little different: https://github.com/cfillion/reapack-...ation#metadata.
MIDI Editor/RobU_MIDI Note Randomizer.lua
Code:
-- @description MIDI Note Randomizer
-- @about
-- ## Usage Instructions
--
-- Move sliders, press buttons
-- @author RobU
-- @link Forum Thread http://forum.cockos.com/showthread.php?t=188774
-- @provides RobU_MIDI note randomizer (GUI Library).lua
-- @version 1.1
-- Licensed under the GPL v3.
code here
(This syntax is also supported: http://sprunge.us/hJXQ)
The "@provides" line adds "RobU_MIDI Note Randomizer (GUI Library).lua" from the same directory to the file list. I've named it like that for better organization but it can by anything.
If you have further questions, feel free to ask anything that comes to mind in this thread.
|
Thanks cfillion, much appreciated !
Rob
|
|
|
03-14-2017, 10:04 AM
|
#62
|
Human being with feelings
Join Date: Feb 2015
Posts: 753
|
Quote:
Originally Posted by RobU
Hi
Are you referring to the standard Reaper scales, the ix_scales, or the non-native (and huge) zmod reascales ?
The first two are pretty much covered in the script, but for zmod's, sure it's possible, although the scales are not stored in the same format, but they could be converted reasonably easily.
I am working on the note randomizer's bigger brother at the moment, and on the to-do list is the ability to load and save save custom scales from the GUI, as well as a /possible/ import of (selected) zmod reascale files. But to be honest, it's not very high up the priority list at the moment.
That said, the current list is quite short... and I'm open to adding more to the default set.
Meantime, you can add additional scales manually by editing the script, if there are a few that you really want or need, although I'd be the first to admit that's not ideal...
If you have a few that you really want added, PM me and I'll see what I can do.
Cheers
Rob
|
Sri for the late reply.
I was referring to the big zmod reascales. That's what I use, and it just convenient to have scripts working with the daw in its scale selection. I think Lokasenna's Chord Helper does a great job with such integration.
|
|
|
03-16-2017, 10:34 AM
|
#63
|
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
Quote:
Originally Posted by vanhaze
Hey !
Could you please do this:
- Right mouse click on the script file and choose "Get info"
- Look at the box "name and extension"
- What is the extension you see ?
- it should be ".lua"
|
Thanks that was it. I changed it directly from Finder and it didn't seem to work. But through the GetInfo Window all is good!
|
|
|
03-16-2017, 11:42 AM
|
#64
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Nice !
|
|
|
03-28-2017, 12:09 PM
|
#65
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
This script IS AWESOME. THANK YOU!
__________________
47.8% of statistics are made up.
|
|
|
03-30-2017, 09:51 PM
|
#66
|
Human being with feelings
Join Date: Mar 2017
Posts: 10
|
I would like to slightly extend the functionality of this script, so that from my melody the script could create random parts of other voices up and down. Without a coincidence of notes with a melody. The idea, like, is not bad
|
|
|
06-07-2017, 03:38 AM
|
#67
|
Human being with feelings
Join Date: Nov 2015
Posts: 374
|
HI RobU - did this script ever update to its bigger brother? I am hoping the permute function is now available.
thanks, woggle
|
|
|
06-07-2017, 05:38 AM
|
#68
|
Human being with feelings
Join Date: Sep 2009
Posts: 863
|
Quote:
Originally Posted by woggle
HI RobU - did this script ever update to its bigger brother? I am hoping the permute function is now available.
thanks, woggle
|
Hey woggle - it sure did
http://forum.cockos.com/showthread.php?t=191788
Permute is there - if you head down to hopi's comments, you'll find a description of how it works, but give me a shout if you get stuck
Cheers
|
|
|
06-07-2017, 05:53 AM
|
#69
|
Human being with feelings
Join Date: Nov 2015
Posts: 374
|
thanks RobU - amazingly useful work and so kind of you to share it
|
|
|
01-20-2020, 08:08 PM
|
#70
|
Human being with feelings
Join Date: Aug 2006
Posts: 399
|
Say I had a hardware drum pad trigger and it only had one pad for a crash,could I use a plug in to only randomise different crash midi notes for that one pad live?
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:20 AM.
|