Old 10-23-2011, 01:14 PM   #1201
Jeffos
Mortal
 
Jeffos's Avatar
 
Join Date: Dec 2008
Location: France
Posts: 1,969
Default

S&M VST plugs: ha ha! thanks guys! Of course, I would be pleased to see a plug of mine delivered with REAPER but I'm not sure those ones are good candidates though: they are workarounds for native shortcomings.. And yes, x64 versions will come at some point. I'll start a new thread when done and merge my other scatered contribs there. Yeah, I know I already said that.. but.. er oh well. Just busy with stuff, music, some "behind the scene" updates I want to finish in the extension, etc.. but I'll soon switch back to the VST world (and probably the payware one too )

@Aries1985: for routing edition with the API, you can update routing thanks to GetSetTrackSendInfo() but to add/remove them you have to go the chunk way (GetSetObjectState())
Quote:
Originally Posted by Aries1985 View Post
I would like to have function that would allow on selected tracks:
- add MIDI receive on given channel from specified track
- add MIDI send to given channel to specified track
For the 1st one, see the open source code of the "s&m cue buss generator" or the "Add cue buss from track selection" action (both basically do that: they create a new track with receives from selected tracks). The MIDI channel is the esay part: bitmask. Add a send: as any good conection design, routings only go one way: receives only. So to add a send, you have to add a receive on the destination track..

@neilerua: replied in French!

Last edited by Jeffos; 10-23-2011 at 01:21 PM.
Jeffos is offline   Reply With Quote
Old 10-30-2011, 04:36 AM   #1202
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

EDIT: see 2 posts down.


I reported this before, but I'm almost certain there is a problem with SWS: Move cursor left by default fade length (Cmd ID 53618)

The cursor is moved left by much more than the defined amount. I have changed it to 0.007sec in Preferences>Project>Media Item Defaults for both text fields.

I have also set SWS Extension Command Parameters>Fades>Config A and Config B to 0.007 sec, but this has not fixed it.

I even set SWS Extension Command Parameters>Nudges>Seconds (edit cursor) to 0.007 sec and I ain't gettin' no lovin'! (well, I'm gettin' too much leftwards lovin')


Can someone please tell me what I'm doing wrong (or fix it ;D )
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]

Last edited by daxliniere; 10-31-2011 at 09:41 PM.
daxliniere is offline   Reply With Quote
Old 10-30-2011, 04:44 AM   #1203
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Perhaps we could also have the actions;

"Nudge cursor left, beat based"
"Nudge cursor right, beat based"
"Nudge cursor left, time based"
"Nudge cursor right, time based"

This would probably solve my problem for now.

(Having said that, I'd like even more to know how to program those actions myself. I think I'm going to learn Python so I can write my own little scripts, which appear to be more 'capable' than mere custom actions.)
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 10-30-2011, 05:04 AM   #1204
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Hmm... this is weird, it seems that sometimes it works and sometimes it shifts by too much...
I'll keep investigating.

Edit: Aha! it seems that the real problem is slightly elsewhere. If you zoom in far enough, the crossfade length changes (gets much shorter)!

I'll try to post a video.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 10-30-2011, 05:16 AM   #1205
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Caught on camera!

This bug-video shows how crossfade length can change depending on horizontal zoom.
https://stash.reaper.fm/10461/BUG-cro...6-zoom-bug.gif


Watch for the 2 different crossfade lengths as zoom is changed.

So do I report this to Cockos or SWS?


In case you are wondering, I am using this script below (original by Gofer, tweaked by me). When no object is selected, holding the hotkey moves edit cursor with mouse cursor. When item(s) are selected, a split is performed, offset by crossfade length.

Code:
MoveCursor = 40513
OffsetCursorToLeft = 53618
SplitItems = 40012


selItems = RPR_CountSelectedMediaItems(0)

RPR_Main_OnCommand(MoveCursor, 0)

if (selItems!=0):

  RPR_Main_OnCommand(OffsetCursorToLeft, 0)
  RPR_Main_OnCommand(SplitItems, 0)
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]

