Old 10-23-2009, 02:35 PM   #1
CoffeeMilkshake
Mortal
 
Join Date: Mar 2007
Posts: 421
Red face Random MIDI note generator?

Hi guys

Can anyone build me a JS plugin that starts outputing (by itself) random midi notes when you insert it on a track?
With options for:

* note range from (whole,half,quarter,8th,pauses...) to (whole,half,quarter,8th,pauses...)

*Pitch range selection

*Detune percentage (0 - tuned ; - values (flat) ; + values (sharp) or range values

Anyone?

TIA
__________________
Reaper registered user - proudly, may I add :)
CoffeeMilkshake is offline   Reply With Quote
Old 11-05-2009, 05:57 AM   #2
whatsup
Mortal
 
whatsup's Avatar
 
Join Date: Aug 2008
Posts: 803
Default

for the note it's easy

the code below assume that min and max are included in the range

Code:
note = (rand(max+1-min)+min)&$x7F;
for note length it's more complicated, because there is no note length property, you have to count and calculate time,tempo ...
__________________
(^|^)<-click this for details.____(^|^)<-this for the bundle download.
Tutorials: Full MIDI Automation
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Reaper is a Monster,
but i won't be satisfied until
floating windows will be Z-order customizable.

Last edited by whatsup; 11-05-2009 at 11:39 AM.
whatsup is offline   Reply With Quote
Old 11-05-2009, 06:56 AM   #3
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 3,553
Default

Not 100% what you're looking for, but JS/schwa/midi_modal_randomness could easily be modded to play by itself instead of waiting for input.
schwa is offline   Reply With Quote
Old 11-06-2009, 11:19 AM   #4
CoffeeMilkshake
Mortal
 
Join Date: Mar 2007
Posts: 421
Default

Thanks for answering guys!

Unfortunately I know nothing on how to program computers and C# and JS so I'll have to wait for a JS generous soul or look for a VST if it does exist...
I've googled it but for now nothing comes up...

Thanks anyway for your input.

Have a nice weekend!
__________________
Reaper registered user - proudly, may I add :)
CoffeeMilkshake 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 06:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.