08-15-2018, 03:41 AM | #1 |
Human being with feelings
Join Date: May 2006
Location: Surrey, UK
Posts: 19,681
|
Q: how to change a Marker name?
I am trying to change the name of an existing Marker from an OSCII-bot script
I have the following code snippets: in the ReaperOSC file: MARKER_NAME s/marker/@/name in the script @ init: reaper_marker_name = "s/marker/%s/name"; //MARKER_NAME in the script @midimsg: oscsend(OSC_to_REAPER, reaper_marker_name, "NEW NAME", "1"); // = "s/marker/%s/name"; //MARKER_NAME The OSC Logger shows that this message is sent to Reaper: /marker/1/name Value: NEW NAME but the marker name does not change. I tried it with a marker name of "M1" (as that is how it appears in the Region/ Marker Manager) but no success. What have I missed? PS It did not work with the equivalent lines for renaming a track either.
__________________
DarkStar ... interesting, if true. . . . Inspired by ... |
08-21-2018, 09:33 AM | #2 |
Human being with feelings
Join Date: Feb 2016
Posts: 189
|
This thread may be helpful for how MARKER_NAME should work especially from post #19 onwards.
https://forum.cockos.com/showthread.php?t=132785 Is DEVICE_MARKER_COUNT > 0 ie changed from default? Last edited by goldenarpharazon; 08-21-2018 at 09:43 AM. |
08-24-2018, 02:46 AM | #3 |
Human being with feelings
Join Date: May 2006
Location: Surrey, UK
Posts: 19,681
|
Thank you. I'll have a look at that thread.
I did have "DEVICE_MARKER_COUNT 1" specified. From the linked thread it seems that that variable is not really a count but it specifies the highest marker number that can be used.
__________________
DarkStar ... interesting, if true. . . . Inspired by ... Last edited by DarkStar; 08-24-2018 at 02:55 AM. |
Thread Tools | |
Display Modes | |
|
|