Old 09-17-2016, 02:42 AM   #1401
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

I wish for native track tags..
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 09-17-2016, 03:38 AM   #1402
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,180
Default

MPL this is looking promising!

It works here

A small GUI where you can edit the rule without having to edit the script would be a cool.

I'm tempted to ask for an auxiliary part of the script that looks for the same list of names in the items and if it finds a name in an item, transfers it to the track name. So an item called "guitar_bip.wav" creates "guitar" for the track name. I guess it would only look as far as either the first item on the track or the most common on on the track.

Thanks for looking into this, mpl. I've done this so many times on pro tools and no-one can rescue the monotony there!
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 09-17-2016, 06:42 AM   #1403
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@mpl
Nice you tried

Be careful though: moving tracks with xml chunck can cause serious issue,
especially with routing and grouping.

I made couple of scripts to move tracks,
it involved using Copy routing and copy routing from sws actions and copy send from br SWS API.

REAPER-ReaScripts/X-Raym_Move selected tracks up to the top of the visible track list.lua at master · X-Raym/REAPER-ReaScripts

Hope it helps !
X-Raym is offline   Reply With Quote
Old 09-17-2016, 06:53 AM   #1404
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,180
Default

Generally at the point when I'm dragging items into the session there is no routing or grouping assigned.
As long as there's no possibility of a session actually being corrupted I'm happy.
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 09-17-2016, 07:53 AM   #1405
pinksoir
Human being with feelings
 
pinksoir's Avatar
 
Join Date: Aug 2012
Posts: 214
Default

Just wondering if anyone can help me out with this. (sorry about duplicate posts. I posted a thread i the forum but I've been looking at the scripting materials and don't know where to start so thought this would be a more appropriate place)

In the theme I'm creating I have track overlays which 'dim' the muted tracks in order to give the user visual feedback. Unfortunatey, since the child tracks are not 'muted-in-place' (or however you would describe it), they do not dim along with the parent when the parent is muted.

Likewise for non-soloed tracks. They are not 'muted-in-place' so they do not dim once another track is soloed. However, they are muted or have a 'not solo' state.

I want to provide a script that would run in the background and, while not functionally different to standard operating, would add the ability to provide visual feedback for the user through my track dimming overlays.

I hope this makes sense...


For muting child tracks, I'm thinking something along the lines of

---------------------------

ON Parent Mute:

Does the track have children? (if yes, continue)
Save child track initial mute state.
Mute all.

OFF Parent Mute:

Revert children to initial state.

----------------------------

The child tracks are 'folder muted' (as evidenced in the meter readout) but I don't know if this can be used as a conditional to tell the tracks to mute-in-place.

Problems I can think of would be if the user changed the mute state of the tracks while they were auto-muted by the script. But i guess reverting them back to their initial state would still be fine.

Would this be difficult to do?

Here is a capture of the current operating. You can see the three child tracks do not dim along with the parent:



Theme thread: http://forum.cockos.com/showthread.php?t=175771
__________________
Bear Worship on Bandcamp
pinksoir is offline   Reply With Quote
Old 09-17-2016, 01:48 PM   #1406
Era
Human being with feelings
 
Era's Avatar
 
Join Date: Sep 2016
Location: Greensboro, NC USA
Posts: 50
Default To Make Reaper Totally Fantastic

Reaper is already great. But for me the one feature that would boost it to the best DAW ever would be to add what Microsoft Office apps have: a macro recorder. You create a script by simply turning on the recorder, then it watches exactly what you do with keyboard and mouse. Then you turn off the recorder and it writes a script that contains all the behaviors that you performed. So, without having to program anything, you get a custom script that automates something you always do when using Reaper. It avoids two major issues with Reaper scripting: 1. Having to go through the existing list of actions, searching and adding each action. 2. Actions that are not in the existing list--too specific, such as loading a particular effect into a particular track. Just my wish feature, but it would be really great I think.
Era is offline   Reply With Quote
Old 09-24-2016, 03:53 AM   #1407
zappadave
Human being with feelings
 
zappadave's Avatar
 
Join Date: Jan 2008
Posts: 1,257
Default

