Old 03-08-2017, 03:36 PM   #41
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default 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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-08-2017, 03:45 PM   #42
Arnar
Human being with feelings
 
Arnar's Avatar
 
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
Default

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.
__________________
In Music We Trust.
http://soundcloud.com/hazar
http://soundcloud.com/ifthenrun
Arnar is offline   Reply With Quote
Old 03-08-2017, 04:15 PM   #43
Alez156
Human being with feelings
 
Alez156's Avatar
 
Join Date: Jun 2015
Location: Venezuela
Posts: 345
Default

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?
Alez156 is offline   Reply With Quote
Old 03-08-2017, 11:30 PM   #44
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by Alez156 View Post
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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-09-2017, 08:35 AM   #45
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 753
Default

RobU, do you think its possible to allow it to use the scales that are found in the MIDI editor's scales selection?
Ozman is offline   Reply With Quote
Old 03-09-2017, 09:42 AM   #46
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by Ozman View Post
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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-09-2017, 12:18 PM   #47
dupont
Human being with feelings
 
dupont's Avatar
 
Join Date: Nov 2007
Location: France
Posts: 919
Default

That's better now, thanks RoBu.
dupont is offline   Reply With Quote
Old 03-09-2017, 12:20 PM   #48
dupont
Human being with feelings
 
dupont's Avatar
 
Join Date: Nov 2007
Location: France
Posts: 919
Default

Quote:
Originally Posted by Arnar View Post
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.
dupont is offline   Reply With Quote
Old 03-09-2017, 05:25 PM   #49
Arnar
Human being with feelings
 
Arnar's Avatar
 
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
Default

Would it be possible to make it span more then one octave ?
__________________
In Music We Trust.
http://soundcloud.com/hazar
http://soundcloud.com/ifthenrun
Arnar is offline   Reply With Quote
Old 03-10-2017, 01:54 AM   #50
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by Arnar View Post
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 View Post
Or a range of notes instead of an octave.
I think Arnar's request would cover this ?


Quote:
Originally Posted by Arnar View Post
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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-10-2017, 02:20 AM   #51
woggle
Human being with feelings
 
Join Date: Nov 2015
Posts: 374
Default

Quote:
Originally Posted by Arnar View Post
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
woggle is offline   Reply With Quote
Old 03-10-2017, 02:41 AM   #52
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by woggle View Post
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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-10-2017, 02:52 AM   #53
woggle
Human being with feelings
 
Join Date: Nov 2015
Posts: 374
Default

Quote:
Originally Posted by RobU View Post
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.
woggle is offline   Reply With Quote
Old 03-10-2017, 06:37 AM   #54
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by woggle View Post
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
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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-10-2017, 09:04 AM   #55
Arnar
Human being with feelings
 
Arnar's Avatar
 
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
Default

This plug is now responsible for my new track.
Love it!
__________________
In Music We Trust.
http://soundcloud.com/hazar
http://soundcloud.com/ifthenrun
Arnar is offline   Reply With Quote
Old 03-10-2017, 09:27 AM   #56
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by Arnar View Post
This plug is now responsible for my new track.
Love it!
Nice !
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-13-2017, 03:41 PM   #57
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 1,126
Default

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?
lexaproductions is offline   Reply With Quote
Old 03-13-2017, 04:00 PM   #58
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by lexaproductions View Post
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 !
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-13-2017, 06:28 PM   #59
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

Quote:
Originally Posted by RobU View Post
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.
cfillion is offline   Reply With Quote
Old 03-13-2017, 11:47 PM   #60
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

Quote:
Originally Posted by lexaproductions View Post
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"
__________________
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
vanhaze is offline   Reply With Quote
Old 03-14-2017, 01:36 AM   #61
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by cfillion View Post
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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 03-14-2017, 10:04 AM   #62
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 753
Default

Quote:
Originally Posted by RobU View Post
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.
Ozman is offline   Reply With Quote
Old 03-16-2017, 10:34 AM   #63
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 1,126
Default

Quote:
Originally Posted by vanhaze View Post
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!
lexaproductions is offline   Reply With Quote
Old 03-16-2017, 11:42 AM   #64
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

Nice !
__________________
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
vanhaze is offline   Reply With Quote
Old 03-28-2017, 12:09 PM   #65
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
Default

This script IS AWESOME. THANK YOU!
__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Old 03-30-2017, 09:51 PM   #66
Banson
Human being with feelings
 
Banson's Avatar
 
Join Date: Mar 2017
Posts: 10
Default

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
Banson is offline   Reply With Quote
Old 06-07-2017, 03:38 AM   #67
woggle
Human being with feelings
 
Join Date: Nov 2015
Posts: 374
Default

HI RobU - did this script ever update to its bigger brother? I am hoping the permute function is now available.

thanks, woggle
woggle is offline   Reply With Quote
Old 06-07-2017, 05:38 AM   #68
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by woggle View Post
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
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 06-07-2017, 05:53 AM   #69
woggle
Human being with feelings
 
Join Date: Nov 2015
Posts: 374
Default

thanks RobU - amazingly useful work and so kind of you to share it
woggle is offline   Reply With Quote
Old 01-20-2020, 08:08 PM   #70
smasha
Human being with feelings
 
Join Date: Aug 2006
Posts: 399
Default

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?
smasha 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 07:20 AM.


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