Old 11-09-2022, 10:33 AM   #2881
De555u
Human being with feelings
 
Join Date: Nov 2022
Posts: 1
Default Export Regions for Izotope RX

I found export regions in ReaPack for use in Davinci Resolve, but didn't find export for Izotope RX. Standard export regions that Reaper has is certainly not suitable.

May be I just didn't see it, but if this really isn't there yet, it will be wonderful. The following are examples of exporting regions from Reaper and from RX.
Attached Files
File Type: txt REAPER regions.txt (440 Bytes, 110 views)
File Type: txt RX regions.txt (184 Bytes, 109 views)
De555u is offline   Reply With Quote
Old 11-16-2022, 06:49 AM   #2882
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 974
Default

Hi
If anyone has a idea, I would be very interested.

Starting point
items without gaps


Conditions of the script
1. the number of selected items remains the same
2. the limits , first item start to last item end always stays the same.
3. as less as possible dragin or buttons etc.(at most 4)
4. All tracks should be treated equally.
5. the craziest length manipulation that would be conceivable.(math curves types?)

I would be willing to donate.

Last edited by Dragonetti; 12-13-2022 at 07:27 AM.
Dragonetti is offline   Reply With Quote
Old 12-11-2022, 06:58 PM   #2883
PitchSlap
Human being with feelings
 
PitchSlap's Avatar
 
Join Date: Jan 2008
Location: Vancouver, BC
Posts: 3,795
Default

I'd love if there was an action to round the gain of selected tracks/items to the nearest dB or 0.5dB.

I'm a bit OCD so random numbers like 5.92dB and 3.41dB get on my nerves.
__________________
FRs: v5 Media Explorer Requests, Global Quantization, Session View
Win10 Pro 64-bit, Reaper 6(x64), AMD 3950x, Aorus X570 Master, 64GB DDR4 3600, PowerColor Red Devil 5700XT, EVO 970 2TB, 10TB HD, Define R6
PitchSlap is offline   Reply With Quote
Old 12-13-2022, 04:46 AM   #2884
Milney32
Human being with feelings
 
Join Date: Dec 2022
Posts: 2
Default Script Request - Normalize & Compensate

Hi All,

Thanks for taking the time to read.

On the hunt for a script process to do the following;

1. Normalize all items individually to -6dbTP (script already exists)
2. Grab the individual values that each item has been adjusted by.
3. Insert a 'Volume Adjustment' plugin into the Track FX Chain with the inverse value that the item on that track was adjusted. ex if the item was -4.5db to normalize then the plugin would apply +4.5db on the track that item is on.

The projects I'm working on only have 1 item per track if this makes the process easier.

Big <3

EDIT:
Contacted XRaym through their website and had a script written and straight over for a reasonable price, very happy customer.

Last edited by Milney32; 12-31-2022 at 11:22 PM. Reason: UPDATE
Milney32 is offline   Reply With Quote
Old 12-19-2022, 05:37 PM   #2885
vsthem
Human being with feelings
 
Join Date: Nov 2018
Posts: 660
Default Script to nudge up and down 1db Master Output 2?

Hey all. Would anyone be willing to put a script together to nudge up and down 1db Master Output 2? Actions already exist to nudge Master Output 1. The use case for this is that I have keyboard shortcuts assigned to the actions for Master Output 1. This controls my speaker levels. I'd love to have keyboard shortcuts to control my headphone level, which is currently on Master Output 2.

Happy to donate as well!

Thanks either way!
vsthem is offline   Reply With Quote
Old 12-19-2022, 06:57 PM   #2886
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
Default

Quote:
Originally Posted by vsthem View Post
Hey all. Would anyone be willing to put a script together to nudge up and down 1db Master Output 2? Actions already exist to nudge Master Output 1. The use case for this is that I have keyboard shortcuts assigned to the actions for Master Output 1. This controls my speaker levels. I'd love to have keyboard shortcuts to control my headphone level, which is currently on Master Output 2.

Happy to donate as well!

Thanks either way!
Try these, if they work, donate link is in signiture.

Last edited by Edgemeal; 12-20-2022 at 12:34 AM.
Edgemeal is offline   Reply With Quote
Old 12-19-2022, 09:59 PM   #2887
vsthem
Human being with feelings
 
Join Date: Nov 2018
Posts: 660
Default

brilliant! thanks!
vsthem is offline   Reply With Quote
Old 12-20-2022, 12:33 AM   #2888
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
Default

Quote:
Originally Posted by vsthem View Post
brilliant! thanks!
Thanks for donation, I added undo-block to scripts so their shown correctly in Undo History.
Attached Files
File Type: lua Nudge master output 2 volume +1db.lua (831 Bytes, 90 views)
File Type: lua Nudge master output 2 volume -1db.lua (826 Bytes, 105 views)
Edgemeal is offline   Reply With Quote
Old 12-30-2022, 04:15 PM   #2889
mcf
Human being with feelings
 
Join Date: Oct 2009
Location: Brooklyn
Posts: 72
Default Script for changing the snap/grid settings?

I'd love to have a script that writes these settings, which are accessible in the snap/grid settings dialog:

[x] snap relative to grid (on/off/toggle already avail as Actions)
[x] snap to grid at any distance
[x] snap media to nearby media items
[pulldown] Media items snap at:

Is this possible? I have two states that I need to switch between, so guess I would save two versions of the script and assign a key to each. In my case I'd need it to toggle the three checkboxes and switch the pulldown between "mouse position dependent" and "only snap at start/snap offset." I see all the relevant config strings here: https://mespotin.uber.space/Ultrasch...l#projshowgrid