Quote:
Originally Posted by zappadave View Post
There is an action on the midi editor to reverse selected midi notes. Which is ok.
but it would be a good addition to be able to just reverse the note names only, so that the rhythm stays the same.
Hope someone can knock up a script for this.
Thanks
Bump
Is this possible in the midi editor?
__________________
Music is the best
เพลง ที่ดีที่สุดคือ
zappadave is offline   Reply With Quote
Old 09-27-2016, 12:37 PM   #1408
Lotias
Human being with feelings
 
Join Date: Sep 2016
Posts: 3
Default

I feel like some more arpeggiator options would be awesome, like a rhythmic arpeggiator where you could pick a MIDI channel that's the 'rhythm' channel, so every time a note is hit in that channel every note in the chord being played in the 'chord' channel is played again. Or draw out a rhythm, sort of like a rhythmic Megababy script.

And then I imagine another arpeggiator-like tool, where you draw out a sequence like in Megababy except the notes are labeled 1, 2, 3, and so on, so you could build ostinatos for any chord you want to play, where the first note is played every time 1 shows up in the sequence, and so on.

Last edited by Lotias; 09-27-2016 at 12:45 PM.
Lotias is offline   Reply With Quote
Old 09-27-2016, 04:47 PM   #1409
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@Lotias
This is one of the bets arp,
and it is JSFX :P

arp!0 - groovy midi arp - Cockos Confederated Forums
X-Raym is offline   Reply With Quote
Old 09-27-2016, 06:28 PM   #1410
JH4094
Human being with feelings
 
Join Date: Sep 2016
Posts: 33
Default

An auto phase align script similar to Sound Radix Auto-Align. I'm not a scripter so I don't even know if this is feasible.
JH4094 is offline   Reply With Quote
Old 09-27-2016, 08:55 PM   #1411
Kapitano
Human being with feelings
 
Kapitano's Avatar
 
Join Date: Sep 2010
Location: Elsewhere, England
Posts: 36
Default Scripts to change playrate

There's an Action to set the Playrate to 1, but is it possible to have a script which sets it to a different value?

Specifically, a range of scripts for 0.5, 1.5 and 2.0.
__________________
"Nothing gets older faster than a new sound." - Milton Babbit
Kapitano is offline   Reply With Quote
Old 09-27-2016, 09:04 PM   #1412
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@Kapitano Save this in a .lua file with the desired rate:

Code:
local rate = 0.5
reaper.CSurf_OnPlayRateChange(rate)
cfillion is offline   Reply With Quote
Old 09-28-2016, 09:16 AM   #1413
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Hi all,

I've been trying to create a cycle action that will not proceed with further actions unless recording is done & stopped. Here is another post where I explained what I've tried.

http://forum.cockos.com/showthread.php?t=181986

What I would like to do is this in this order.

1. Put the transport into record.

2. Go to next region, but only after the recording is done and the transport stops.

I've got it where I can record for a set time and then stop, in this case I'm recording for 300ms. That part works very well, but I haven't devised a way to wait until the recording stops before proceeding to the next action.

Is there a way to do that with a script?
Tod is offline   Reply With Quote
Old 09-28-2016, 11:17 AM   #1414
Vincent Sermonne
Petit manitou
 
Vincent Sermonne's Avatar
 
Join Date: Feb 2009
Location: Gémenos France
Posts: 7,347
Default JS for Foot Splash hihat

I am currently creating a bank for Reasamplomatic especially for edrummers and I can not find how to play the foot splash samples with the hi-hat. A JS as "CC hihat controller" of jeffos, would be great.
__________________
Vincent
http://www.tchackpoum.fr
Vincent Sermonne is offline   Reply With Quote
Old 09-28-2016, 12:15 PM   #1415
Kapitano
Human being with feelings
 
Kapitano's Avatar
 
Join Date: Sep 2010
Location: Elsewhere, England
Posts: 36
Default

Is this possible in ReaScript?

Having used the Region/Marker Manager to select a marker, press a hotkey to:

- Go to Media Explorer
- Tab through to the list of media items
- Insert the last selected media item at the marker
- Go back to the Region/Marker Manager
- Tab through to the list of regions/markers, for next selection

As a series of keypresses, that would be:

ControlDown, AltDown, X, AltUp, ControlUp
Tab, Tab
Enter
ControlDown, AltDown, ShiftDown, R, ShiftUp, AltUp, ControlUp
Tab, Tab, Tab, Tab, Tab, Tab