Last edited by daxliniere; 10-30-2011 at 05:21 AM.
daxliniere is offline   Reply With Quote
Old 10-31-2011, 09:21 PM   #1206
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Hey Tim/Jeff,

Do you think it would be possible to add an action to change the layout of a selected track?

Reason: I notice a few themes have divider/separator MCP layouts. It would be nice to create a custom action that creates a new track, sets it's MCP layout to divider, then hides it in the TCP.

Possible?


All the best,
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 10-31-2011, 09:32 PM   #1207
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,701
Default

Quote:
Originally Posted by daxliniere View Post
Hey Tim/Jeff,

Do you think it would be possible to add an action to change the layout of a selected track?

Reason: I notice a few themes have divider/separator MCP layouts. It would be nice to create a custom action that creates a new track, sets it's MCP layout to divider, then hides it in the TCP.

Possible?


All the best,
You can do that with the actions "Apply custom layout". Define this layout in the "Screen/track/item sets window".
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 11-01-2011, 01:53 AM   #1208
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Quote:
Originally Posted by Mercado_Negro View Post
You can do that with the actions "Apply custom layout". Define this layout in the "Screen/track/item sets window".
Thanks Mercado,
I looked for "Apply custom layout" on the forum before posting, but I found nothing. Plus there's nothing listed in the manual, unfortunately.

So how do I apply a layout to a single track in MCP only?


Thanks in advance,
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-01-2011, 03:19 AM   #1209
nicholas
Scribe
 
nicholas's Avatar
 
Join Date: Jan 2007
Location: Van Diemen's Land
Posts: 12,248
Default

Quote:
Originally Posted by daxliniere View Post
I looked for "Apply custom layout" on the forum before posting, but I found nothing. Plus there's nothing listed in the manual, unfortunately.
If you're referring to the "User Guide", unfortunately it isn't possible to cover in depth everything there is to know about REAPER in a single document! The specific example that you want to do is not described.

However on Page 198 the topic is mentioned and described. A tip I can give you is that the PDF is searchable (at least in Acrobat). If you had typed "apply custom layout" in the Acrobat search box it would have taken you right there.

I'm also pleased say that custom layouts and the various ways you can apply them are covered in more depth in "REAPER Unleashed."

__________________
Learning Manuals and Reaper Books
REAPER Unleashed - ReaMix - REAPER User Guide
http://www.lulu.com/spotlight/glazfolk

Last edited by nicholas; 11-01-2011 at 03:50 AM. Reason: Add more information
nicholas is offline   Reply With Quote
Old 11-01-2011, 03:30 AM   #1210
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Quote:
Originally Posted by nicholas View Post
If you're referring to the "User Guide", you're right - unfortunately it isn't possible to cover everything there is to know about REAPER in a single document!

However, I'm pleased say that custom layouts and the various ways you can apply them are covered in fair depth in "REAPER Unleashed."

Bloody hell, Nicholas, what's tha good o' ya?! LOL

Seriously though, tips & tricks and things not pertaining directly to REAPER are a different kettle of fish, but I do think that all features in a program should be covered in its manual.