Why as a script? When I'm using midi items and audio items in a project together, I really want to swap between the snapping behavior I'm used to in Reaper (for audio) and the snapping behavior I'm used to in Reason (for midi, where dragging clips around always keeps them in time with the grid). I want to switch this constantly and it doesn't feel viable to open the settings dialog and click five different places every time.

If realtime config changes are possible via script, maybe someone could point me toward an implementation and I can try to adapt it to what I need? I feel weird asking someone to just make the thing I want for me. Though maybe it's trivial and/or folks on this thread build this kind of thing for fun. Thought I'd ask!
mcf is online now   Reply With Quote
Old 01-01-2023, 04:12 PM   #2890
buddhajuke
Human being with feelings
 
Join Date: Jun 2012
Posts: 277
Default SYSEXF042306000010600005200F7 to MIDICH01CC40VAL120

Looking for a JSFX for the input of a midi track. Track receives Sysex, and spits out a MIDI CC.

Ideally the conversions would be in a plain text file, so it's easy for the user (me or anyone else) to edit. There will be a lot of conversions since my kb has a different sysex for every channel and every value.

Code:
sysex-to-cc-conversions.txt - editablie

SYSEXF042306000010600005200F7     MIDICH01CC40VAL120
SYSEXF042306000010600005200F7     MIDICH01CC40VAL119
SYSEXF042306829384700005200F7     MIDICH01CC40VAL081
buddhajuke is offline   Reply With Quote
Old 01-03-2023, 05:33 AM   #2891
hans
Human being with feelings
 
Join Date: Aug 2020
Posts: 281
Default

Script requests for Routing!

"Set selected tracks channels to 6 channels"

"Send Parent Channels from xx to xx"
hans is offline   Reply With Quote
Old 01-03-2023, 11:04 AM   #2892
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
Default Request: Add stretch markers to selected items at project markers

In ReaPack there's already 'Add stretch markers to selected items at tempo markers' by X-Raym.
I'd need a variant that does the same but based on project markers instead of tempo markers.
nofish is offline   Reply With Quote
Old 01-03-2023, 08:36 PM   #2893
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
Default

Quote:
Originally Posted by mcf View Post
I'd love to have a script that writes these settings, which are accessible in the snap/grid settings dialog:
Have a look here on how to toggle/enable/disable those (Integer) settings,
https://forum.cockos.com/showpost.ph...52&postcount=2

for Example,
Code:
-- Toggle 'Snap to grid at any distance'
reaper.SNM_SetIntConfigVar("projshowgrid", reaper.SNM_GetIntConfigVar("projshowgrid", -666)~1024)
For REAPER 'Main' Actions you can use Main_OnCommand() with Command ID,..
Code:
reaper.Main_OnCommand(41054, 0) -- Item edit: Toggle relative grid snap
Happy coding!
Edgemeal is offline   Reply With Quote
Old 01-04-2023, 04:54 PM   #2894
vsthem
Human being with feelings
 
Join Date: Nov 2018
Posts: 660
Default Open all Subprojects in New Tabs

I'm working on a project with a lot of subprojects. I'd love a script that has them all open at once in new tabs. Sequentially by where they are in the timeline. It's pretty tedious to have to open them 1 by 1 every time I open my main project. Happy to donate!
vsthem is offline   Reply With Quote
Old 01-07-2023, 03:58 PM   #2895
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default Send Single Note Instead of Chord

I have this JSFX and it shows the midi chord being played.



EDIT: This did it
just put this at the bottom with all the chords needed
Code:
    chordkey = slider1;
    chordtype = slider2;
    chordbass = slider3;
    chordkey == 2 && chordtype == 9 ? midisend(0, $x90, 13, 127);
and mute the thru with a 0
midisend(offset,msg1,0); // other send thru

I just want to send one note 0 C-2 out if the slider1= C
or send one note 21 A-1 out if slider1= A and slider2= m

I don't want any other notes going thru.

Code:
desc: Shows current playing Chord (1.01)
// Copyright 2008 mbncp

