Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(FR) API: Get Item Max Peak and Average RMS Level #781

Closed
X-Raym opened this issue Nov 29, 2015 · 2 comments
Closed

(FR) API: Get Item Max Peak and Average RMS Level #781

X-Raym opened this issue Nov 29, 2015 · 2 comments

Comments

@X-Raym
Copy link
Contributor

@X-Raym X-Raym commented Nov 29, 2015

Hi,

SWS is capable of analyzing items and determine what is it's Max Peak level, and what is it's Average RMS level. This function is use in the SWS label processor and in the Organize Items by Peak/RMS actions.

It could be nice if we could get this value from ReaScript, with two functions like this:
max_peak = GetMediaItemMaxPeak( item )
average_rms = GetMediaItemAverageRMS( item )

Currently, we can only access this value by using the SWS label processor, and renaming all the items with the level we want. No very flexible.

Thanks for listening !

@X-Raym X-Raym changed the title Get Item Max Peak and Average RMS Level (FR) API: Get Item Max Peak and Average RMS Level Mar 26, 2017
@nofishonfriday
Copy link
Collaborator

@nofishonfriday nofishonfriday commented Mar 29, 2017

I'm assigning to this request.
No promises, but I have it basically working already. Will probably send a pull request for review to Tim soon.

nofishonfriday added a commit to nofishonfriday/sws that referenced this issue Mar 30, 2017
nofishonfriday added a commit to nofishonfriday/sws that referenced this issue Mar 30, 2017
nofishonfriday added a commit to nofishonfriday/sws that referenced this issue Mar 30, 2017
@X-Raym
Copy link
Contributor Author

@X-Raym X-Raym commented Apr 8, 2017

Added in v2.9.3 thanks to @nofishonfriday !

@X-Raym X-Raym closed this Apr 8, 2017
nofishonfriday added a commit to nofishonfriday/sws that referenced this issue Apr 19, 2017
nofishonfriday added a commit to nofishonfriday/sws that referenced this issue Jul 17, 2017
nofishonfriday added a commit to nofishonfriday/sws that referenced this issue Aug 23, 2017
Squashed commits:

[2afbbb4] reaper-oss#781 more precise ReaScript doc description
nofishonfriday added a commit to nofishonfriday/sws that referenced this issue Aug 25, 2017
(Changes to ReaScript RMS functions reverted, need more work)

Squashed commits:

[2afbbb4] reaper-oss#781 more precise ReaScript doc description
nofishonfriday added a commit to nofishonfriday/sws that referenced this issue Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.