|
|
|
07-28-2017, 11:06 AM
|
#41
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@Daniele
Please do not quote image in post, it make browser very unecessary slow on mobile ! --'
It doesn't work cause the script has a depency : as explained by the error message, it require aother file to run, but you only downloaded one.
That's why I advice you to use reapack. You will be able to download the scripts AND the depency. Just download from it. all my repo and it will be good.
|
|
|
07-28-2017, 11:10 AM
|
#42
|
Human being with feelings
Join Date: Aug 2015
Location: Florence, Italy
Posts: 463
|
Ok I find out that I had to install other packages to make it works.
Now it works, it seems to me that the points move only on an axis, it would be nice to be able to randomize the position over time as well (as for the midi notes in the piano roll with the humanize function).
Anyway great work!! Thank you for this!
|
|
|
07-28-2017, 11:12 AM
|
#43
|
Human being with feelings
Join Date: Aug 2015
Location: Florence, Italy
Posts: 463
|
Quote:
Originally Posted by X-Raym
@Daniele
Please do not quote image in post, it make browser very unecessary slow on mobile ! --'
It doesn't work cause the script has a depency : as explained by the error message, it require aother file to run, but you only downloaded one.
That's why I advice you to use reapack. You will be able to download the scripts AND the depency. Just download from it. all my repo and it will be good.
|
Yeah I used Reapack to install your script, I found there the other files I need.
Sorry for quoting the image, fixed now.
|
|
|
07-28-2017, 11:13 AM
|
#44
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@Daniele
X axis was a bit too subject to possible timing issue IMHO. :P
Forum Thread URI: http://forum.cockos.com/showpost.php...&postcount=284
It would have to be done very carefully.
|
|
|
07-28-2017, 11:23 AM
|
#45
|
Human being with feelings
Join Date: Aug 2015
Location: Florence, Italy
Posts: 463
|
Quote:
Originally Posted by X-Raym
|
Holy....
|
|
|
07-17-2018, 03:06 AM
|
#46
|
Human being with feelings
Join Date: Feb 2015
Location: Matosinhos, Portugal
Posts: 23
|
volume cap
Hey X-raym , first of all let me thank you for the work you've been doing scripting for the community.
You're the man!
Quick question.
When inserting a value on a volume envelope there's a cap on +6.
Is it easy to change the script to go higher?
|
|
|
07-19-2018, 02:10 PM
|
#47
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@input Studio
Hi ! Thanks for your words !
You are right, this limit is arbitrary.
As a temporary fix, you can mod this line https://github.com/X-Raym/REAPER-Rea...value.lua#L129
on your local version of the file via Action -> Edit.
Replace 6 by any value you want.
At some point, I should replace that with a way to handle the track envelopes true limit.
|
|
|
04-08-2019, 01:32 PM
|
#48
|
Human being with feelings
Join Date: Apr 2014
Posts: 234
|
Is it possible to make the absolute/relative value settable via toggle checkbox (that stays checked or unchecked from the last time set) rather than typing + in the value box?
|
|
|
04-08-2019, 02:35 PM
|
#49
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
I don't plan to modify this script, having one text field is way faster for typing IMHO.
But feel free to mot it to your own need !
|
|
|
05-27-2019, 12:20 AM
|
#50
|
Human being with feelings
Join Date: Apr 2014
Posts: 234
|
Actually this doesn't work properly with typing -value in the box, it just sets it to -inf. Is it broken with recent versions?
|
|
|
05-27-2019, 03:00 AM
|
#51
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Im still using these scripts without issues.
Maybe you have modded them ?
Else please tell what exact script has behavior, send screenshots and show the User Cobfig Area on the head of the script to see if something has been modified.
|
|
|
05-27-2019, 03:57 AM
|
#52
|
Human being with feelings
Join Date: Nov 2009
Posts: 187
|
Quote:
Originally Posted by StuhRAH
Actually this doesn't work properly with typing -value in the box, it just sets it to -inf. Is it broken with recent versions?
|
Everything is working here ...
++value
-+value
|
|
|
11-15-2019, 04:59 PM
|
#53
|
Human being with feelings
Join Date: Dec 2014
Posts: 597
|
Hi X-Raym,
Your script doesn't work with automation items, is it an issue ?
regards
|
|
|
11-15-2019, 05:24 PM
|
#54
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@daeavelwyn
Automations items werent there when I made this script. Not sure how it could handle that though, as it would first need to determine what is in focus etc...
I may take a look, but I rarely use automation items (though when I use them, it serves a great service).
|
|
|
11-17-2019, 01:02 PM
|
#55
|
Human being with feelings
Join Date: Dec 2014
Posts: 597
|
ok, so, do you know if there is a way to modify selected points value in a automation item ?
|
|
|
11-17-2019, 01:58 PM
|
#56
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@daeavelwyn
With user input window ? I can only see the right-click > Set point value but it only works with a single items.
I cannot find in the API where to set point value in automation items. :S
|
|
|
11-17-2019, 03:36 PM
|
#57
|
Human being with feelings
Join Date: Dec 2014
Posts: 597
|
Ok, nevermind, I just have to modify a bit my workflow and think of using your script before create automation item.
BTW thanks for all the efforts you make in craeting script for reaper users
|
|
|
11-18-2019, 10:56 AM
|
#58
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
Quote:
Originally Posted by X-Raym
I cannot find in the API where to set point value in automation items. :S
|
SetEnvelopePointEx().
(All the 'normal' envelope API functions got ..Ex additions which take AI index)
|
|
|
11-18-2019, 02:02 PM
|
#59
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@nofish
Oh I see,
so the script would need to first process underlying envelopes,
and then a second pass on all automation items of track with CountEnvelopePointsEx on all selected automation items to see if something is selected their.
A bit more maintenance that I would like to dedicate for now but I keep the idea in mind.
|
|
|
01-07-2020, 08:58 AM
|
#60
|
Human being with feelings
Join Date: Nov 2019
Posts: 225
|
Hey X-Raym, thank you so much for your scripts!
Donation sent
Today I found out it doesn't work for tempo envelopes though... Is there something planned, or wont this happen?
|
|
|
01-07-2020, 09:16 AM
|
#61
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Quote:
Today I found out it doesn't work for tempo envelopes though... Is there something planned, or wont this happen?
|
Many thx, every support matters !
I haven't planed it yet, tempo envelope points is a bit more complex as it is not stricto senso a point but a marker as far as I remember,
I may take a look at some point but for now I have have high priority scripts to finish :P
|
|
|
01-07-2020, 10:31 AM
|
#62
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@Eraz
4 years since last update, I bring Tempo map support :P
Note that I had a Script: X-Raym_Set selected tempo envelope points value.lua script that I just remember :P
But it is surely obsolete now.
|
|
|
01-07-2020, 11:29 AM
|
#63
|
Human being with feelings
Join Date: Nov 2019
Posts: 225
|
Quote:
Originally Posted by X-Raym
@Eraz
4 years since last update, I bring Tempo map support :P
Note that I had a Script: X-Raym_Set selected tempo envelope points value.lua script that I just remember :P
But it is surely obsolete now.
|
Woah, wasn't expecting that.
#mademyday
Thank you sir!
|
|
|
10-05-2020, 08:07 AM
|
#64
|
Human being with feelings
Join Date: Jun 2006
Posts: 187
|
Hi all! The script doesn't seems to work as i understand it should work.
Basically i'm trying to add a segment on Volume Envelope on all selected tracks in time selection and then offset the selected points of all selected tracks by a given amount. So i did a kinda "quirky" custom action that goes like this (see notes below for some explanations)
***** Custom action begin here *****
Envelope: Hide all envelopes for tracks (1)
Script: amagalma_Toggle volume envelope visibility for selected tracks or items depending on mouse position or last context.lua (1)
SWS/BR: Insert 2 envelope points at time selection yo all visible track envelopes in selected tracks
Time selection: Nudge left edge left
Time selection: Nudge left edge left
Time selection: Nudge right edge right
Time selection: Nudge right edge right
SWS/BR: Insert 2 envelope points at time selection yo all visible track envelopes in selected tracks
Time selection: Nudge left edge right
Time selection: Nudge right edge left
SWS/S&M: Arm all active envelopes for selected tracks (2)
Script: X-Raym_Select envelope points in visible armed envelope of selected tracks.lua
***** Custom Action End *****
Then i try the script
Script: X-Raym_Set or Offset envelope points value
But it does not work on all selected tracks and doesn't work at all unless i explicitly select an Envelope.
Any help? Thanks!
Notes
(1) I need this to make sure that only the Volume Envelopes are affected.
(2) Without this the Envelopes are Disarmed (i don't know why) so the last "Script: X-Raym_Select envelope points in visible armed envelope of selected tracks.lua" wouldn't work
BTW its probably time for me to dive into Reaper script because all stuff "across tracks" is really lacking in Reaper
|
|
|
10-05-2020, 08:30 AM
|
#65
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Quote:
Script: X-Raym_Select envelope points in visible armed envelope of selected tracks.lu
|
This should work on selected envelope OR ELSE on selected tracks armed active envelope, in point in tIie selection OR ELSE in the whole track.
I haven't check if it still works as expected but it should.
|
|
|
10-05-2020, 09:14 AM
|
#66
|
Human being with feelings
Join Date: Jun 2006
Posts: 187
|
Quote:
Originally Posted by X-Raym
This should work on selected envelope OR ELSE on selected tracks armed active envelope, in point in tIie selection OR ELSE in the whole track.
I haven't check if it still works as expected but it should.
|
As you can see nothing happens to the selected points in the envelopes of the two selected tracks
https://imgur.com/a/eGs1MQW
|
|
|
10-05-2020, 09:59 AM
|
#67
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@lalo
These are not armed tracks envelope.
|
|
|
10-05-2020, 10:47 AM
|
#68
|
Human being with feelings
Join Date: Jun 2006
Posts: 187
|
Quote:
Originally Posted by X-Raym
@lalo
These are not armed tracks envelope.
|
oops sorry, wrong video.
BTW it does the same if they are armed
|
|
|
10-05-2020, 04:47 PM
|
#69
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
no issue on my side . Be sure ebnveloep are active, armed, and that there is no other selected envelope etc..
|
|
|
03-15-2021, 07:46 PM
|
#70
|
Human being with feelings
Join Date: Sep 2015
Posts: 45
|
Quote:
Originally Posted by X-Raym
@nofish
Oh I see,
so the script would need to first process underlying envelopes,
and then a second pass on all automation items of track with CountEnvelopePointsEx on all selected automation items to see if something is selected their.
A bit more maintenance that I would like to dedicate for now but I keep the idea in mind.
|
Hi X-Raym!
Could you please add automation items support?
And maybe this, if it's not a big effort:
Quote:
Originally Posted by Gianfini
Dunno if this thread can be revived or not... just trying
The script set offset selected point... is not properly working because if you try it on Plugin params (such as gain in ReaEQ or any other) it accepts numbers from 0 to 100 being the min and max value for that parameter. So you cannot put for example the exact DB value (or offset DB) for the gain parameter.
While the normal Reaper SET POINT VALUE works allowing to put values in the parameter unit (db gain in this case)
Could someone script able have a look?
g
|
Quote:
Originally Posted by X-Raym
Maybe something could be done with
Code:
retval, buf reaper.TrackFX_FormatParamValueNormalized( track, fx, param, value, buf )
.
Also this can help : Get fx name/fx id & parametr number from selected envelope? - Cockos Incorporated Forums.
Meanwhile, take a look at me2beat Edit selected envelope point script (it used the native window, but do not have offset capabilities, only set, and only works on only 1 point)..
Also, have you bump the original FR ?
Traduire
|
Thank you very much for your great work!
Best regards,
Dan
|
|
|
03-16-2021, 07:48 AM
|
#71
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
@daniboyle
Breeder has made a bunch of scripts working with automation items, maybe it fits your needs?
https://forum.cockos.com/showthread.php?t=221082
|
|
|
03-16-2021, 11:26 AM
|
#72
|
Human being with feelings
Join Date: Sep 2015
Posts: 45
|
Thanks, will check it out.
Last edited by daniboyle; 03-16-2021 at 11:35 AM.
|
|
|
03-20-2021, 11:26 AM
|
#73
|
Human being with feelings
Join Date: Aug 2020
Posts: 32
|
Quote:
Originally Posted by nofish
|
Unfornately, his scripts don't include what we are searching for.
X-raym's script works for volume and other envelopes, but not for automations' envelopes.
If anyone could help us...
|
|
|
03-21-2021, 03:01 AM
|
#74
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
I'm taking a look but it isnt straightforward especially for old code base like this one.
|
|
|
03-22-2021, 07:02 AM
|
#75
|
Human being with feelings
Join Date: Aug 2020
Posts: 32
|
Quote:
Originally Posted by X-Raym
I'm taking a look but it isnt straightforward especially for old code base like this one.
|
Thanks, and hope you can fix it.
I'm also a coder, but I've never approached Reaper scripts code and co.
|
|
|
03-22-2021, 02:36 PM
|
#76
|
Human being with feelings
Join Date: Sep 2015
Posts: 45
|
Thank you!
|
|
|
03-23-2021, 09:49 AM
|
#77
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Code:
* v2.0 (2020-03-23)
+ new core
+ Automation items support
+ Save/restore last input
+ preset file support
So I had to rewrite the entire script from scratch to make this happen. The new code base is way more efficient with less redundancy etc.
I hope I didn't break anything on the way, but report if I did.
Any support via donation will be very appreciated
|
|
|
03-23-2021, 01:59 PM
|
#78
|
Human being with feelings
Join Date: Sep 2015
Posts: 45
|
Thank you very much! No problem detected yet, just a small addition for Trim Envelope support:
Code:
env_width_db_scale["Trim Volume"] = true
And -inf support + comma support:
Code:
retval, input = reaper.GetUserInputs("Set or Offset Selected Points Values", 1, "Value? (num, " .. mod2_prefix .." for " .. other_mod[mod1] .. ")", input) -- We suppose that the user know the scale he want
if input == "-inf" then input = "-151" end
input = input:gsub(',','.')
(And it's v2.0 (202 1-03-23))
It seems the script now respects the volume envelope range set in preferences as well
Great work, donation sent!
Last edited by daniboyle; 03-23-2021 at 03:09 PM.
|
|
|
03-23-2021, 02:59 PM
|
#79
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@daniboyle
Oh, nice you found your ways arround my code, so this means that it is better than the previous version :P
I took some of your proposition, modified a bit, and added few things
Code:
* v2.0.1 (2021-03-23)
# Trim envelope support. Thx @daniboyle!
+ -inf, min, max keywords
+ comma decimal support
Thanks for your support
PS: March 2021 is basically like march 2020 :P
|
|
|
03-23-2021, 03:10 PM
|
#80
|
Human being with feelings
Join Date: Sep 2015
Posts: 45
|
Thx again!
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 08:00 AM.
|