Live set location
Oct 23 2020 | 12:31 pm
How can I report the location of my live set?
- Oct 24 2020 | 9:59 ama mobile with GPS and blutooth? :)
- Oct 24 2020 | 10:01 amnot sure if the file path really is part of the song somehow, the SONG section mentions paths but i am not sure what that means. https://docs.cycling74.com/max5/refpages/m4l-ref/m4l_live_object_model.html
- Oct 24 2020 | 11:24 amThe root path of a song is 'live_set'. From there you can navigate within the song but not anything outside like the file path.
- Oct 24 2020 | 11:28 amthis question has been asked many times here, no one seem to know how to useget_document Returns: the current live set.ha, ha, happy not to be live user...
- Oct 24 2020 | 1:54 pm'get_document' just allows to access the current live set from the application root path 'live_app' instead of using the path 'live_set' directly.
- Oct 24 2020 | 2:19 pmIn other words there is no way to ask live for the name and path of loaded project in order to for example load stuff like samples or picts into m4l device ?
- Oct 24 2020 | 4:21 pmdid you notice how it said "canonical path" in the reference. it should be followed by an apology explanation.
- Oct 24 2020 | 6:09 pmThe term "canonical path" is explained in the Live API overview chapter.
- Oct 24 2020 | 6:29 pmit is something which is extremly useful when you are on an operating system which forces you to install live under /user, and you wish to find out about the relation between the live set and an arbitrary file on a higher level or another disk. ^^
- Oct 25 2020 | 9:02 amThat is a joke - about not being able to retrieve OS infos ? vanilla max objects like gestalt, not to mention use of shell, node.js and other 3rd party externals able to talk to world outside of Live's little sandbox. also path to thispatcher to get the absolute path to it's location, and all messages to max seem to work
- Oct 25 2020 | 3:21 pmmaybe me and the OP are wrong about that, but it could easily be that it is not so easy to get the live project files´ real path in order to find a subfolder beside it or whatever he wants to do.if it is the case, one is probably best advised to ignore my stupid jokes - and possible workarounds involving java or shell, too - but instead change your own strategy how and where you store your files on disk. i am working with a lot of different programs and i never had the need to know where the application is. well, except for max/msp. but i know that the max to max is ":", i dont need to get it programmatically. :D