Old 09-22-2018, 06:14 AM   #1
Desty Nova
Human being with feelings
 
Desty Nova's Avatar
 
Join Date: Apr 2016
Location: Zalem
Posts: 200
Default Custom ME timelines button

Hey guys,

I have 0 script skills so I'd like to ask anybody's help.

I would like to make a toggle button in the ME that would allows to link the timelines, so to switch from "Project synced" to "Project beats" to be able with a simple button to choose whenever you want to follow the Arranger view in the ME or not. A bit like a la Cubase (in fact I don't know if it's specific to Cubase or if every DAWs have this function). Does it sounds like you would like this too?

Thanks for any help
Desty Nova is offline   Reply With Quote
Old 09-22-2018, 07:32 AM   #2
SergeiSobchenko
Human being with feelings
 
Join Date: Feb 2018
Location: Ukraine
Posts: 196
Default

Quote:
Originally Posted by Desty Nova View Post
I have 0 script skills so I'd like to ask anybody's help.

I would like to make a toggle button in the ME that would allows to link the timelines, so to switch from "Project synced" to "Project beats" to be able with a simple button to choose whenever you want to follow the Arranger view in the ME or not.
Check this Action:
Timebase: Toggle sync to arrange view

It switches from Timebase: Time (project) to Timebase: Sync to arrange view

Is that what you want? If not, I think you can use Cycle Action editor. No scripting needed.
SergeiSobchenko is offline   Reply With Quote
Old 09-22-2018, 12:05 PM   #3
Desty Nova
Human being with feelings
 
Desty Nova's Avatar
 
Join Date: Apr 2016
Location: Zalem
Posts: 200
Default

Quote:
Originally Posted by SergeiSobchenko View Post
Check this Action:
Timebase: Toggle sync to arrange view

It switches from Timebase: Time (project) to Timebase: Sync to arrange view

Is that what you want? If not, I think you can use Cycle Action editor. No scripting needed.
Thanks Sergei! That's great!
But is it possible to turn back to Beat (project) instead of Time when not in Project synced, with the toggle button??
Desty Nova is offline   Reply With Quote
Old 09-22-2018, 02:48 PM   #4
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

Create this cycle action and enable the toggle on the left side!

__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is online now   Reply With Quote
Old 09-23-2018, 03:18 AM   #5
Desty Nova
Human being with feelings
 
Desty Nova's Avatar
 
Join Date: Apr 2016
Location: Zalem
Posts: 200
Default

[QUOTE=_Stevie_;2037885]Create this cycle action and enable the toggle on the left side!


Thanks for the help stevie but I am affraid that this is not working the way I want to use it but please correct me if I am wrong, Cycle actions is tottaly new to me.

So I'd like to make a toggle button in the Midi Editor (Piano roll timebase) to switch between "Project beats" to "Project synced" and viceversa.
The way Sergei explained with action is almost this except that instead of switching from "Project beats" to "Project synced" it switch from "Project time" to "Project synced"

I've made an attempt and tried this, but when I click on the toggle button it stays in the "Project beats" state ??
Attached Images
File Type: jpg togtime.JPG (21.0 KB, 161 views)
Desty Nova is offline   Reply With Quote
Old 09-25-2018, 01:13 PM   #6
Desty Nova
Human being with feelings
 
Desty Nova's Avatar
 
Join Date: Apr 2016
Location: Zalem
Posts: 200
Default

Any new suggestions ?
Desty Nova is offline   Reply With Quote
Old 09-25-2018, 01:56 PM   #7
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

Sorry, haven't forgotten you. I will look into it again. Shouldn't be too complicated.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is online now   Reply With Quote
Old 09-27-2018, 12:26 PM   #8
Desty Nova
Human being with feelings
 
Desty Nova's Avatar
 
Join Date: Apr 2016
Location: Zalem
Posts: 200
Default

Quote:
Originally Posted by _Stevie_ View Post
Sorry, haven't forgotten you. I will look into it again. Shouldn't be too complicated.
Ok, thanks a lot! Let me know
Desty Nova is offline   Reply With Quote
Old 09-27-2018, 02:47 PM   #9
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

Okay, here you go, this should do it.
You forgot to put a command AFTER the condition where it says: "if the next action is ON"


__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is online now   Reply With Quote
Old 09-28-2018, 04:27 AM   #10
Desty Nova
Human being with feelings
 
Desty Nova's Avatar
 
Join Date: Apr 2016
Location: Zalem
Posts: 200
Default

[QUOTE=_Stevie_;2039477]Okay, here you go, this should do it.
You forgot to put a command AFTER the condition where it says: "if the next action is ON"

Yesss! Thanks a lot Stevie!!!

I think I understand now:
------------
If (the toggle button is On):
the Action "Timebase: synced to arranger view" is off
the Action "Timebase: Beats (project) is on

esle (the toggle button is On):
the Action "Timebase: synced to arranger view" is off
------------
I that logical ?
Desty Nova is offline   Reply With Quote
Old 09-29-2018, 08:42 AM   #11
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

carefull: esle is not else
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 09-29-2018, 09:49 AM   #12
Desty Nova
Human being with feelings
 
Desty Nova's Avatar
 
Join Date: Apr 2016
Location: Zalem
Posts: 200
Default

Quote:
Originally Posted by hopi View Post
carefull: esle is not else
Sure you're right, it was a typo
Desty Nova is offline   Reply With Quote
Old 09-30-2018, 05:43 AM   #13
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Quote:
Originally Posted by Desty Nova View Post
------------
If (the toggle button is On):
the Action "Timebase: synced to arranger view" is off
the Action "Timebase: Beats (project) is on

esle (the toggle button is On):
the Action "Timebase: synced to arranger view" is off
------------
I that logical ?
It goes like this:

IF (if the next action is ON):
"Timebase: synced to arranger view" <- if this action is ON, IOW timebase is currently synced to arranger view
"Timebase: Beats (project)" <- do this action, changing to Timebase: Beats

ELSE (if the first action is OFF):
"Timebase: synced to arranger view" <- do this action
xpander is offline   Reply With Quote
Old 09-30-2018, 11:51 PM   #14
Desty Nova
Human being with feelings
 
Desty Nova's Avatar
 
Join Date: Apr 2016
Location: Zalem
Posts: 200
Default

Quote:
Originally Posted by xpander View Post
It goes like this:

IF (if the next action is ON):
"Timebase: synced to arranger view" <- if this action is ON, IOW timebase is currently synced to arranger view
"Timebase: Beats (project)" <- do this action, changing to Timebase: Beats

ELSE (if the first action is OFF):
"Timebase: synced to arranger view" <- do this action
Crystal clear, thanks xpander for the explanation
And thanks everybody for the help

Last edited by Desty Nova; 09-30-2018 at 11:58 PM.
Desty Nova is offline   Reply With Quote
Old 10-07-2018, 07:52 AM   #15
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

You are welcome! And you know what is crazy...? In this very moment, I wanted to solve this as well, without knowing, that this custom action does exactly that!
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is online now   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:53 AM.


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