01-09-2018, 08:09 PM | #41 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Ah, that explains it. I just tried it, 29.97DF does not work here.
But no hurries, take your time!
__________________
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 |
01-10-2018, 10:12 AM | #42 |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Fixed bug in drop down. Now should give correct values. 29.97DF not supported yet but 29.97ND should work. Refresh reapack.
|
01-10-2018, 10:48 AM | #43 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Dude, this works amazingly! :O
The only issue I could spot: when holding down "Move edit cursor forward one beat", the edit cursor starts to "dance" and to skip forward and backwards very fast. Not sure, if this can be fixed. Apparently, there is too much data coming in for the script?
__________________
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 |
01-10-2018, 10:51 AM | #44 | |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Quote:
However there may be a bug if it is sending between frames. If you stick a midi monitor on the other end and zoom right in so a frame is really long, does it send in between? EDIT: I just put a sysex monitor on the output and it definitely only sends when crossing a frame boundary, not inbetween. When I used the action "forward one beat" it only sends one message per action. Last edited by mrlimbic; 01-10-2018 at 11:11 AM. |
|
01-10-2018, 11:18 AM | #45 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Apparently, the Nuendo MIDI Monitor does not catch all events. I installed an external MIDI Monitor. Does this help you in any way?
Sorry for the huge GIF, but I had to capture Nuendo and the MIDI Monitor: When you see the cursor stop in Nuendo, then I pressed stop in Reaper as well, but you can see, that there are still SysEx messages coming in. Pressing several times play/pause fixes this.
__________________
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 |
01-10-2018, 11:24 AM | #46 | |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Quote:
The issue with pause is that both MTC and MMC will fire at same time confusing the receiving app. With start/stop only then it should switch between MTC & MMC appropriately. |
|
01-10-2018, 11:37 AM | #47 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Actually, these problems accur when not even pressing play at all.
It's only bar back and forward. But in the following video you can see, that play/pause does not really cause an issue here, not sure why. It also shows the back/forward issue. Not even the stop button can reset it. I have to press play and then stop or pause.
__________________
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 |
01-10-2018, 11:41 AM | #48 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Interesting side note: these issues also happen, when the other machine is not synced at all, e.g. when Reaper is the only DAW running. So, I suppose the problem is happening locally?
__________________
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 |
01-10-2018, 11:58 AM | #49 | |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Quote:
I can't see an obvious bug. Maybe play_state is even more unreliable that I thought? |
|
01-10-2018, 12:01 PM | #50 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
That would really be a pity, since your script is brilliant. I wish the devs would chime in to comment on play_state. Or maybe someone else can share their thoughts?
__________________
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 |
01-10-2018, 12:09 PM | #51 |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
I think I have fixed it (yet again!) so refresh reapack.
|
01-10-2018, 12:15 PM | #52 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Awww, I'm so sorry, but I still have the same issue.
Could you reproduce it anyway on your machine? Maybe it's only me?
__________________
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 |
01-10-2018, 12:17 PM | #53 |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
I think reaper caches jsfx, so after updating, you need to shut down reaper and reopen it.
|
01-10-2018, 12:52 PM | #54 |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
V1.3 should be working now.
Also just tested against xjadeo which is free and it does support MMC even though the docs suggest it doesn't. So that is another video engine that can be used. Also someone suggested a good workaround for the pause issue. Override the enter key with a custom action that moves edit cursor to playhead, then does a stop. That way it functions like pause, but isn't pause. |
01-10-2018, 01:55 PM | #55 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
I just tried it again (with restarting Reaper and removing the JSFX), but the issue still occurs. However, I reduced the keyboard key repetition rate in Windows and now it seems to work. Is there maybe a way to increase the repetition tolerance in the script itself?
Could it be that play does not send the MMC commands anymore? The edit cursor does not follow the play cursor :O
__________________
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 |
01-10-2018, 02:03 PM | #56 | |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Quote:
It basically checks every time there's a new audio buffer if the play state has changed and if the cursor has moved. If it is stopped and the cursor has moved by a frame or more, it generates a message. So with a 512 buffer it will check ~90 times per second. I can only assume reaper is doing something weird to the plugin when it gets fast keyboard repetition. Maybe it is reinitialising the plugin every repeat keystroke? It should only initialise when play is started. But maybe it is not. |
|
01-10-2018, 02:44 PM | #57 |
Human being with feelings
Join Date: Jun 2008
Location: Whales, UK
Posts: 6,010
|
Noticing your efforts, good stuff. quick question:
Do you know of any free/cheap software that will record video as well playback and ultimately sync to reaper using your utility? Trying to get around reapers silly inability to record video to timelime. Cheers
__________________
JS Super8 Looper Template & intro | BCF2000 uber info Thread | Who killed the Lounge? |
01-10-2018, 02:45 PM | #58 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Okay, I will just keep the lower key repetition rate! It works fine that way
But should the JSFX still transmit a play command? Because the edit cursor does not follow the play cursor anymore.
__________________
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 |
01-10-2018, 03:00 PM | #59 | |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Quote:
Insert MTC generator on a track (my plugin can go on same track). In source properties for the MTC generator set the correct settings etc. |
|
01-10-2018, 04:34 PM | #60 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Ahh, I was so busy with locating the cursor, that I wasn't sure, if the plugin would take care of both. With version 1, I had the SMPTE code set up. It works pretty awesome, now.
I still have no idea, what the keyboard has to do with the issue (using "Move edit cursor to mouse cursor"and scrubbin very fast with the mouse does not cause erratic behaviour). But I take it as it is and I'm very happy Thanks a lot mrlimbic!
__________________
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 |
01-10-2018, 04:44 PM | #61 |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Not exactly sure what you mean but any NLE that can record video & export XML should be able work with my Vordio tool. FCPX, Premiere, Lightworks & Resolve should all do that. Resolve even has a free version.
|
01-10-2018, 06:22 PM | #62 | |
Human being with feelings
Join Date: Jun 2008
Location: Whales, UK
Posts: 6,010
|
Quote:
to workaround reaper not recording/capturing video to timeline, i have used a small 3rd party soft to capture vid whilst reaper records audio - then manually added video to reaper timeline afterwards.. bit cludgy. if can sync to a 3rd party soft that will capture and playback in sync to reaper (via this mtc tool), i'd have a little dance of joy. will investigate the options, something for capture/playback, basic edits is all thats needed.. like REAPER GRRR (aimed at devs!)
__________________
JS Super8 Looper Template & intro | BCF2000 uber info Thread | Who killed the Lounge? |
|
01-21-2018, 07:59 AM | #63 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
@mrlimbic
This is not related to your plugin, but I hoped that you might know a solution. When pressing play, my video machine is synced. But when pressing record, Reaper seems to stop sending the MTC signal. At least it seems so, because the video machine doesn't start. Is there a setting I'm overlooking?
__________________
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 |
01-21-2018, 08:10 AM | #64 | |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Quote:
|
|
01-21-2018, 08:21 AM | #65 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Hey mrlimbic,
the output is routed thru rtpMIDI port (Windows) to OSX. Maybe my monitor/record settings are wrong? I gotta admit, I'm not yet familiar with all of them:
__________________
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 |
01-21-2018, 09:56 AM | #66 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
To compare, I used now vVIMTC Generator in MTC standalone mode and now it works!
__________________
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 |
01-21-2018, 10:07 AM | #67 |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
BTW I recently updated repack & added MTC fullframe vs MMC locate modes. Can you try to see if the different modes make a difference?
|
01-21-2018, 10:11 AM | #68 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Both modes work the same here. MTC fullframe is just a different method, right? Or would it replace the native SMPTE Time Generator / vVMTC Generator?
__________________
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 |
01-21-2018, 10:14 AM | #69 |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Yes both modes only relate to how what type of message to send as a still frame locate while not playing. In MTC fullframe mode it basically does exact same method as vVMTC plugin. So not sure why you are having issues, unless you are accidentally sending those locate messages to wrong midi bus from my plugin.
|
01-21-2018, 10:23 AM | #70 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Yeah, it's pretty strange. I can't really understand what's going on, but as long as it works now, I'm happy.
Though, having started my first cue in Reaper, there are still some missing functions that make it impossible for me to work. I would love a command that sets the TC to like 10:21:10:22 at bar 3. However, from what I can see, we can only set it to the project start. And I couldn't find an API command, otherwise I had taken care of that. But I guess, this is something that the devs need to include.
__________________
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 |
01-21-2018, 10:29 AM | #71 | |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Quote:
|
|
01-21-2018, 10:38 AM | #72 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Actually, the ability to enter a complete timecode in a text field would be great. However, if you can implement something like that, would that also alter the project start code or only the offset for "MMC Locate" in relation to the project start code?
__________________
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 |
01-21-2018, 10:53 AM | #73 | |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Quote:
Also I don't see a way to do a similar thing in the MTC generator which would also need to be configured. There is no option to use current cursor position as an offset/anchor point. Only a manually entered timecode. However you can move the generator to start at bar 3 then use the manually entered timecode which is a workaround for that part. However, timecode won't start until the item is there. |
|
01-21-2018, 11:26 AM | #74 | |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Ah okay, that's why there are drop downs, gotcha.
Exactly, the Generator also needs to be configured. Quote:
the SMPTE item always starts at 0:00:00:00, so it has to be set up manually to be in sync with the start project TC. And when you move the SMPTE item to bar 3, there is an offset, which can't be corrected (the big clock for example will show a different TC than the video machine). I bet, this would be so easy for the devs to implement this. But it just doesn't have priority, I guess...
__________________
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 |
|
01-21-2018, 11:44 AM | #75 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
I thought a bit about the issue... Actually, all I need is a function, that will take a desired TC and subtract 2 bars (in TC language) and then enter that TC into the project start field. Everything will be fine (I'm not using the SMPTE item in that case, but vVMTC which also takes the value from project start). I will have to think a bit about that issue and see if I can come up with something.
Though, this method will only work, if the TC needs to be changed at the beginning of a cue. So, not perfect...
__________________
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 |
01-21-2018, 05:43 PM | #76 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Okay, so I found a method that works somehow. However, I need to make some adjustments to the script. Let me explain. The script does the following:
- get the edit cursor position (in seconds) - subtract 2 bars of the position (in seconds) - convert the position (in seconds) to TC (format hh:mm:ss:sss) - copy the new TC to the clipboard (can be pasted into the project start field) Apparently, I get some issues during the conversion to hh:mm:ss:sss. The desired TC does not sit 100% on bar 3, instead it's shifted a bit to the right. Maybe you have some expertise in that area? Code:
pos = reaper.GetCursorPosition() -- get edit cursor position nom, _, _ = reaper.TimeMap_GetTimeSigAtTime(0, pos) -- get nominator of time signature project_start = reaper.GetProjectTimeOffset(0, false) -- get project start two_bars = reaper.TimeMap2_beatsToTime(0, 2*nom, 0) -- convert 2 bars to time new_pos = pos - two_bars -- subtract 2 bars from position new_pos = new_pos + project_start -- add project start offset to position new_tc = reaper.format_timestr(new_pos, "") -- convert new position to TC (format hh:mm:ss:sss) reaper.CF_SetClipboard(new_tc)
__________________
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 |
01-30-2018, 07:57 AM | #77 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Christian took care of a "Set Timecode at cursor" script!
https://forum.cockos.com/showthread....62#post1947362 I'm a happy camper, now
__________________
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 |
10-25-2018, 03:52 AM | #78 |
Human being with feelings
Join Date: Feb 2015
Location: Matosinhos, Portugal
Posts: 23
|
You rock!!!!
mrlimbic and _stevie_, I owe you guys a beer, good sirs!
I had to use protools to do my dubbing/adr work with VoiceQ because with the two reaper methods, it was glitchy and "non productive"... "MMC Locate" with "vVIMTC Generator", and some tweaking on the midi menu, and it's golden! Now I can kick PT out of the window =D It works flawlessly! Thanks for your work Last edited by Input_studio; 11-05-2018 at 11:57 AM. |
Thread Tools | |
Display Modes | |
|
|