Can this be implemented, either as a series of commands, or of virtual keypresses?
__________________
"Nothing gets older faster than a new sound." - Milton Babbit
Kapitano is offline   Reply With Quote
Old 09-28-2016, 12:39 PM   #1416
Lotias
Human being with feelings
 
Join Date: Sep 2016
Posts: 3
Default

Quote:
Originally Posted by X-Raym View Post
@Lotias
This is one of the bets arp,
and it is JSFX :P

arp!0 - groovy midi arp - Cockos Confederated Forums
Cool tool, but not quite the same as my ideas. I'll definitely be using it occasionally though.
Lotias is offline   Reply With Quote
Old 09-28-2016, 02:27 PM   #1417
X-Tech
Human being with feelings
 
Join Date: Apr 2015
Posts: 589
Default

Hi. Is there around actions which does:

1
"select tracks at selected items" (same tracks at level of selected items will be selected?)







2
"rename new midi/media item with #1,#2,#3"

and

"duplicate item - unpool and rename with #1,#2,#3 +1 ... if samely named item exist" (for example if new midi item is created and is named same as any existing item in project then will be autoranemed with #1,#2,#3 ... (+1) or if duplicated and unpooled (2nd proposition) then duplicated copy will be renamed in same rule with #1,#2,#3 if name is same....



3 "unselect from selection items at folder tracks" ? (for operate on items which belongs only to children tracks)

4 "unselect from selection items at children tracks" ? (for operate on items which belongs only to folder tracks)
__________________
nonononononono

Last edited by X-Tech; 09-28-2016 at 02:34 PM.
X-Tech is offline   Reply With Quote
Old 09-29-2016, 08:22 AM   #1418
Vincent Sermonne
Petit manitou
 
Vincent Sermonne's Avatar
 
Join Date: Feb 2009
Location: Gémenos France
Posts: 7,347
Default JS learn midi learn

hello, Always in preparing a edrummer bank, I would be very happy with a JS midi learn, a button for learn with 2 strokes the note range for adapting quickly a midi controler with a ReaSamplomatic map fixed. Or add this learn button to the "source key" of the JS "Key re-mapping utility"
__________________
Vincent
http://www.tchackpoum.fr
Vincent Sermonne is offline   Reply With Quote
Old 10-01-2016, 01:48 PM   #1419
PlanesTrainsAnd
Human being with feelings
 
Join Date: Sep 2016
Posts: 38
Default

Is there a script that can move a group of selected items to a selected track? (all vertical moves)
PlanesTrainsAnd is offline   Reply With Quote
Old 10-01-2016, 02:45 PM   #1420
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

First thought that comes up:
You can this with a custom made Action.

First, make this Custom Action, consisting of these Actions, in chronological order:

1) Time Selection: set time selection to items
2) Edit: Cut items
3) Item: paste items/tracks
4) Time selection: remove time selection.

Assign this Custom Action to a keyboard shortcut.

Workfow:

1) Select item group, which you want to be moved.
2) select Track in TCP , to which this item group should be moved to.
3) execute Custom Action, with your keyboard shortcut.

Hope this helps !
vanhaze is offline   Reply With Quote
Old 10-04-2016, 11:56 AM   #1421
PlanesTrainsAnd
Human being with feelings
 
Join Date: Sep 2016
Posts: 38
Default

Quote:
Originally Posted by vanhaze View Post
First thought that comes up:
You can this with a custom made Action.
Thanks for posting that!

Is there a way to modify it so the script can grab multiple groups of items across multiple tracks and move them all (vertical only) up to the selected track?
PlanesTrainsAnd is offline   Reply With Quote
Old 10-04-2016, 11:21 PM   #1422
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

With more than 36 pages, I wonder if this thread is still pertinent for scripts request.

There is
  • no easy way to see if a request gets missed
  • high risk of a crossed discussion leading to confusion
  • high chance of a solution getting lost (and the rquest ask again)
  • mixed content of both JSFX and ReaScript
I think that next requests should be open as dedicated thread in this subforum with title like

Script/JSFX FR: What The Script Is Supposed to Do

What do you think ?
X-Raym is offline   Reply With Quote
Old 10-06-2016, 04:39 AM   #1423
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

Quote:
Originally Posted by X-Raym View Post
I think that next requests should be open as dedicated thread in this subforum with title like

Script/JSFX FR: What The Script Is Supposed to Do

