Go Back   Cockos Incorporated Forums > REAPER Forums > MIDI Hardware, Control Surfaces, and OSC

Reply
 
Thread Tools Display Modes
Old 07-07-2022, 12:57 AM   #1
Alain78
Human being with feelings
 
Join Date: Mar 2018
Posts: 19
Default My program needs to recover time from Reaper (hms)

I have developed a program that uses Reaper as a MIDI recorder hidden from the user view point to benefit from strictly useful functions without learning or changing the user interface. The commands are sent by MIDI messages : Load/save a project, record, play, pause, set markers... Everything works very well. Reaper is really simple to interface.
Now, I wish that my program could display the time (minutes, seconds) in recording and playback mode.
In a word I simply wish that my program would be able to display the hms time as Reaper does. But how ? Could you help me ?

I know that one possibility would be to get SPP messages in a continuous way but currently my Reaper installation only emits them during pauses in playback.
I know that the MTC messages give the time during recording and playback but not when positioning to a marker or at the beginning of the recording whereas SPP messages do. More, they represent an important load. At one point I saw an MTC message in SysEx form... how I don't know... since then nothing. Should be better.
I have to admit that I don't know how to convert the values of the SPP messages into seconds...
Alain78 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.