Perhaps Cockos should increase REAPER by $1 and pay it to you in exchange for a license to include a fully comprehensive manual. (Would result in more money in your pocket too, I'd say.)
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-01-2011, 03:33 AM   #1211
nicholas
Scribe
 
nicholas's Avatar
 
Join Date: Jan 2007
Location: Van Diemen's Land
Posts: 12,248
Default

Quote:
Originally Posted by daxliniere View Post

So how do I apply a layout to a single track in MCP only?
In short:

1. Open Screensets/Layouts view, in Layouts window select a custom option (eg Action #1 - I'll call it Action #x). Select Mixer Panel from first drop down and the required layout from second drop down.

2. Assign a keyboard shortcut and/or toolbar icon to the Action Layout: Apply custom layout #x - you can also add this to the Mixer context menu.

3. In mixer view, select any track then run the action from keyboard shortcut, toolbar or menu,.'
__________________
Learning Manuals and Reaper Books
REAPER Unleashed - ReaMix - REAPER User Guide
http://www.lulu.com/spotlight/glazfolk
nicholas is offline   Reply With Quote
Old 11-01-2011, 03:37 AM   #1212
nicholas
Scribe
 
nicholas's Avatar
 
Join Date: Jan 2007
Location: Van Diemen's Land
Posts: 12,248
Default

Quote:
Originally Posted by daxliniere View Post
Bloody hell, Nicholas, what's tha good o' ya?! LOL

Seriously though, tips & tricks and things not pertaining directly to REAPER are a different kettle of fish, but I do think that all features in a program should be covered in its manual.

Perhaps Cockos should increase REAPER by $1 and pay it to you in exchange for a license to include a fully comprehensive manual. (Would result in more money in your pocket too, I'd say.)
More work than one person could do I'm afraid.

But I would meanwhile refer you to Chapter 11, Section 11.13 - the section headed "Assigning Actions to Layouts" page 198. This does cover the basics of the feature that you are asking about.
__________________
Learning Manuals and Reaper Books
REAPER Unleashed - ReaMix - REAPER User Guide
http://www.lulu.com/spotlight/glazfolk

Last edited by nicholas; 11-01-2011 at 03:45 AM.
nicholas is offline   Reply With Quote
Old 11-01-2011, 06:11 PM   #1213
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Thanks Nicholas, I got it working (with "Selected Mixer Panel")

Thankyou again because you've just helped me find a bug in the PDF reader software I use (strike that, USED to use), called Foxit Reader.

before posting here, I did a search through the manual for "apply custom layout" but it said not found.

Right, I'm off to report that to Foxit.


All the best,
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-01-2011, 06:27 PM   #1214
nicholas
Scribe
 
nicholas's Avatar
 
Join Date: Jan 2007
Location: Van Diemen's Land
Posts: 12,248
Default

Quote:
Originally Posted by daxliniere View Post
Thankyou again because you've just helped me find a bug in the PDF reader software I use (strike that, USED to use), called Foxit Reader.
Ah that's interesting. A lot of people on this and other forums are very enthusiastic about Foxit. I have always found it (for my needs) to be rather lightweight and prefer to use Adobe, not because I have any great love for the company but because Acrobat (for me at least) has always been 100% solid and dependable.
__________________
Learning Manuals and Reaper Books
REAPER Unleashed - ReaMix - REAPER User Guide
http://www.lulu.com/spotlight/glazfolk
nicholas is offline   Reply With Quote
Old 11-01-2011, 07:26 PM   #1215
Sound asleep
Human being with feelings
 
Sound asleep's Avatar
 
Join Date: Nov 2009
Location: Montreal, Canada
Posts: 9,225
Default

Quote:
Originally Posted by nicholas View Post
Ah that's interesting. A lot of people on this and other forums are very enthusiastic about Foxit. I have always found it (for my needs) to be rather lightweight and prefer to use Adobe, not because I have any great love for the company but because Acrobat (for me at least) has always been 100% solid and dependable.
ya, acrobat works fine for me, free, i have no problems with it or desire to switch, but what's the advantages of foxit?
__________________
Slava Ukraini
Sound asleep is offline   Reply With Quote
Old 11-01-2011, 11:11 PM   #1216
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Quote:
Originally Posted by Sound asleep View Post
what's the advantages of foxit?
I own Acrobat Pro, but only have it installed on my laptop basically because it's a resource hog. Foxit does the same job, but is MUCH lighter.

I have to retract my earlier statement about Foxit Reader having problems with search. I realised I was using quotation marks around specific search queries to find an exact string match. These are not required. :s
I'm glad I hadn't gotten around to sending them that "bug report"..
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-02-2011, 12:54 AM   #1217
nicholas
Scribe
 
nicholas's Avatar
 
Join Date: Jan 2007
Location: Van Diemen's Land
Posts: 12,248
Default

Quote:
Originally Posted by daxliniere View Post
I realised I was using quotation marks around specific search queries to find an exact string match. These are not required
In that case you've increased your knowledge as a result of this experience!
__________________
Learning Manuals and Reaper Books
REAPER Unleashed - ReaMix - REAPER User Guide
http://www.lulu.com/spotlight/glazfolk
nicholas is offline   Reply With Quote
Old 11-02-2011, 03:44 AM   #1218
Marah Mag
Human being with feelings
 
Marah Mag's Avatar
 
Join Date: Sep 2008
Location: Here
Posts: 3,000
Default Lost markers

All the markers in my project disappeared.

I don't know how. I didn't notice it right away.

But at some point I found the timeline completely without markers.

I was unable to find any marker deletions in the undo list, which towards the bottom was filled with a long sequence of 'Multiple Changes."

When it comes to markers, I'm not really sure how much is Reaper and how much is SWS, but I thought I'd post this here, because when I tried to restore the markers from a bak, the Marker List paste didn't work.

Was using SWS 2.1.0 Build #16. Discovered this was already an open issue here:
http://code.google.com/p/sws-extensi...ummary%20Stars

(I went back to the last official SWS release and was able to paste from a bak.)

Anyone else ever find all their markers missing?
Marah Mag is offline   Reply With Quote
Old 11-02-2011, 04:03 AM   #1219
mabian
Moderator
 
mabian's Avatar
 
Join Date: Aug 2007
Location: Italy
Posts: 4,328
Default

Quote:
Originally Posted by Sound asleep View Post
ya, acrobat works fine for me, free, i have no problems with it or desire to switch, but what's the advantages of foxit?
Also, it is available in portable format => you can have it in around 10MB of your pendrive.

- Mario
mabian is offline   Reply With Quote
Old 11-02-2011, 04:30 AM   #1220
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Quote:
Originally Posted by nicholas View Post
In that case you've increased your knowledge as a result of this experience!
A wise man.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-05-2011, 03:20 AM   #1221
jedstar2000
Human being with feelings
 
jedstar2000's Avatar
 
Join Date: Apr 2009
Location: Bristol uk
Posts: 1,006
Default F.R. Replace all instances with Previous/Next file in folder

I was just wondering if theres any plans for an action to switch samples.

There used to be a couple of actions to switch to previous/next sample in folder but these are now defunct due to the new project bay. It seem if the project bay could be tapped into in the same way we could also have a couple of actions to switch all instances of media file. This would be an awesome addition as it would allow auditioning of drum hits from within an arrangement.

Thanks for all the hard work Jed
__________________
...............Reaper the DIY DAW.....................
MultiTrack Editing Macros http://forum.cockos.com/showthread.php?t=50111
Hybrid Theme http://forum.cockos.com/showthread.php?t=131090
jedstar2000 is offline   Reply With Quote
Old 11-05-2011, 08:26 AM   #1222
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,158
Default

Quote:
Originally Posted by jedstar2000 View Post
I was just wondering if theres any plans for an action to switch samples.

There used to be a couple of actions to switch to previous/next sample in folder but these are now defunct due to the new project bay. It seem if the project bay could be tapped into in the same way we could also have a couple of actions to switch all instances of media file. This would be an awesome addition as it would allow auditioning of drum hits from within an arrangement.

Thanks for all the hard work Jed
+1
I also asked for this some time ago.
http://forum.cockos.com/showthread.php?t=81760
nofish is offline   Reply With Quote
Old 11-05-2011, 08:30 AM   #1223
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,819
Default

Are SWS plugin windows going to be updated to use Reaper's new themeable background colors soon?
EvilDragon is offline   Reply With Quote
Old 11-06-2011, 01:15 AM   #1224
jedstar2000
Human being with feelings
 
jedstar2000's Avatar
 
Join Date: Apr 2009
Location: Bristol uk
Posts: 1,006
Default

Quote:
Originally Posted by nofish View Post
+1
I also asked for this some time ago.
http://forum.cockos.com/showthread.php?t=81760
Wow if only "use as media source for selected items" appeared as an action it could be coupled with select next/previous media item and added into the toolbar
__________________
...............Reaper the DIY DAW.....................
MultiTrack Editing Macros http://forum.cockos.com/showthread.php?t=50111
Hybrid Theme http://forum.cockos.com/showthread.php?t=131090
jedstar2000 is offline   Reply With Quote
Old 11-14-2011, 10:11 AM   #1225
Sound asleep
Human being with feelings
 
Sound asleep's Avatar
 
Join Date: Nov 2009
Location: Montreal, Canada
Posts: 9,225
Default

Just realized there exists pool midi data/ghost notes/items, whatever, and that's awesome, but there are a 2 extra actions i would like to have in order to take full advantage of this great feature, so here's my request.


1. option to have action for clicking and dragging an item whilst creating a ghosted copy. so ex: ctrl+shift+drag duplicates and links/ghosts/pools whatever.

2. there is a handy button to unlink items. very great. but there is not an easy way to link similar items that i found. it would be cool if you could select two items and link them. let's say you forgot to ghost them to begin with or something, it would be much faster to be able to just have the action to link them. me, i'd put that in my right click menu when i have two same files. ideally option would be grayed out whenever items are not identical or whenever only one item is selected. but just doing nothing is not a disaster, or a error window stating you can't do that, and tick box to select "do not show again".
__________________
Slava Ukraini
Sound asleep is offline   Reply With Quote
Old 11-15-2011, 04:55 PM   #1226
Marah Mag
Human being with feelings
 
Marah Mag's Avatar
 
Join Date: Sep 2008
Location: Here
Posts: 3,000
Default

Thanks, Tim!
Marah Mag is offline   Reply With Quote
Old 11-21-2011, 03:15 PM   #1227
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Is there a way to change Snap/Grid Settings->Grid snap spacing via an action?
I want to create a toolbar with snap value settings (1, 1/2, 1/4, 1/8...), but can't seem to find anything other than grid visibility settings.

Could you change the threshold of the "vertical time ruler drag = horizontal zoom", please?
I've found that while dragging markers around, the zoom kicks in too easily which prevents the marker from moving.


And this may sound weird, but a Python ReaScript I made stopped working correctly recently and I realised that it was using the wrong command (53618 instead of 53617). I know it's sounds crazy, but is there any chance this was swapped?? Otherwise I can't work out what happened.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-21-2011, 03:27 PM   #1228
sws
Code Monkey
 
sws's Avatar
 
Join Date: Sep 2007
Location: Madison, WI
Posts: 857
Default

Dax,

Under SWS/AW we have a few grid actions, let me know if you need more.

The current "zoom deadband" is 3 pixels for the upper half of the ruler and 5 pixels for the bottom. If you're currently just using the top half, try the bottom instead.

The command IDs for extensions are dynamic, you can't count on them to stay the same. You need to use the Reaper API function NamedCommandLookup to convert from the command name (eg _SWS_ABOUT) to the integer ID.

Tim

Last edited by sws; 11-21-2011 at 03:34 PM.
sws is offline   Reply With Quote
Old 11-21-2011, 06:07 PM   #1229
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Quote:
Under SWS/AW we have a few grid actions, let me know if you need more.
Thanks Tim! Yes, I would like to be able to change the "Snap/Grid Settings->Grid snap spacing" values, please.

Quote:
The current "zoom deadband" is 3 pixels for the upper half of the ruler and 5 pixels for the bottom. If you're currently just using the top half, try the bottom instead.
Ahh yes, but the markers are located in the upper half. The problem is not that I can't activate the zoom function, it activates all too easy when I'm trying to drag markers around.
Can you extend both to 5 pixels? What's the reason you specified two different thresholds for this?

Quote:
The command IDs for extensions are dynamic, you can't count on them to stay the same.
You're shitting me?! That seems pretty crazy, at any time my custom actions could just fail to work (as they did) and I wouldn't necessarily know what commands they previously were.
I mean, they could even become destructive! This is pretty dangerous.
I think you should be able to apply to Cockos for a dedicated action ID numbers for well-known REAPER extensions.

Quote:
You need to use the Reaper API function NamedCommandLookup to convert from the command name (eg _SWS_ABOUT) to the integer ID.
Hmm, not totally sure what this means. Here is an example script I'm using:

Code:
MoveCursor = 40513
OffsetCursorToLeft = 53617    #SWS: Move cursor left by default fade length
SplitItems = 40012


selItems = RPR_CountSelectedMediaItems(0)

RPR_Main_OnCommand(MoveCursor, 0)

if (selItems!=0):
  RPR_Main_OnCommand(OffsetCursorToLeft, 0)
  RPR_Main_OnCommand(SplitItems, 0)
How would the Reaper API function NamedCommandLookup help me and how would I implement it? (I'm happy to convert all of my custom actions into Python scripts if it avoids this problem.)

Thanks and all the best,
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-21-2011, 08:51 PM   #1230
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,037
Default

Quote:
Originally Posted by daxliniere View Post
How would the Reaper API function NamedCommandLookup help me and how would I implement it? (I'm happy to convert all of my custom actions into Python scripts if it avoids this problem.)
Just user their names instead of the numbers. In the action listing you have to activate this column however, by default the name column is disabled I think.
TonE is online now   Reply With Quote
Old 11-21-2011, 09:24 PM   #1231
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Oh, simple as that, is it? Thanks TonE

Does this mean custom actions aren't affected, only ReaScripts?
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-21-2011, 09:25 PM   #1232
sws
Code Monkey
 
sws's Avatar
 
Join Date: Sep 2007
Location: Madison, WI
Posts: 857
Default

Quote:
Originally Posted by daxliniere View Post
Thanks Tim! Yes, I would like to be able to change the "Snap/Grid Settings->Grid snap spacing" values, please.
Not sure exactly what you're looking for here, please leave us a FR and we'll add for you.

Quote:
Originally Posted by daxliniere View Post
Ahh yes, but the markers are located in the upper half. The problem is not that I can't activate the zoom function, it activates all too easy when I'm trying to drag markers around.
Can you extend both to 5 pixels? What's the reason you specified two different thresholds for this?
Boreg wrote that section of code, not sure what his intentions were. I will increase to 5 pixels unless someone has an objection.

Quote:
Originally Posted by daxliniere View Post
You're shitting me?! That seems pretty crazy, at any time my custom actions could just fail to work (as they did) and I wouldn't necessarily know what commands they previously were.
I mean, they could even become destructive! This is pretty dangerous.
I think you should be able to apply to Cockos for a dedicated action ID numbers for well-known REAPER extensions.
The "don't use ext action IDs" has been fairly well documented, but unfortunately since there's not much dev documentation it's hard to find. Apologies!

Replace OffsetCursorToLeft = 53617 in your code with:
Code:
OffsetCursorToLeft = RPR_NamedCommandLookup("_SWS_MOVECURFADELEFT")
sws is offline   Reply With Quote
Old 11-21-2011, 09:27 PM   #1233
sws
Code Monkey
 
sws's Avatar
 
Join Date: Sep 2007
Location: Madison, WI
Posts: 857
Default

Quote:
Originally Posted by daxliniere View Post
Does this mean custom actions aren't affected, only ReaScripts?
Yes, only scripts/code that have hardcoded the ID #s for extension actions are affected. Custom actions are fine! (If you look in your reaper-kb.ini file you'll note custom actions are stored with the _NAME, not the ID#.)
sws is offline   Reply With Quote
Old 11-22-2011, 06:03 PM   #1234
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Quote:
Originally Posted by sws View Post
Not sure exactly what you're looking for here, please leave us a FR and we'll add for you.
Done. Cheers, Tim.

Quote:
Originally Posted by sws View Post
Boreg wrote that section of code, not sure what his intentions were. I will increase to 5 pixels unless someone has an objection.
Cheers again.

Quote:
Originally Posted by sws View Post
The "don't use ext action IDs" has been fairly well documented, but unfortunately since there's not much dev documentation it's hard to find. Apologies!
Don't apologise! Sometimes you learn things the slow way.
Does this affect custom actions or do they use command names already?

Quote:
Originally Posted by sws View Post
Replace OffsetCursorToLeft = 53617 in your code with:
Code:
OffsetCursorToLeft = RPR_NamedCommandLookup("_SWS_MOVECURFADELEFT")
Awesome, thankyou again.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-22-2011, 08:36 PM   #1235
Sound asleep
Human being with feelings
 
Sound asleep's Avatar
 
Join Date: Nov 2009
Location: Montreal, Canada
Posts: 9,225
Default

Quote:
Originally Posted by daxliniere View Post
Done. Cheers, Tim.


Cheers again.


Don't apologise! Sometimes you learn things the slow way.
Does this affect custom actions or do they use command names already?


Awesome, thankyou again.
i'm intrigued with this in dept customization you have done to your reaper. if it's not too much trouble (not sure how many you did and whatnot) what sorts of things have you done with this technique? or what are your tope couple of mods?
__________________
Slava Ukraini
Sound asleep is offline   Reply With Quote
Old 11-22-2011, 08:57 PM   #1236
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Quote:
Originally Posted by Sound asleep View Post
i'm intrigued with this in dept customization you have done to your reaper. if it's not too much trouble (not sure how many you did and whatnot) what sorts of things have you done with this technique? or what are your tope couple of mods?
Hey SA,
Lots of little things; I'm a details guy. I've also been a beta tester for audio software developers for many years now.

Here are some:

1) I always have my aux effect tracks at the end of my mixer, they are also in a folder and coloured purple. I created a little custom action to create a track and set it up the way I like it. But the coolest thing is that I placed a shortcut to this command in the MCP aux send context menu, so it's right where I want it when I need it!

2) A cycle-action that de-selects all items (press 'D'), but can restore that selection by pressing D again.

3) A cut (split) tool that acts more like Samplitude. (Which is still faster and easier for editing than REAPER, though of course I do love REAPER)

4) An action to set the time region to the selected items and enable (not toggle) looped playback.

5) Actions to move to the left and right edges of items (ignoring, then restoring item selection). The inbuilt function only works if items are selected.