What do you think ?
I also think opening dedicated threads for requests is better.
nofish is offline   Reply With Quote
Old 10-06-2016, 09:27 AM   #1424
Vincent Sermonne
Petit manitou
 
Vincent Sermonne's Avatar
 
Join Date: Feb 2009
Location: Gémenos France
Posts: 7,347
Default

Quote:
Originally Posted by X-Raym View Post
With more than 36 pages, I wonder if this thread is still pertinent for scripts request.

There is
  • no easy way to see if a request gets missed
  • high risk of a crossed discussion leading to confusion
  • high chance of a solution getting lost (and the rquest ask again)
  • mixed content of both JSFX and ReaScript
I think that next requests should be open as dedicated thread in this subforum with title like

Script/JSFX FR: What The Script Is Supposed to Do

What do you think ?
I agree !!!
__________________
Vincent
http://www.tchackpoum.fr
Vincent Sermonne is offline   Reply With Quote
Old 10-06-2016, 10:44 AM   #1425
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

With optionally link and short description here maybe?
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 10-13-2016, 03:28 PM   #1426
JeffreyET
Human being with feelings
 
JeffreyET's Avatar
 
Join Date: Dec 2012
Location: Raleigh, NC, USA
Posts: 405
Default Script requests?

Hey. Not interested in learning coding, I just want to grab 2 scripts. They seem simple enough but are not listed in the Actions list. Is there an index somewhere for ready-made scripts? Also, can scripts be incorporated into a custom action macro?
Here's the 2 scripts (or actions if available) I want:
1. Change record input from Left(default) to Left + Right.
2. Toggle between audio devices, i.e. Asio and internal sound card (wave out or direct sound)
Hail to the gurus!
__________________
Jeffrey's REAPER tracks Are on Spotify as well as most other streaming services, under the name Karmic Cage.
JeffreyET is offline   Reply With Quote
Old 10-14-2016, 04:46 PM   #1427
FnA
Human being with feelings
 
FnA's Avatar
 
Join Date: Jun 2012
Posts: 2,173
Default

Made something like #1 here Jeffrey. Don't know about #2.

http://forum.cockos.com/showthread.php?t=29640&page=52

post #2063

Try it out. Feel free to ask questions.
FnA is offline   Reply With Quote
Old 01-21-2017, 01:35 PM   #1428
aspiringSynthesisingAlch
Human being with feelings
 
Join Date: Feb 2014
Posts: 309
Default that 'transpose' tip

Quote:
Originally Posted by Ozymandias View Post
You've cracked it, planetnine!

By importing move notes up/down into the Main section, we can use them with the "Skip next..." actions.

Code:
MIDIEditor_LastFocused_OnCommand(40178,0); //Move notes down one semitone
Code:
MIDIEditor_LastFocused_OnCommand(40177,0); //Move notes up one semitone


Works great!

Ideally, I would import the "Skip next..." actions into the MIDI Editor list instead, but I've tried it and for some reason it didn't work. I assume this has something to do with the way Reaper handles MIDI CC control.

Consequently, the mouse has to be hovering over the arrange window for this to work. That's no great hardship, though.
that, and/or

Action: Skip next action if CC parameter <0/mid
SWS/FNG: Transpose selected MIDI items up a semitone
Action: Skip next action if CC parameter >0/mid
SWS/FNG: Transpose selected MIDI items down a semitone


how do you implement?

I don't get the logic - how do you execute? is this an excerpt from a script?
aspiringSynthesisingAlch is offline   Reply With Quote
Old 02-23-2017, 07:57 PM   #1429
jangoux
Human being with feelings
 
Join Date: Dec 2015
Posts: 30
Default

Hi,

Is there a script to mute the track it is insert into while recording is taking place ?
jangoux is offline   Reply With Quote
Old 02-26-2017, 04:59 PM   #1430
chumbo
Human being with feelings
 
Join Date: Apr 2015
Location: Brussels, Belgium
Posts: 704
Default Peak View Gain for single items?

Currently, it's only possible to increase the peak gain across an entire project, so all tracks and items in the project!?

Sometimes that's really not what's needed at all like in my case here where I have a pre-mixed backing track which has it's volume 'mastered', and the other track which is a guitar solo I'm working on.

As far as audible volume goes, the solo guitar is perfectly balanced with the backing track so I don't want to normalise it.
So when trying to comp the 2 takes of guitar, I really need to see the item's peak better. Thus the Script request

