Old 03-18-2018, 11:32 PM   #1
mabian
Moderator
 
mabian's Avatar
 
Join Date: Aug 2007
Location: Italy
Posts: 4,327
Default v5.78rc3 - March 18 2018

v5.78rc3 - March 18 2018
# MacOS: fix opening REAPER via file association

v5.78rc2 - March 18 2018
+ API: GetLastTouchedFX() and GetFocusedFX() only succeed if FX is in active project [t=204540]
# Tracks: prevent changing track height via API when track height is locked
# Tracks: remaining track height actions respect track height locking

v5.78rc1 - March 16 2018
+ Applications: allow other applications to insert media into REAPER; Windows: send WM_COPYDATA with dwData=0x100, MacOS: send openFile; send "#/path/to/file" to suppress option to open in new tab
+ Applications: spot media to REAPER optionally specifying a new project tab, media start offset/length. Example: "#NOTAB#START:0.5#LENGTH:360.0#/path/to/file"
+ Envelopes: convert automation items to square points when copy/pasting to mute, tempo, or FX bypass envelope and automation item is not pooled
+ Envelopes: generally prevent curved envelope segments on FX bypass envelopes
+ Free item positioning: automatically reposition media items when first setting a track to FIPM
+ Free item positioning: initial vertical positioning, and action to auto-reposition, follows item creation order, similar to ordering when showing overlapping media items in lanes [t=204127]
+ Multichannel audio: properly name single-channel items after "explode by channel" action [t=203560]
+ Preferences: fix option to create new project tab when inserting media using "open with..." from explorer/finder
+ ReaScript: allow running scripts with restricted permissions via "ReaScript: Run [Last] ReaScript..." actions
+ ReaSurround: fix automation of diffusion bias knob [t=201871]
+ Render: increase dither bit width to 1.5 bits [t=202685]
+ Take FX: fix take FX automation timing on media items when start in source is not zero and the FX has latency [t=203863]
+ Tempo map: fix importing initial time signature from MIDI tempo map
+ Track Manager: add column for track height lock
+ Track Manager: fix enabling/disabling track FX via track manager mouse sweep
+ Track manager: fix selection mirroring when first opening the track manager
+ Tracks: add action to lock individual track heights
+ VST3: fix forcing a plugin to mono if it supports more than 64 output channels [t=204324]
# API: fix CountEnvelopePointsEx() for AIs [t=199142]
# Applications: after another application posts media to REAPER, advance the cursor and set undo point
# ReaScript: do not allow reaper.ExecProcess() in restricted permissions mode
# Tracks: fix track height locking when displaying track envelopes
# Tracks: marquee zoom ignores height-locked tracks
# Tracks: save/load master track height locked state with project
mabian is offline   Reply With Quote
Old 03-18-2018, 11:39 PM   #2
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 3,409
Default

Re: track heights --

I would expect "Track: Lock/unlock track height" to toggle the setting per track, so that if I have track 1 locked and track 2 unlocked, and select both, and run the action, I expect both their toggles to flip, but that's not what happens (they are both unlocked). If I select two or more unlocked tracks and run the action, they all toggle on.

I'm also seeing strange behavior now with "View: Toggle track zoom to maximum height" -- seems to pick a track at random. If you make a new project, insert a few tracks (six, in my recent test), and hit ~, it's not the selected track that grows.

Win 8.1, 5.78rc3

Last edited by clepsydrae; 03-19-2018 at 12:04 AM.
clepsydrae is offline   Reply With Quote
Old 03-18-2018, 11:51 PM   #3
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
Default

For me the track under the mouse pointer gets max'd when I use ~, doesn't matter which/if any tracks are selected. And if mouse pointer is not over a track then the last selected track is the one that gets max'd.

Win7_x64 / 5.78_RC2
Edgemeal is offline   Reply With Quote
Old 03-18-2018, 11:54 PM   #4
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 3,409
Default

Quote:
Originally Posted by Edgemeal View Post
For me the track under the mouse pointer gets max'd when I use ~, doesn't matter which/if any tracks are selected. And if mouse pointer is not over a track then the last selected track is the one that gets max'd.
Ah, is that the intended behavior? I was unaware, if so... if so, disregard, that's probably all it was.
clepsydrae is offline   Reply With Quote
Old 03-18-2018, 11:58 PM   #5
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
Default

Help file says,... Maximise height of all tracks, or, if already maximised, restore tracks to most recent previous height.

Actions says,.. View: Toggle track zoom to maximum height

