|
|
|
01-21-2017, 04:14 PM
|
#41
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Well thats up to Lokasenna... and how much will I annoy him . Yeah its already available on ReaPack (Lokasenna Radial Menu)
important info, this code and features I'm adding / showing here are not in main version,but I hope some of them will be incorporated in main version
btw I think it's better to have setup activated on right hold,so right click will would be free for "back" (return to main menu). So you can single activate on key release and multi activate (for example add markers while playing,record punch in or out,change peaks on fly etc) on left click and if you want to go back to main menu you click in middle or right click
Last edited by Sexan; 01-21-2017 at 04:47 PM.
|
|
|
01-22-2017, 05:19 AM
|
#42
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
See content of menus (without entering them, for easier searchin)
|
|
|
01-22-2017, 08:31 AM
|
#43
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
well context was pretty easy to do, few more txt files :
|
|
|
01-22-2017, 08:42 AM
|
#44
|
Human being with feelings
Join Date: Nov 2015
Location: Germany
Posts: 1,015
|
THIS^^^^ is brilliant!
|
|
|
01-22-2017, 10:59 AM
|
#45
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Number of menus is unlimited (there are 8 in them just as example), but this works little differnent than toolbars, you need to hold the button in order for radial menu to stay open.But this will be a "little" advanced than standard menu like this type of voodoo:
mouse wheel volumeing
The main reason for this menu is to reduce number of shortcuts, and less movement on the screen ,cut this,lower volume of that,open something,toggle something...(at least for me)
|
|
|
01-22-2017, 11:02 AM
|
#46
|
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
|
Quote:
Originally Posted by Sexan
well context was pretty easy to do, few more txt files :
|
Good tease .
|
|
|
01-22-2017, 11:28 AM
|
#47
|
Human being with feelings
Join Date: Mar 2016
Posts: 117
|
Great Tool !
|
|
|
01-22-2017, 11:53 AM
|
#48
|
Human being with feelings
Join Date: Mar 2016
Posts: 117
|
Quote:
Originally Posted by TonE
Can not the lua window bar height set to zero?
Can not the black background set to transparent?
|
indeed. I want to search way of transparent. but I have no idea.
Quote:
Originally Posted by TonE
カワをマスターする大きな敬意
|
カワマスターって面白い日本語でした。ありがとう、そんなに気にしなくて大丈夫w
Thank you, all right not to care so much
|
|
|
01-22-2017, 12:03 PM
|
#49
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
Quote:
Originally Posted by TonE
Can not the lua window bar height set to zero?
|
http://forum.cockos.com/showthread.php?t=184941
edit:
Sorry, reading that thread again I think it's a request, not a way to do it as I initially thought.
Last edited by nofish; 01-22-2017 at 12:09 PM.
|
|
|
01-22-2017, 12:11 PM
|
#50
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Transparent window is something that would be awesome if devs can implement (also frameless),that way this script would be even more advanced (now is limited by window size so expanding menus cannot be done unless the window size is much bigger,but that way the script would take a half of screen.
@TonE regarding mouse wheel it will be configurable (I'm just testing stuff) also I'm sure you can't do it at any position of the screen (with mouse),the purpose of this is to be fast and less shortcuts and more focus.Something else is in the plan also but latter on. This is something I really want, do anything at any postition of the screen without going back and forward with mouse and dual monitors, if I'm editing and need to change something like volume/pan/send and other stuff I want to do it on spot.
btw what is "vimper" ?
Last edited by Sexan; 01-22-2017 at 12:19 PM.
|
|
|
01-22-2017, 12:50 PM
|
#51
|
Human being with feelings
Join Date: Jan 2014
Location: Norway
Posts: 140
|
This is awesome.
I wonder if it could work as a kind of "Circle of Fifths" radial menu in the Piano Roll.
|
|
|
01-22-2017, 01:07 PM
|
#52
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
Just so everyone knows, there probably won't be any updates to this for a little while - in order to accomodate all the neat things Sexan keeps thinking of, I need to rebuild the script to use some of my existing graphics code (see my Chord Helper script).
Currently we're planning to add:
- Choose individual menu background and button colors.
- Choose different-shaped buttons, either per context or per menu.
- Context-sensitive, so it can open a different menu if your mouse is over the arrange area vs track panel vs MIDI editor, etc.
- Options to automatically perform the highlighted action when you let off the mouse, and/or to not make you hold down a key; the window would stay open until you closed it, maybe.
(I'm sure there's other stuff that I can't remember at the moment)
"Setup Mode" will be a separate action, since it's going to need a much bigger window, which means we could also look at right-click options for the menus. Maybe a few extras too like Sexan's volume fader demo above, or using the free space at the sides of the window for volume/pan sliders... we'll see.
Re: window transparency and not having a title bar, the script API can't do this at the moment. Maybe some day...
|
|
|
01-22-2017, 01:10 PM
|
#53
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Wooha, great, many thanks for further developing this Lokasenna !
|
|
|
01-22-2017, 01:22 PM
|
#54
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Quote:
Originally Posted by TonE
Sexan, try this:
Custom: VOLUME UP
Track: Select track under mouse
Track: Nudge track volume up
Custom: VOLUME DOWN
Track: Select track under mouse
Track: Nudge track volume down
Then assign to jogwheel, with repetitive sending of triggers per second. ShuttleXpress has a nice driver for Windows, for Linux not yet, this is the only missing part (repetitive sending of triggers). So for now not same fun in Linux as in Windows.
Using above, you can mix directly from arrange just by doing mouseover, then jogwheeling with left hand. Works also in mixer, anywhere where track selection is possible. My favourite style for mixing. Does not even require radial menu.
vimper, https://github.com/ggVGc/vimper
|
But then I can't use zoom with mouse wheel ?
|
|
|
01-22-2017, 01:45 PM
|
#55
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
oh sorry I've did not see jogwheel
|
|
|
01-23-2017, 05:36 PM
|
#56
|
Human being with feelings
Join Date: Aug 2011
Location: Near a big lake
Posts: 3,943
|
Sweet! I look forward to the next version!
|
|
|
01-24-2017, 03:48 PM
|
#57
|
Human being with feelings
Join Date: Sep 2016
Location: Toronto
Posts: 744
|
This looks awesome! Would be great to be able to use icons, for those of us who never learned how to read.
|
|
|
01-24-2017, 04:04 PM
|
#58
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
Images are a lot more complicated than drawing shapes/text, so don't expect that in the near future.
|
|
|
01-24-2017, 04:18 PM
|
#59
|
Human being with feelings
Join Date: Sep 2016
Location: Toronto
Posts: 744
|
No worries! I guess I'll finally have to learn how to read.
|
|
|
01-26-2017, 01:27 AM
|
#60
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
hmm..... I find this useful for myself ,I know it can changed it in theme configuration,but as addition maybe ?. Any thoughts?
Last edited by Sexan; 01-26-2017 at 06:20 AM.
|
|
|
01-26-2017, 02:26 AM
|
#61
|
Human being with feelings
Join Date: Dec 2016
Posts: 373
|
Interesting to watch where this is going...
It's an amazing addition to Reaper. DAW's should make our lives easier, and this feature certainly does that. Very innovative. If I was a Reaper dev, I would implement something similar as a standard feature. It's also great for Live performance.
|
|
|
01-26-2017, 02:47 AM
|
#62
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Quote:
Originally Posted by Flaneurette
Interesting to watch where this is going...
It's an amazing addition to Reaper. DAW's should make our lives easier, and this feature certainly does that. Very innovative. If I was a Reaper dev, I would implement something similar as a standard feature. It's also great for Live performance.
|
If you mean feature in this gif above,it can be done in theme configuration,but I want to test it with some contextial editing. Still trying out ideas (maybe this above is unnecessary ??)
|
|
|
01-26-2017, 03:42 AM
|
#63
|
Human being with feelings
Join Date: Dec 2014
Posts: 417
|
Thank you Lokasenna & Sexan, this script is absolutely amazing!
A couple of suggestions if possible?
1) Automatic opening of submenus and/or triggering of actions if mouse hovers over menu/action for 'x' amount of milliseconds.
2) A way to keep submenus open, even after an action button is clicked on, perhaps a key command or single click middle mouse button?
Cheers!
|
|
|
01-26-2017, 03:50 AM
|
#64
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
2. Is possible (will be in final release,in my scrip I've disabled that code)
1. Is little problematic because of the window size (it would need to bigger for that but then script would take big part of the screen). This would be sorted out if we have transparent window, but currently its not implemented in Reaper (hope devs will add it at some point)
EDIT:
regarding 1. sorry I've wrongly read that part (I thought you want sub menu to expand).It should be possible
Last edited by Sexan; 01-26-2017 at 04:31 AM.
|
|
|
01-26-2017, 04:00 AM
|
#65
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
but for now if you want that click behavior then find this part at the bottom of the script and remove the line that I've noted (after "reaper.Main_OnCommand(act, 0)"
Code:
-- Msg("cur_depth = "..tostring(cur_depth).."mnu_clicked = "..tostring(mnu_clicked)
local act = mnu_arr[cur_depth][mnu_clicked].act
if act == "" then
--Msg("no action")
last_depth = 0
cur_depth = 0
elseif string.sub(act, 1, 4) == "menu" then
last_depth = cur_depth
cur_depth = tonumber(string.sub(act, 5))
if not mnu_arr[cur_depth] then
init_menu(cur_depth)
end
--Msg("moving to menu "..cur_depth)
else
--Msg("attempting action "..act)
reaper.Main_OnCommand(act, 0)
cur_depth = 0 ------------------ REMOVE THIS LINE
end
|
|
|
01-26-2017, 04:30 AM
|
#66
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
@NextLevel FR1: this? it opens menu after 500ms
(btw I'm doing something with gui that why menu name dissapears)
|
|
|
01-26-2017, 04:39 AM
|
#67
|
Human being with feelings
Join Date: Dec 2014
Posts: 417
|
Quote:
Originally Posted by Sexan
@NextLevel FR1: this? it opens menu after 500ms
|
Yes
|
|
|
01-26-2017, 04:41 AM
|
#68
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Quote:
Originally Posted by NextLevel
Yes
|
Cool idea btw
|
|
|
01-26-2017, 05:08 AM
|
#69
|
Human being with feelings
Join Date: Dec 2014
Posts: 417
|
Quote:
Originally Posted by Sexan
Cool idea btw
|
Thanx, oh.. I commented out that line like you suggested and it works great!
This is so cool, I've populated a menu with SWS/S&M Resource slot actions for triggering wav files, and what I really like is that when an action is a "toggle" type the menu item stays lit a different color, yay!
|
|
|
01-26-2017, 05:30 AM
|
#70
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Auto open menu
@NextLevel add this after line : 486
Code:
if mnu_clicked ~= -1 and string.sub(mnu_arr[cur_depth][mnu_clicked].act, 1, 4) == "menu" then
if not delay then
delay = reaper.time_precise()
elseif reaper.time_precise() - delay > 0.5 then -- delay time for activate
last_depth = cur_depth
cur_depth = mnu_clicked+1
delay = nil
end
end
oh and I've almost forgot... change the first line in this section at the end : (line 648)
Code:
if mnu_clicked ~= last_mnu_clicked then
draw_mnu()
last_mnu_clicked = mnu_clicked
end
to
Code:
if mnu_clicked ~= last_mnu_clicked or cur_depth ~= last_depth then
Last edited by Sexan; 01-26-2017 at 05:48 AM.
|
|
|
01-26-2017, 06:41 AM
|
#71
|
Human being with feelings
Join Date: Dec 2014
Posts: 417
|
Thanx Sexan, works pretty good.
|
|
|
01-27-2017, 01:53 AM
|
#72
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
I think this is little better preview of submenu content :
|
|
|
01-27-2017, 05:30 AM
|
#73
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
yes ? no ? maybe?
|
|
|
01-27-2017, 06:41 AM
|
#74
|
Human being with feelings
Join Date: Dec 2014
Posts: 417
|
Quote:
Originally Posted by Sexan
yes ? no ? maybe?
|
hmm, maybe? Post it so we can give it a try.
It does look really cool!
|
|
|
01-27-2017, 07:36 AM
|
#75
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
This is my always in WIP script so maybe it will crash here and there do maybe weird stuff etc , so its just for testing.
https://stash.reaper.fm/29634/wip.lua
Activating commands in preview circle is on key release! (does not work with click)
BTW backup your txt file of the script before using this one so you don't lose your confiuration! it is called "Lokasenna_Radial Menu.txt" in your script folder
Anyway not sure about this activating part of the preview circle (little space and you need to be precise in it),but for center button I think it would be cool because you do not need to enter its menu (if you have one) just go left right up down (currently center button has no preview menu)
Last edited by Sexan; 01-27-2017 at 07:47 AM.
|
|
|
01-27-2017, 08:47 AM
|
#76
|
Human being with feelings
Join Date: Dec 2014
Posts: 417
|
Lovin' it!
One question, possible for sub-menu that also has a sub-menu to have its items appear in preview circle?
|
|
|
01-27-2017, 09:23 AM
|
#77
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Its possible. Never tried creating submemu in submemu...does it work? (Not at computer)
|
|
|
01-27-2017, 09:25 AM
|
#78
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
A submenu is literally just saying "open this menu number", so it would certainly be possible.
|
|
|
01-27-2017, 09:30 AM
|
#79
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
But would it confuse the the drawing part of code with other menus? For example we are in sub menu 2 and there is menu again in it,the code to run menu is curent mouse over + 1.So what would open? Would it clash with other menus?
EDIT:
ok tested it.its ok until the number does not clash with other menus
EDIT2: sorry my bad, the code is different (+1 is something else) ,it finds number in the "menu x"
Last edited by Sexan; 01-27-2017 at 09:49 AM.
|
|
|
01-29-2017, 09:27 AM
|
#80
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
Lookie lookie what I've done
activate and open sub menu at mouse position (mouse gestures sort of). Btw actions in menus activate when I release the key (they are not based on any threshold,menus are based on threshold)
Last edited by Sexan; 01-29-2017 at 10:17 AM.
|
|
|
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 05:59 PM.
|