6) An action to insert a 'separator track' in the MCP. The action creates a new track to the right of the selected track and sets it to use a separate MCP layout I stole from the RockSolid theme. Also hides the track in the TCP. This action was then added to all 'insert' context menus (alongside new track, new tracks, VSTi track, etc)

7) Create new folder and insert selected tracks into that folder


Plus lots of little menu tweaks.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-22-2011, 09:04 PM   #1237
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

What I'd REALLY like to do with my split tool is make it behave exactly like Samplitude;

Hold down your split key* and edit cursor floats to mouse cursor (you can see exactly where the split will land),

Split is only made when you click the left mouse button,

Split will occur regardless of item selection (i.e. items under the mouse cursor will be split without needing to be selected first)

When multiple items are selected they will all be split, regardless of grouping.


*Samplitude calls that function a 'temporary key'. It switches from the standard mouse tool (select/move) to the scissors tool.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 11-22-2011, 10:52 PM   #1238
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,981
Default

Do you fancy sharing some of the details of your custom tweaks in a "mod-shop" blog or similar at all please Dax?

I'm interested in the details of your create coloured aud track in the aux send context menu tweak -sounds a lot more involved than the simple custom actions I bodge

I wish I had more time to tweak...


>
__________________
Nathan, Lincoln, UK. | Item Marker Tool. (happily retired) | Source Time Position Tool. | CD Track Marker Tool. | Timer Recording Tool. | dB marks on MCP faders FR.
planetnine is offline   Reply With Quote
Old 11-23-2011, 05:37 AM   #1239
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,037
Default

Quote:
Originally Posted by daxliniere View Post
What I'd REALLY like to do with my split tool is make it behave exactly like Samplitude;
And what do you think is the limiting factor so far in Reaper? Or which actions are you missing? Or which action related functionality is missing? If all actions are already available, maybe AutoHotkey might help here?
TonE is online now   Reply With Quote
Old 11-23-2011, 04:03 PM   #1240
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,613
Default

Quote:
Originally Posted by planetnine View Post
Do you fancy sharing some of the details of your custom tweaks in a "mod-shop" blog or similar at all please Dax?
Sure, I'd be happy to do so. Can you suggest an appropriate place?

Quote:
Originally Posted by TonE View Post
And what do you think is the limiting factor so far in Reaper? ...maybe AutoHotkey might help here?
Ideally I'd like to keep it all within REAPER, if possible.
The limiting factor as I see it is that there aren't different mouse modes and so REAPER isn't set up to trigger the split action with a mouse button click.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere 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 01:57 PM.


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