Discern whether you are in a text field in Ableton Live?
Hi there,
I'm using Soundflow to create custom shortcuts in Ableton Live and it's working great so far! The one problem I'm hitting is not with Soundflow per say but more of a biproduct of having custom shortcuts in Ableton Live. For example I've converted Zoom In and Zoom Out in Live to 't' and 'r' and that works fine but when I come to type text in a text field, for example naming a track, I find I can't use 't' and 'r' as they are assigned to custom Soundflow shortcuts. I want to know if there's any work around for this? Is it possible for Soundflow to 'know it's in a text field' and if so not perform my custom shortcut in that instance? Basically I want the keyboard to function normally when I need to type text but perform my custom shortcuts at all other times.
If anyone has any ideas on this I'd love to hear them!
Thanks in advance!
- Chris Shaw @Chris_Shaw2021-02-23 20:35:28.187Z
I think the easiest workaround would be to use a key modifier along with R & T to zoom in and out (opt-r and opt-t for example) You'd have to pick a key combo that isn't used by Ableton so you don't lose any functionality.
In Pro Tools "cmd + [" and "cmd + ]" are used to zoom in and out. It's a pretty easy key combo to get used to. Maybe use that instead.
- GIn reply toGraham_Archer⬆:Graham Archer @Graham_Archer
Hey - thanks for the reply! Yeah I had thought of that but this issue proliferates through a lot of the shortcuts I want to implement, it's not just zooming. Think of moving most of the Pro Tools shortcuts so that they translate to Live (so I don't have to re-teach my fingers/brain! haha!). e.g. "p", "l", ";", "'" for navigation. "shift + s" for track solo, "shift + m" for track mute, "shift + r" for arm track etc. etc. etc. Once you arrange them in Soundflow you realise how many use 'normal text letters'. The shortcuts all seem to work great until you need to type some text or search the browser and then I'm pretty stuck! I guess I could have some kind of global all shortcuts on/off command but I was hoping for something more elegant.
Chris Shaw @Chris_Shaw2021-02-23 22:20:20.793Z
Yep. The ability to discern using letters for short cuts as opposed to typing is actually handled by PT itself when in keyboard focus mode. SoundFlow doesn't handle that at all.
Christian Scheuer @chrscheuer2021-02-24 10:16:30.704Z
Yes and no. SoundFlow actually has a semi-intelligent feature that understands if you're typing text or not in Pro Tools, and, if you are typing text, will ignore any single-key keyboard triggers you've assigned if you've set it up that way in SF.
Pro Tools has similar logic yes - but both programs have this logic for it to work.Chris Shaw @Chris_Shaw2021-02-24 12:53:35.699Z
Thanks for the clarification.
- In reply toGraham_Archer⬆:AAndrew Sherman @Andrew_Sherman
I'm also using various applications, and my plan is to develop a global set of shortcuts that are the same across all apps. So for Pro Tools, Ableton, Premiere, After Effects, etc, there are various timeline functions that are universal and I'm re-mapping shortcuts so that they behave the same way in different apps, regardless of what the default shortcut is. Now I know Ableton is not great the way it handles shortcuts, and I get the problem with track names, but it's good to know that there's somebody else with the same aim and I'm sure we'll figure out an elegant solution.
For apps that have commands available via menu click, it's much easier and we can effectively bypass the need to customise shortcuts in each app (just leaving them as default), and create new commands in Sondflow for each shortcut with a custom trigger that's specific to that application.
- GGraham Archer @Graham_Archer
Thanks everyone for replying. @chrscheuer is there any work around you can think of that would allow for this to happen in Ableton Live? Or do you think a global "shortcuts on/off" toggle is my best bet? If so, is there a way to globally enable/disable a bunch of scripts/Marcos in Soundflow?
Thanks in advance!
Christian Scheuer @chrscheuer2021-02-24 11:01:17.328Z
My best guess right now is that SF wouldn't get this kind of info from Ableton. We're relying on Pro Tools' great UI automation integration for this in PT, but Ableton doesn't have that.
The only global on/off switch we currently have in SF is to bypass all your keyboard shortcuts (default trigger is Ctrl+Esc). That's what I use in PT when for example typing comments which our current algorithm doesn't register.
- AAndrew Sherman @Andrew_Sherman
How can I assign that shortcut (bypass all shortcuts) if I'm not using the default triggers?
Christian Scheuer @chrscheuer2021-02-24 19:48:41.471Z
It's called SoundFlow Bypass in the SoundFlow System folder:
Christian Scheuer @chrscheuer2021-02-24 19:49:15.225Z
This is a special command, so the keyboard shortcut you assign to this will always work, even when bypassed (otherwise you wouldn't be able to un-bypass) :)
- AAndrew Sherman @Andrew_Sherman
Ok great, thanks. So it bypasses keyboard shortcuts, but Streamdeck remains active as far as I can see (not an issue, just noting it). Just out if interest is there a way of using a shortcut to temporarily disable Soundflow completely? Not that I could ever imagine a need to do such a terrible thing...
Christian Scheuer @chrscheuer2021-02-25 10:47:33.801Z
No, this is the only way to currently bypass. Our (beta) users reported that disabling the Stream Deck triggers would make no sense.
- In reply tochrscheuer⬆:GGraham Archer @Graham_Archer
Thanks @chrscheuer ! I'm using this as a workaround for the moment. I have no idea of what would be required to allow Soundflow to 'know' it's in a text field in Live but if it's possible to do then I think it would be a really useful feature. Maybe one for the ideas forum?
g
Christian Scheuer @chrscheuer2021-02-25 10:48:03.064Z
Always feel free to log ideas :)
- In reply toGraham_Archer⬆:AAndrew Sherman @Andrew_Sherman
Solo track and various other things are now available as menu items in Live 11, should make things a little easier
- GGraham Archer @Graham_Archer
Yes I agree, I'm just running the trial at the moment, although you need an if / else statement for "Solo Track" as once you have a track soloed the menu item changes to "Unsolo Track".
- GGraham Archer @Graham_Archer
Hi all,
As some time has elapsed since this post I just wondered if anything had changed on the UI side of Ableton 11 @chrscheuer to make this possible yet?
It just feels like the block that prevents Ableton from really being able to work in harmony with Soundflow (like Pro Tools does so well).
Thanks in advance.
Graham
- AAndrew Sherman @Andrew_Sherman
Hi Graham,
It looks like the functions in Live can be controlled in detail using the Live API. I haven't read up on it enough to see if it's maintained by Ableton or Cycling 74 (Max for Live), but it seems like there are all sorts of cool things that can be done; scripting necessary. It's also not clear if this runs on normal Ableton Live or if the full version with Max for Live is required. Maybe at some point in future the Soundflow team might incorporate more native Live functions. Given how popular Live is I would imagine that it should be on their radar; would certainly open up a new potential userbase.
https://docs.cycling74.com/max8/vignettes/jsliveapi
Sample code below (taken from this link) - untested.
var api = new LiveAPI(sample_callback, "live_set tracks 0") if (!api) { post("no api object\n") return } post("api.mode", api.mode ? "follows path" : "follows object", "\n") post("api.id is", api.id, "\n") post("api.path is", api.path, "\n") post("api.children are", api.children, "\n") post('api.getcount("devices")', api.getcount("devices"), "\n") api.property = "mute" post("api.property is", api.property, "\n") post("type of", api.property, "is", api.proptype, "\n") function sample_callback(args) { post("callback called with arguments:", args, "\n") }
Christian Scheuer @chrscheuer2021-12-08 15:08:33.644Z
Absolutely, it's definitely on our radar to make a SF integration with the Live API :) I can't say too much about timelines, but this is a high priority.
- GGraham Archer @Graham_Archer
Amazing stuff! That's great news to hear and thanks so much for letting us know Christian. I wish you all the very best with the SF integration, as and when you get to it.
g