I may have changed something to get the behavior I see, not sure, never use ~.
Edgemeal is offline   Reply With Quote
Old 03-19-2018, 12:02 AM   #6
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 3,409
Default

D'oh, I was misinterpreting it as "toggle selected track zoom to maximum height". It's toggling all of them and the "random track" i was seeing was whatever ended up visible. Thanks, disregard...
clepsydrae is offline   Reply With Quote
Old 03-20-2018, 08:49 AM   #7
gofer
-blänk-
 
gofer's Avatar
 
Join Date: Jun 2008
Posts: 11,359
Default

Track height lock! Yay, finally! Please, add actions to enable and disable it, toggle is nice, but not sufficient.
gofer is offline   Reply With Quote
Old 03-20-2018, 09:41 AM   #8
mabian
Moderator
 
mabian's Avatar
 
Join Date: Aug 2007
Location: Italy
Posts: 4,327
Default

Quote:
Originally Posted by gofer View Post
Track height lock! Yay, finally! Please, add actions to enable and disable it, toggle is nice, but not sufficient.
Agreed, also because there's no visual indication that a track is locked in height.

- Mario
mabian is offline   Reply With Quote
Old 03-20-2018, 01:04 PM   #9
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

Schwa can you take a look at this, I'm trying to send the selected file to reaper with automator, as close as I can get is a new empty item named $input, otherwise an error message.

https://imgur.com/kacCdne
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 03-20-2018, 01:16 PM   #10
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,814
Default

Quote:
Originally Posted by EpicSounds View Post
Schwa can you take a look at this, I'm trying to send the selected file to reaper with automator, as close as I can get is a new empty item named $input, otherwise an error message.
https://developer.apple.com/library/...SLR_intro.html


This isn't really the place for applescript help, but I think you concatenate strings with &, like "#NOTAB#" & input.
schwa is offline   Reply With Quote
Old 03-20-2018, 01:28 PM   #11
Robert Randolph
Human being with feelings
 
Robert Randolph's Avatar
 
Join Date: Apr 2017
Location: St. Petersburg, FL
Posts: 880
Default

Quote:
Originally Posted by schwa View Post
https://developer.apple.com/library/...SLR_intro.html


This isn't really the place for applescript help, but I think you concatenate strings with &, like "#NOTAB#" & input.
I have a proper working script here, and Reaper is always opening the file in a new project tab after giving an error.

I'm not entirely sure that this is an applescript issue? (even though Jon's was)

What diagnostic information would you like?
Robert Randolph is offline   Reply With Quote
Old 03-20-2018, 01:32 PM   #12
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,814
Default

How about the script?
schwa is offline   Reply With Quote
Old 03-20-2018, 01:35 PM   #13
Robert Randolph
Human being with feelings
 
Robert Randolph's Avatar
 
Join Date: Apr 2017
Location: St. Petersburg, FL
Posts: 880
Default

Quote:
Originally Posted by schwa View Post
How about the script?
I feel like that's a very reasonably sardonic tone there. Oops.

Using 'Get Selected Finder Items' in a workflow script.

Code:
on run {input, parameters}
	
	tell application "REAPER64"
		set iPos to POSIX path of input
		open POSIX file "#NOTAB#" & iPos
	end tell

end run
Simply typing (in a shell) something like
Code:
open -a /Applications/Reaper/REAPER64.app #NOTAB# /Users/robertrandolph/Music/Samples/ELEKTRON/mdnoise.wav
should work identically should it not?

This opens a new tab after giving a "Error Opening New Media" error, THEN it imports the audio in a new tab.

edit: Link to workflow script - https://drive.google.com/file/d/12Xc...ew?usp=sharing
Robert Randolph is offline   Reply With Quote
Old 03-20-2018, 01:44 PM   #14
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,814
Default

Quote:
Originally Posted by Robert Randolph View Post
Simply typing (in a shell) something like
Code:
open -a /Applications/Reaper/REAPER64.app #NOTAB# /Users/robertrandolph/Music/Samples/ELEKTRON/mdnoise.wav
should work identically should it not?
Actually no. From the shell, the OS [sardonic]helpfully[/sardonic] tries to verify that the file exists before passing it to the applications.
schwa is offline   Reply With Quote
Old 03-20-2018, 02:16 PM   #15
D Rocks
Human being with feelings
 
Join Date: Dec 2017
Location: Quebec, Canada
Posts: 550
Default Thanks

Hey guys just quickly saying a HUGE THANKS for your efforts in coding and forever updating REAPER. Thank you.
This program is awesome... just getting my hhands on it after buying.. coming from Cubase pro 9.5 and impressed by REAPER.