See below. 1st image is as is, without the Reaper Peak Gain increase (Shift+Up arrow).
2nd is with the gain increase to a usable level...now look at the track above...that's the same track as in the 1st image with it's gain increased as well! It's just a wall of sound!It looks like a blank media item! :-S


chumbo is offline   Reply With Quote
Old 02-26-2017, 07:29 PM   #1431
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@chumbo
No possible via Scripting.

@all
Please consider open a new thread for your next FR, entitled with Fr: Your Fr Concept.

Easier to manage, prevent cross-discussions posts, better access to history etc...
X-Raym is offline   Reply With Quote
Old 02-27-2017, 03:29 AM   #1432
chumbo
Human being with feelings
 
Join Date: Apr 2015
Location: Brussels, Belgium
Posts: 704
Default

Darn!? That's the first time I've heard something was not possible in Reaper (and yet it sounds so basic. I wouldn't be surprised if this was possible in most other DAWs. Oh well, I'll post in the FR section and wait and see...)

Duly noted about the FR
A suggestion...It might be good to ask Lawrence the OP of this thread, to modify his original post and include some basic instructions about posting FR because your post n. 1441 at page 36 of this thread will very quickly get lost and ignored by newcomers
chumbo is offline   Reply With Quote
Old 02-27-2017, 04:49 AM   #1433
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@chumbo
That's why we now advice to open new thread instead :P

For your problem, you can consider boosting item gain, and lowering its track gain by the opposite amount. Quality and volume will be presered, but your peaks will be bigger.
X-Raym is offline   Reply With Quote
Old 02-27-2017, 04:59 AM   #1434
chumbo
Human being with feelings
 
Join Date: Apr 2015
Location: Brussels, Belgium
Posts: 704
Default

Quote:
Originally Posted by X-Raym View Post
@chumbo
That's why we now advice to open new thread instead :P
Yes, I understand that. I was just saying that if you put it in the OP, any newcomer not aware of the preferred way of posting a script FR, could read it then since that's the first thing you see when you click a thread in the forum...the 1st post. And that's the way most much followed threads are organised here on the Reaper forums, the OP has all the basic info you need to know and updates, etc...
Anyway, just a suggestion to make your life easier and not have to notify newcomers an almost daily basis (I guess?)

Quote:
Originally Posted by X-Raym View Post
For your problem, you can consider boosting item gain, and lowering its track gain by the opposite amount. Quality and volume will be presered, but your peaks will be bigger.
Yup, that's a good idea! I tried it, it works. There's maybe a way of compiling that in a CA or Custom Action or...a script?
chumbo is offline   Reply With Quote
Old 03-02-2017, 09:53 AM   #1435
Knut
Human being with feelings
 
Knut's Avatar
 
Join Date: Jan 2012
Location: Oslo
Posts: 75
Default

Anyone up for some paid work..?
Knut is offline   Reply With Quote
Old 03-02-2017, 10:32 AM   #1436
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@Knut
Open a thread in JSFX section to tell us about your needs.
X-Raym is offline   Reply With Quote
Old 03-02-2017, 01:59 PM   #1437
gwok
Human being with feelings
 
gwok's Avatar
 
Join Date: Jun 2010
Location: canada
Posts: 3,396
Default

Hello,

I'm wondering if someone could whip up a script "select muted items in time selection"?

would be a great help, if so, tia!
gwok is offline   Reply With Quote
Old 03-02-2017, 02:13 PM   #1438
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

I think this Custom Action will do what you wish for, no script needed:

Custom Action, consisting of Actions:
a) SWS: Select muted items
b) SWS/FNG: Unselect items that do not start in time selection

As you can see, you need the SWS extensions being installed, for this Custom Action to work.
Hope this is your solution !
__________________
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-02-2017, 02:57 PM   #1439
gwok
Human being with feelings
 
gwok's Avatar
 
Join Date: Jun 2010
Location: canada
Posts: 3,396
Default

thanks VanHaze, I avoided that route because of the potential of the item starting before the time selection (but still being within it), which seems likely to happen. Thanks though!
gwok is offline   Reply With Quote
Old 03-14-2017, 02:56 PM   #1440
strachupl
Human being with feelings
 
strachupl's Avatar
 
Join Date: Jan 2013
Posts: 648
Default

Toggle show/ hide playrate envelope? Possible?
strachupl 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 08:35 AM.


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