slider1:0<0,0,0{--,C,C#,D,Eb,E,F,F#,G,G#,A,Bb,B}>Chord Key
//slider2:0<0,0,0{--,Maj,Maj6,Maj7,Maj7(#11),Maj9,Maj7(9),Maj6(9),aug,min,min6,min7,min7b5,min(9),min7(9),min7(11),minMaj7,minMaj7(9),dim,dim7,7,7sus4,7b5,7(9),7(#11),7(13),7(b9),7(b13),7(#9),Maj7aug,7aug,1+5,sus4,sus2}>Chord type
slider2:0<0,0,0{--, ,6,Maj7,M7#11,add9,M7_9,69,aug,m,m6,m7,m7b5,madd9,m7_9,m7_11,mM7,mM7_9,dim,dim7,7,7sus4,7b5,7_9,7#11,7_13,7b9,7b13,7#9,M7aug,7aug,5,sus4,sus2}>Chord type
slider3:0<0,0,0{--,C,C#,D,Eb,E,F,F#,G,G#,A,Bb,B}>Chord Bass

@init
keycount = 0;
chordkeys = 0;
lastchordkeys = 0;
chordkeyscount = 0;
firstkeytime = 0;
lastkeytime = 0;

a_pl_keys = 128;
a_keys = 256;
a_xKey = 268;
a_oKey = 280;

memset(a_keys, 0, 12);
a_xKey[0]=2047;a_xKey[1]=3071;a_xKey[2]=3583;a_xKey[3]=3839;a_xKey[4]=3967;a_xKey[5]=4031;a_xKey[6]=4063;a_xKey[7]=4079;a_xKey[8]=4087;a_xKey[9]=4091;a_xKey[10]=4093;a_xKey[11]=4094;
a_oKey[0]=2048;a_oKey[1]=1024;a_oKey[2]=512;a_oKey[3]=256;a_oKey[4]=128;a_oKey[5]=64;a_oKey[6]=32;a_oKey[7]=16;a_oKey[8]=8;a_oKey[9]=4;a_oKey[10]=2;a_oKey[11]=1;

//---- gendata
cv = 300;
cd = 513;
ci = 726;
kl = 939;
kh = 951;
cv[0]=2064;cv[1]=2112;cv[2]=2057;cv[3]=2060;cv[4]=2068;cv[5]=2068;cv[6]=2072;cv[7]=2084;cv[8]=2088;cv[9]=2114;cv[10]=2114;cv[11]=2116;cv[12]=2120;cv[13]=2128;cv[14]=2128;cv[15]=2177;cv[16]=2178;cv[17]=2180;cv[18]=2184;cv[19]=2184;cv[20]=2184;cv[21]=2192;cv[22]=2305;cv[23]=2306;cv[24]=2306;cv[25]=2308;cv[26]=2312;cv[27]=2320;cv[28]=2336;cv[29]=2432;cv[30]=2576;cv[31]=2576;cv[32]=2592;cv[33]=2624;cv[34]=2624;cv[35]=3076;cv[36]=3136;cv[37]=3200;cv[38]=2061;cv[39]=2069;cv[40]=2074;cv[41]=2089;cv[42]=2090;cv[43]=2092;cv[44]=2122;cv[45]=2122;cv[46]=2130;cv[47]=2132;cv[48]=2136;cv[49]=2152;cv[50]=2181;cv[51]=2182;cv[52]=2185;cv[53]=2186;cv[54]=2188;cv[55]=2193;cv[56]=2194;cv[57]=2196;cv[58]=2196;cv[59]=2200;cv[60]=2210;cv[61]=2210;cv[62]=2212;cv[63]=2212;cv[64]=2216;cv[65]=2244;cv[66]=2248;cv[67]=2309;cv[68]=2314;cv[69]=2321;cv[70]=2322;cv[71]=2322;cv[72]=2324;
cd[0]=31;cd[1]=31;cd[2]=29;cd[3]=16;cd[4]=2;cd[5]=11;cd[6]=3;cd[7]=18;cd[8]=20;cd[9]=32;cd[10]=33;cd[11]=1;cd[12]=9;cd[13]=32;cd[14]=33;cd[15]=3;cd[16]=20;cd[17]=9;cd[18]=8;cd[19]=8;cd[20]=8;cd[21]=1;cd[22]=16;cd[23]=11;cd[24]=2;cd[25]=18;cd[26]=1;cd[27]=9;cd[28]=18;cd[29]=29;cd[30]=33;cd[31]=32;cd[32]=20;cd[33]=11;cd[34]=2;cd[35]=29;cd[36]=3;cd[37]=16;cd[38]=17;cd[39]=14;cd[40]=6;cd[41]=28;cd[42]=23;cd[43]=26;cd[44]=7;cd[45]=15;cd[46]=21;cd[47]=5;cd[48]=13;cd[49]=25;cd[50]=13;cd[51]=25;cd[52]=29;cd[53]=30;cd[54]=16;cd[55]=3;cd[56]=20;cd[57]=11;cd[58]=2;cd[59]=29;cd[60]=22;cd[61]=22;cd[62]=10;cd[63]=12;cd[64]=30;cd[65]=3;cd[66]=16;cd[67]=26;cd[68]=5;cd[69]=16;cd[70]=11;cd[71]=2;cd[72]=12;
cs[0]=0;cs[1]=7;cs[2]=0;cs[3]=3;cs[4]=0;cs[5]=3;cs[6]=4;cs[7]=6;cs[8]=4;cs[9]=7;cs[10]=2;cs[11]=7;cs[12]=7;cs[13]=0;cs[14]=7;cs[15]=0;cs[16]=0;cs[17]=3;cs[18]=4;cs[19]=0;cs[20]=8;cs[21]=0;cs[22]=0;cs[23]=0;cs[24]=9;cs[25]=3;cs[26]=4;cs[27]=0;cs[28]=0;cs[29]=8;cs[30]=0;cs[31]=5;cs[32]=10;cs[33]=10;cs[34]=7;cs[35]=11;cs[36]=11;cs[37]=11;cs[38]=3;cs[39]=3;cs[40]=4;cs[41]=4;cs[42]=4;cs[43]=4;cs[44]=4;cs[45]=7;cs[46]=0;cs[47]=7;cs[48]=7;cs[49]=4;cs[50]=3;cs[51]=0;cs[52]=0;cs[53]=0;cs[54]=3;cs[55]=0;cs[56]=0;cs[57]=3;cs[58]=0;cs[59]=4;cs[60]=0;cs[61]=6;cs[62]=3;cs[63]=6;cs[64]=4;cs[65]=7;cs[66]=7;cs[67]=1;cs[68]=4;cs[69]=0;cs[70]=0;cs[71]=9;cs[72]=3;
cv[73]=2324;cv[74]=2328;cv[75]=2338;cv[76]=2338;cv[77]=2340;cv[78]=2340;cv[79]=2340;cv[80]=2340;cv[81]=2344;cv[82]=2370;cv[83]=2372;cv[84]=2376;cv[85]=2376;cv[86]=2384;cv[87]=2384;cv[88]=2434;cv[89]=2440;cv[90]=2566;cv[91]=2570;cv[92]=2578;cv[93]=2578;cv[94]=2580;cv[95]=2593;cv[96]=2594;cv[97]=2596;cv[98]=2600;cv[99]=2600;cv[100]=2626;cv[101]=2628;cv[102]=2628;cv[103]=2632;cv[104]=2632;cv[105]=2640;cv[106]=2656;cv[107]=2689;cv[108]=2690;cv[109]=2692;cv[110]=2692;cv[111]=2696;cv[112]=2704;cv[113]=2720;cv[114]=2752;cv[115]=2817;cv[116]=2818;cv[117]=2832;cv[118]=2848;cv[119]=3078;cv[120]=3082;cv[121]=3092;cv[122]=3138;cv[123]=3140;cv[124]=3144;cv[125]=3202;cv[126]=3208;cv[127]=3344;cv[128]=3392;cv[129]=3456;cv[130]=2138;cv[131]=2189;cv[132]=2197;cv[133]=2198;cv[134]=2202;cv[135]=2225;cv[136]=2226;cv[137]=2245;cv[138]=2260;cv[139]=2264;cv[140]=2330;cv[141]=2341;cv[142]=2345;cv[143]=2346;
cd[73]=10;cd[74]=3;cd[75]=12;cd[76]=10;cd[77]=19;cd[78]=19;cd[79]=19;cd[80]=19;cd[81]=20;cd[82]=21;cd[83]=20;cd[84]=2;cd[85]=11;cd[86]=15;cd[87]=7;cd[88]=28;cd[89]=29;cd[90]=6;cd[91]=23;cd[92]=15;cd[93]=7;cd[94]=21;cd[95]=25;cd[96]=30;cd[97]=20;cd[98]=22;cd[99]=22;cd[100]=5;cd[101]=11;cd[102]=2;cd[103]=10;cd[104]=12;cd[105]=21;cd[106]=28;cd[107]=6;cd[108]=23;cd[109]=15;cd[110]=7;cd[111]=30;cd[112]=5;cd[113]=23;cd[114]=14;cd[115]=17;cd[116]=14;cd[117]=13;cd[118]=26;cd[119]=17;cd[120]=14;cd[121]=28;cd[122]=13;cd[123]=29;cd[124]=3;cd[125]=26;cd[126]=16;cd[127]=25;cd[128]=6;cd[129]=17;cd[130]=15;cd[131]=17;cd[132]=14;cd[133]=25;cd[134]=27;cd[135]=4;cd[136]=24;cd[137]=4;cd[138]=6;cd[139]=17;cd[140]=6;cd[141]=26;cd[142]=28;cd[143]=23;
cs[73]=0;cs[74]=4;cs[75]=0;cs[76]=9;cs[77]=3;cs[78]=9;cs[79]=6;cs[80]=0;cs[81]=4;cs[82]=7;cs[83]=7;cs[84]=4;cs[85]=7;cs[86]=0;cs[87]=9;cs[88]=0;cs[89]=8;cs[90]=2;cs[91]=2;cs[92]=5;cs[93]=2;cs[94]=10;cs[95]=10;cs[96]=10;cs[97]=10;cs[98]=10;cs[99]=4;cs[100]=2;cs[101]=10;cs[102]=7;cs[103]=7;cs[104]=10;cs[105]=5;cs[106]=10;cs[107]=0;cs[108]=0;cs[109]=3;cs[110]=0;cs[111]=8;cs[112]=0;cs[113]=10;cs[114]=10;cs[115]=0;cs[116]=0;cs[117]=0;cs[118]=10;cs[119]=2;cs[120]=2;cs[121]=3;cs[122]=2;cs[123]=11;cs[124]=11;cs[125]=0;cs[126]=11;cs[127]=9;cs[128]=11;cs[129]=11;cs[130]=7;cs[131]=3;cs[132]=3;cs[133]=0;cs[134]=0;cs[135]=0;cs[136]=0;cs[137]=7;cs[138]=7;cs[139]=7;cs[140]=4;cs[141]=1;cs[142]=4;cs[143]=4;
cv[144]=2348;cv[145]=2373;cv[146]=2378;cv[147]=2378;cv[148]=2380;cv[149]=2386;cv[150]=2386;cv[151]=2388;cv[152]=2392;cv[153]=2404;cv[154]=2408;cv[155]=2450;cv[156]=2472;cv[157]=2582;cv[158]=2597;cv[159]=2598;cv[160]=2604;cv[161]=2630;cv[162]=2634;cv[163]=2642;cv[164]=2642;cv[165]=2644;cv[166]=2644;cv[167]=2660;cv[168]=2693;cv[169]=2697;cv[170]=2705;cv[171]=2706;cv[172]=2708;cv[173]=2708;cv[174]=2724;cv[175]=2756;cv[176]=2833;cv[177]=2834;cv[178]=2840;cv[179]=2852;cv[180]=2856;cv[181]=2884;cv[182]=2896;cv[183]=3142;cv[184]=3146;cv[185]=3160;cv[186]=3170;cv[187]=3218;cv[188]=3220;cv[189]=3234;cv[190]=3346;cv[191]=3394;cv[192]=3396;cv[193]=3400;cv[194]=3464;cv[195]=2261;cv[196]=2389;cv[197]=2394;cv[198]=2646;cv[199]=2709;cv[200]=2732;cv[201]=2737;cv[202]=2738;cv[203]=2758;cv[204]=2762;cv[205]=2772;cv[206]=2842;cv[207]=2858;cv[208]=2898;cv[209]=3178;cv[210]=3242;cv[211]=3402;cv[212]=3416;
cd[144]=26;cd[145]=24;cd[146]=7;cd[147]=15;cd[148]=28;cd[149]=15;cd[150]=7;cd[151]=23;cd[152]=14;cd[153]=26;cd[154]=25;cd[155]=28;cd[156]=27;cd[157]=15;cd[158]=25;cd[159]=27;cd[160]=24;cd[161]=6;cd[162]=23;cd[163]=15;cd[164]=7;cd[165]=7;cd[166]=15;cd[167]=28;cd[168]=15;cd[169]=27;cd[170]=6;cd[171]=23;cd[172]=7;cd[173]=15;cd[174]=23;cd[175]=14;cd[176]=17;cd[177]=14;cd[178]=4;cd[179]=26;cd[180]=24;cd[181]=25;cd[182]=15;cd[183]=17;cd[184]=14;cd[185]=4;cd[186]=4;cd[187]=26;cd[188]=28;cd[189]=24;cd[190]=25;cd[191]=15;cd[192]=27;cd[193]=6;cd[194]=17;cd[195]=4;cd[196]=24;cd[197]=15;cd[198]=15;cd[199]=15;cd[200]=24;cd[201]=4;cd[202]=24;cd[203]=4;cd[204]=24;cd[205]=15;cd[206]=4;cd[207]=24;cd[208]=15;cd[209]=4;cd[210]=24;cd[211]=15;cd[212]=4;
cs[144]=4;cs[145]=7;cs[146]=4;cs[147]=7;cs[148]=7;cs[149]=0;cs[150]=9;cs[151]=7;cs[152]=7;cs[153]=7;cs[154]=4;cs[155]=0;cs[156]=4;cs[157]=5;cs[158]=10;cs[159]=10;cs[160]=10;cs[161]=2;cs[162]=2;cs[163]=5;cs[164]=2;cs[165]=7;cs[166]=10;cs[167]=10;cs[168]=3;cs[169]=8;cs[170]=0;cs[171]=0;cs[172]=0;cs[173]=3;cs[174]=10;cs[175]=10;cs[176]=0;cs[177]=0;cs[178]=4;cs[179]=10;cs[180]=4;cs[181]=7;cs[182]=0;cs[183]=2;cs[184]=2;cs[185]=11;cs[186]=6;cs[187]=0;cs[188]=3;cs[189]=6;cs[190]=9;cs[191]=2;cs[192]=7;cs[193]=11;cs[194]=11;cs[195]=7;cs[196]=7;cs[197]=7;cs[198]=5;cs[199]=3;cs[200]=10;cs[201]=0;cs[202]=0;cs[203]=2;cs[204]=2;cs[205]=10;cs[206]=4;cs[207]=4;cs[208]=0;cs[209]=6;cs[210]=6;cs[211]=2;cs[212]=11;
kl[0]=-1;kl[1]=-1;kl[2]=0;kl[3]=2;kl[4]=38;kl[5]=130;kl[6]=195;kl[7]=-1;kl[8]=-1;kl[9]=-1;kl[10]=-1;kl[11]=-1;
kh[0]=-1;kh[1]=-1;kh[2]=1;kh[3]=37;kh[4]=129;kh[5]=194;kh[6]=212;kh[7]=-1;kh[8]=-1;kh[9]=-1;kh[10]=-1;kh[11]=-1;
//---

//@slider

@block
while
(
	midirecv(offset,msg1,msg23) ?
	(     
		status =  ((msg1 & $xF0) / 16)-8;
		channel = msg1 & $xF;
		dt1 = msg23 & $x7F;
		dt2 = (msg23 / $x100) & $x7F;
		status == 1 && dt2 == 0 ? status = 0;
		status < 1 ? // note off
		(
			n = dt1 % 12;
			a_keys[n]-=1;
			a_keys[n] == 0 ?
			(
				chordkeyscount-=1;
				chordkeys&= a_xKey[n];
			);
			n = 0;
			while
			(
				n < keycount ?
				(
					dt1 == (a_pl_keys[n] & $x7F) ?
					(
						keycount-=1;
						while
						(
							n < keycount ?
							(
								a_pl_keys[n] = a_pl_keys[n+1];
								n+= 1;
							);
						);
					);
					n+=1;
				);
			);
		)
		:
		(
			status < 2 ? //note on
			(
				n = dt1 % 12;
				a_keys[n]+=1;
				a_keys[n] == 1 ?
				(
					chordkeyscount+=1;
					chordkeys|= a_oKey[n];
				);
				n = keycount;
				while
				(     
					n > 0 && dt1 < (a_pl_keys[n-1]&$x7F) ?
					(
						a_pl_keys[n] = a_pl_keys[n-1];
						n-=1;
					);
				);
				keycount+=1;
				a_pl_keys[n] = msg23;
			);
		);
		midisend(offset,msg1,msg23); // other send thru
	);
);

chordkeyscount >=2 && chordkeyscount <= 6 && chordkeys != lastchordkeys ?
(
	crt = 0;
	cid = 0;

	ck = chordkeys;
	while
	(
		ck < 2048 ? ( ck*=2; crt+=1; );
	);
	n = kl[chordkeyscount]; m=kh[chordkeyscount];
	while
	(
		n <= m ?
		(
			ck == cv[n]? 
			(
				l = 13;
				k = (a_pl_keys[0] & $x7F) % 12;
				chb = k;
				while
				(
					ck == cv[n]?
					(
						i = crt - cs[n];
						i < 0 ? i+=12;
						i > 11 ? i-=12;
						i = abs(k - i);
						i <= l ? 
						( 
							j = n; 
							l = i;
						);
						n+=1;
					);
				);
				crt-= cs[j];
				crt < 0 ? crt+=12;
				crt > 12 ? crt-=12;
				cid = cd[j];
				n = m+1;
			)
			:
			(
				n+=1;
			);
		);
	);
	lastchordkeys = chordkeys;
	slider1 = cid == 0 ? 0 : crt+1;
	slider2 = cid;
	slider3 = cid == 0 || crt == chb ? 0 : chb+1;
);
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak

Last edited by MusoBob; 01-10-2023 at 03:02 AM.
MusoBob is offline   Reply With Quote
Old 01-08-2023, 06:44 AM   #2896
SNJUK2
Human being with feelings
 
SNJUK2's Avatar
 
Join Date: Feb 2017
Location: Zhytomyr,Ukraine
Posts: 449
Default JSFX Midi Chord

Hi I have request js midi chord plugin like ableton
6 faders with pitch shift -36st to 36 st
if fader 0 - no midi , else + midi note
Thank you so mutch
SNJUK2 is offline   Reply With Quote
Old 01-10-2023, 03:28 AM   #2897
hans
Human being with feelings
 
Join Date: Aug 2020
Posts: 281
Default "Write automation to selected items"

Hi!

I'd like to have 2 scripts that writes actively-writing current values and current values to selected items.

The items are spread out on the timeline and between items I don't want to write automation to.
hans is offline   Reply With Quote
Old 01-10-2023, 03:30 AM   #2898
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 1,964
Default

Quote:
Originally Posted by hans View Post
Hi!

I'd like to have a script that writes the actively writing current values to selected items.

The items are spread out on the timeline and between items I don't want to write automation to.
I have a script "sockmonkey72_Add point for current value on visible armed envelopes of selected tracks at edit cursor" which might get really close to what you want.
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is offline   Reply With Quote
Old 01-11-2023, 05:32 AM   #2899
mlprod
Human being with feelings
 
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
Default

Quote:
Originally Posted by Edgemeal View Post
EDIT: The scripts are now on ReaPack as,
Save selected tracks floating fx windows (4 slots)
Restore tracks floating fx windows (4 slots)
Hi, just dicovered this script, very helpful!
Anyway to make this apply to the master track as well?
Expect a donation=)
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
mlprod is offline   Reply With Quote
Old 01-11-2023, 12:33 PM   #2900
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
Default

Quote:
Originally Posted by mlprod View Post
Hi, just dicovered this script, very helpful!
Anyway to make this apply to the master track as well?
Expect a donation=)
Not sure when I'll upload to reapack, but here are the updated scripts (v1.02) that support Master track, just replace over current ones.

EDIT This update should show up on ReaPack in a single package as,
"Save and restore selected tracks floating FX windows (4 slots)"

Last edited by Edgemeal; 01-12-2023 at 06:10 AM. Reason: Scripts are now on ReaPack
Edgemeal is offline   Reply With Quote
Old 01-12-2023, 04:41 AM   #2901
mlprod
Human being with feelings
 
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
Default

Quote:
Originally Posted by Edgemeal View Post
Not sure when I'll upload to reapack, but here are the updated scripts (v1.02) that support Master track, just replace over current ones.

EDIT This update should show up on ReaPack in a single package as,
"Save and restore selected tracks floating FX windows (4 slots)"
Thanks! Donated.
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
mlprod is offline   Reply With Quote
Old 01-12-2023, 06:25 AM   #2902
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
Default

Quote:
Originally Posted by mlprod View Post
Thanks! Donated.
Thanks for donation, that is very generous

Last edited by Edgemeal; 01-19-2023 at 10:47 AM.
Edgemeal is offline   Reply With Quote
Old 01-12-2023, 04:38 PM   #2903
BenK-msx
Human being with feelings
 
BenK-msx's Avatar
 
Join Date: Jun 2008
Location: Whales, UK
Posts: 6,010
Default simple midi js request it must already exist don't know the name

hi people,

i want to prevent too many notes triggering in a short time, i have a footswitch set to trigger a note for a stomp box kick drum situation, and i get the occasional two quick notes instead of one,so i just want to quantize - but not by grid but by 'since last note'

so - if time since last note-on is <N eat that note.

was sure there was an existing js to do this!

any assistance appreciated
__________________
JS Super8 Looper Template & intro | BCF2000 uber info Thread | Who killed the Lounge?
BenK-msx is offline   Reply With Quote
Old 01-13-2023, 07:33 AM   #2904
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 962
Default

Hi guys! I have a non-typical task with a table that I don't know how to solve.
I have a table with an arbitrary number of entries. This is the distance between markers in samples. I need to find out the distance between all the markers in the samples (that is, just subtract the next value from the previous one and so on step by step) and write them to a new table. How can i do this?

Source table:
Code:
    Input_Table= {
               31.95,
               7993.95,
               16177.95,
               23996.95,
               32294.95,
               41537.95,
               44802.95,
               48955.95,
               57711.95,
               61152.95,
               65235.95,
               73534.95,
               77476.95,
               81592.95,
               86059.95,
               97700.95,
               106193.95,
               114878.95,
               118320.95,
               122402.95
               }
What do I need to get:
Code:
    Output_Table= {
               7962 -- (7993.95 minus 31.95)
               8184 -- (16177.95 minus  7993.95)
               7819 -- (23996.95 minus 16177.95)
               etc...
               }
Or maybe it can be described in some kind of mathematical term so that I can google it?
cool is offline   Reply With Quote
Old 01-13-2023, 07:39 AM   #2905
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 1,964
Default

Quote:
Originally Posted by cool View Post
Hi guys! I have a non-typical task with a table that I don't know how to solve.
I have a table with an arbitrary number of entries. This is the distance between markers in samples. I need to find out the distance between all the markers in the samples (that is, just subtract the next value from the previous one and so on step by step) and write them to a new table. How can i do this?

Source table:
Code:
...
What do I need to get:
Code:
    Output_Table= {
               7962 -- (7993.95 minus 31.95)
               8184 -- (16177.95 minus  7993.95)
               7819 -- (23996.95 minus 16177.95)
               etc...
               }
Or maybe it can be described in some kind of mathematical term so that I can google it?
Code:
Input_Table= {
               31.95,
               7993.95,
               16177.95,
               23996.95,
               32294.95,
               41537.95,
               44802.95,
               48955.95,
               57711.95,
               61152.95,
               65235.95,
               73534.95,
               77476.95,
               81592.95,
               86059.95,
               97700.95,
               106193.95,
               114878.95,
               118320.95,
               122402.95
               }

Output_Table = {}

for i = 2, #Input_Table do
  local prev_val = Input_Table[i - 1]
  local val = Input_Table[i]
  table.insert(Output_Table, val - prev_val)
end

reaper.ShowConsoleMsg('Output_Table = {\n')
for _, v in ipairs(Output_Table) do
  reaper.ShowConsoleMsg('  '..v..',\n')
end
reaper.ShowConsoleMsg('}\n')
Code:
Output_Table = {
  7962.0,
  8184.0,
  7819.0,
  8298.0,
  9243.0,
  3265.0,
  4153.0,
  8756.0,
  3441.0,
  4083.0,
  8299.0,
  3942.0,
  4116.0,
  4467.0,
  11641.0,
  8493.0,
  8685.0,
  3442.0,
  4082.0,
}
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is offline   Reply With Quote
Old 01-13-2023, 08:20 AM   #2906
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 962
Default

sockmonkey72,
Amazing! Thanks a lot for the quick response and the simple (in the amount of code) and elegant solution!
cool is offline   Reply With Quote
Old 01-13-2023, 11:52 AM   #2907
BenK-msx
Human being with feelings
 
BenK-msx's Avatar
 
Join Date: Jun 2008
Location: Whales, UK
Posts: 6,010
Default

re my above request for note blocker within a timeframe https://forum.cockos.com/showpost.ph...postcount=2903

pizmidi midiDuplicateblocker does the trick.

you just have to find the archive of pizmidi plugins and install them.
so a js would be handy to have tbh.
__________________
JS Super8 Looper Template & intro | BCF2000 uber info Thread | Who killed the Lounge?
BenK-msx is offline   Reply With Quote
Old 02-08-2023, 08:33 AM   #2908
Mottemania
Human being with feelings
 
Join Date: Apr 2016
Posts: 103
Default

Hey you dear people,

am I blind or is there no mouse modifier way to create a razor edit for the clicked item?
Could someone please write me short script for the "item under mouse" or "clicked item" (sorry, no idea).

I just look for a similiar behaviour for the "media bottom half" like it is in protools (yes, I said it )
Mottemania is offline   Reply With Quote
Old 02-09-2023, 10:31 PM   #2909
jakeman19
Human being with feelings
 
Join Date: Jan 2022
Posts: 135
Default

For all those scriptures out there, I'd like to know if there is a script that similar to

"reaper.IsTrackVisible(MediaTrack track, boolean mixer)"
If mixer==true, returns true if the track is visible in the mixer. If mixer==false, returns true if the track is visible in the track control panel.

This script seems to still be tied to the TCP, and I'm hoping for a way a script gets a result ONLY from the MCP.

I've tried using the chatGPT to create a script that selects the next 7 visible tracks in the MCP, keeping current selection. It always seems to select children tracks that are not visible in the MCP.

If someone could steer me in the right direction that would be terrific.

Jd
jakeman19 is offline   Reply With Quote
Old 02-09-2023, 10:34 PM   #2910
jakeman19
Human being with feelings
 
Join Date: Jan 2022
Posts: 135
Default

Quote:
Originally Posted by Mottemania View Post
Hey you dear people,

am I blind or is there no mouse modifier way to create a razor edit for the clicked item?
Could someone please write me short script for the "item under mouse" or "clicked item" (sorry, no idea).

I just look for a similiar behaviour for the "media bottom half" like it is in protools (yes, I said it )
See if one of these help:
https://www.protoolstoreaper.com/media

Jd
jakeman19 is offline   Reply With Quote
Old 02-10-2023, 02:26 AM   #2911
Mottemania
Human being with feelings
 
Join Date: Apr 2016
Posts: 103
Default

Quote:
Originally Posted by jakeman19 View Post
See if one of these help:
https://www.protoolstoreaper.com/media

Jd
Hey Jd, is a good hint, but I have all his stuff and unfortunately there is nothing with razor edits.
Mottemania is offline   Reply With Quote
Old 02-10-2023, 02:33 AM   #2912
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,185
Default

Is there a native action called "enclose selected item with razor edit" or something?
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 02-10-2023, 02:39 AM   #2913
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,334
Default

Quote:
Originally Posted by Mottemania View Post
Hey you dear people,

am I blind or is there no mouse modifier way to create a razor edit for the clicked item?
Could someone please write me short script for the "item under mouse" or "clicked item" (sorry, no idea).

I just look for a similiar behaviour for the "media bottom half" like it is in protools (yes, I said it )
Use action:

Razor edit: Enclose media items

If you want to include space between items, you can use action:

Razor edit: Enclose media items, including space between items
vitalker is offline   Reply With Quote
Old 02-10-2023, 03:36 AM   #2914
Mottemania
Human being with feelings
 
Join Date: Apr 2016
Posts: 103
Default

Thanks triode and vitalker,

that's it. So my questions is answered. I am blind and wasn't looking for the correct term in reaper-speech
Mottemania is offline   Reply With Quote
Old 02-10-2023, 06:30 PM   #2915
jakeman19
Human being with feelings
 
Join Date: Jan 2022
Posts: 135
Default

Quote:
Originally Posted by Mottemania View Post
Thanks triode and vitalker,

that's it. So my questions is answered. I am blind and wasn't looking for the correct term in reaper-speech
That's half the battle, trying to figure out what the action really means or does based of the description. I'll have to look at the one as I'm a Pro Tools to Reaper guy also.

Jd

Last edited by jakeman19; 02-11-2023 at 11:11 AM.
jakeman19 is offline   Reply With Quote
Old 02-12-2023, 11:18 PM   #2916
D-Reaper
Human being with feelings
 
D-Reaper's Avatar
 
Join Date: Oct 2020
Posts: 184
Default "JS General Dynamics" with envelope

I love the JS General Dynamics plugin concept because it allows to have a downwards compressor, an upwards compressor and a limiter visually all in once.

What I find quite cumbersome is that the user has to draw segment lines to use it. Would be much better if it had a line with anchor points (ideally linear and bézier), just like a normal envelope.

That way it would be much easier to create knees, etc.

Something like this mockup:


Last edited by D-Reaper; 02-12-2023 at 11:29 PM.
D-Reaper is offline   Reply With Quote
Old 02-13-2023, 02:06 AM   #2917
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

@D-Reaper
Note that you can do that in the free melda compressor Mcomp
X-Raym is offline   Reply With Quote
Old 02-13-2023, 06:26 AM   #2918
D-Reaper
Human being with feelings
 
D-Reaper's Avatar
 
Join Date: Oct 2020
Posts: 184
Default

Quote:
Originally Posted by X-Raym View Post
@D-Reaper
Note that you can do that in the free melda compressor Mcomp
Many thanks.
Yes, exactly that kind of thing.



Good to know about this option, but for getting it you have to download and install the whole bundle, which is 554 Mb (while REAPER itself is not even 15 Mb). So I still think it would be great to have anchor points incorporated on the already existing "JS General dynamic" plugin (compressor, gate, enhancer, all in one and visually easy to use).

Last edited by D-Reaper; 02-27-2024 at 10:05 AM.
D-Reaper is offline   Reply With Quote
Old 02-15-2023, 07:35 AM   #2919
Mistik
Human being with feelings
 
Join Date: Nov 2018
Posts: 17
Default Script request - Render selected items (apply take fx) with handles

Hey all, I'm losing my mind trying to code this on my own with my limited reascript knowledge, so I'm hoping someone could code this custom script for me (or at least point me in the right direction if there is an existing script or function.)

I need this for postproduction work for dialog editing. I have a bunch of items on a bunch of tracks (hundreds of items to be exact). The items have been edited and shortened down from their original source length and have fades or crossfades on them. On these items are one or more FX (Auto Align, EQ, denoise, etc) that I would like to commit (render as new items to replace the old items) to save CPU and clean up project after edit. However, I still need to keep some audio handles (3 seconds of original audio before or after the edited clip), so that I can come back later and extend the fade in or fade out if needed.

The script is pretty straight forward (IN THEORY):

RENDER / COMMIT SELECTED ITEMS WITH HANDLES, APPLY TAKE FX
--
x = handle length in seconds

For each selected item do this:
1 - save fade in and out length and shape
2 - extend item left by x (or to start of source, if distance shorter than x)
3 - extend item right by x (or to end of source, if distance shorter than x)
4 - crop and render item in this length to new item, applying take FX
5 - shorten the new item back to previous item length and position/offset audio back by x
6 - apply any saved fades to item

When done looping, if any of these new items overlap, apply crossfades to items.
--
That's it.

I think this is something a lot of postproduction folks would greatly appreciate and save a lot of time (and CPU). I'm quite surprised this does not exist natively in reaper (only render with tail).

Can anyone help me out (or give me a quote for a custom script)?

Thanks!!
__________________
IconPlatformNano v1.1 - tested with CSI 1.0, nano firmware v1.14
Download here: http://e.pc.cd/NWhotalK
Mistik is offline   Reply With Quote
Old 02-15-2023, 01:26 PM   #2920
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

@Mistik


I have render take with handle actions on a pack:


X-Raym 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:37 PM.


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