Alex
D Rocks is offline   Reply With Quote
Old 03-20-2018, 02:26 PM   #16
Robert Randolph
Human being with feelings
 
Robert Randolph's Avatar
 
Join Date: Apr 2017
Location: St. Petersburg, FL
Posts: 880
Default

Quote:
Originally Posted by schwa View Post
Actually no. From the shell, the OS [sardonic]helpfully[/sardonic] tries to verify that the file exists before passing it to the applications.
Excellent, tonal clarity at last!

[diplomatic-attempt-at-calling-it-a-bug]
I'm at a loss with using this feature though. I am fairly (marginally) competent with applescript and I just can't get this to work properly. Reaper always opens a new tab (sometimes 3 or more!) and gives an error. Any clarity would be appreciated.
[/diplomatic-attempt-at-calling-it-a-bug]
Robert Randolph is offline   Reply With Quote
Old 03-20-2018, 04:41 PM   #17
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,814
Default

This is an applescript limitation, not a REAPER bug.

These work:

Code:
tell application "REAPER"
	open POSIX file "#NOTAB#/Users/schwa/Documents/REAPER Media/A220.wav"
end tell

set s to "/Users/schwa/Documents/REAPER Media/A220.wav"
tell application "REAPER"
	open POSIX file s as string
end tell
this almost works:

Code:
set s to "/Users/schwa/Documents/REAPER Media/A220.wav"
tell application "REAPER"
	open POSIX file "#NOTAB#" & s as string
end tell
in that it doesn't open a new tab, but it tries to open the non-POSIX version of s.

The problem is that applescript coerces s to a non-posix path object, then a string, then prepends "#NOTAB#", then passes the string successfully to REAPER, but it now contains a non-posix path.

We could work around this on our side by accepting non-posix filenames, though you can't send non-posix paths from applescript unless you tell applescript they are actually posix paths. In other words we can make the "almost works" script above work, but it would definitely be us accommodating applescript's problem.
schwa is offline   Reply With Quote
Old 03-20-2018, 05:03 PM   #18
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

no worries I don't need to show it. I don't think there's enough for a video in this update anyway.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 03-20-2018, 06:24 PM   #19
Robert Randolph
Human being with feelings
 
Robert Randolph's Avatar
 
Join Date: Apr 2017
Location: St. Petersburg, FL
Posts: 880
Default

Quote:
Originally Posted by schwa View Post
This is an applescript limitation, not a REAPER bug.

These work:

Code:
tell application "REAPER"
	open POSIX file "#NOTAB#/Users/schwa/Documents/REAPER Media/A220.wav"
end tell

set s to "/Users/schwa/Documents/REAPER Media/A220.wav"
tell application "REAPER"
	open POSIX file s as string
end tell
this almost works:

Code:
set s to "/Users/schwa/Documents/REAPER Media/A220.wav"
tell application "REAPER"
	open POSIX file "#NOTAB#" & s as string
end tell
in that it doesn't open a new tab, but it tries to open the non-POSIX version of s.

The problem is that applescript coerces s to a non-posix path object, then a string, then prepends "#NOTAB#", then passes the string successfully to REAPER, but it now contains a non-posix path.

We could work around this on our side by accepting non-posix filenames, though you can't send non-posix paths from applescript unless you tell applescript they are actually posix paths. In other words we can make the "almost works" script above work, but it would definitely be us accommodating applescript's problem.
Actually based on this information, I was able to get the script working with a small change.

Code:
on run {input, parameters}
	set iPos to POSIX path of input
	
	tell application "REAPER64"
		open POSIX file "#NOTAB#" & iPos as string
	end tell
	
end run
https://drive.google.com/file/d/1Jk6...ew?usp=sharing

I've not had to use posix paths in applescript, so this was interesting. I also have hammerspoon working as well.

Thank you for taking the time to look in to this! My apologies if this was the wrong place to bring it up, but it seemed correct since it was based on a feature introduced in this release cycle.
Robert Randolph is offline   Reply With Quote
Old 03-21-2018, 12:40 PM   #20
HighVoltage
Human being with feelings
 
HighVoltage's Avatar
 
Join Date: Jan 2007
Posts: 496
Default

A full speed offline rendering used to utilize my MAX CPU, now its just under 45% http://prntscr.com/iuh332

Turning off live multiprocessing is even worse, it's under 30%

Last edited by HighVoltage; 03-21-2018 at 12:48 PM.
HighVoltage 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:07 AM.


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