View Single Post
Old 11-06-2018, 04:19 PM   #19
wwwmaze
Human being with feelings
 
Join Date: Oct 2009
Posts: 115
Default

Quote:
Originally Posted by sonicowl View Post
wwwmaze, thank you for help.
I wish there was some kind of manual for video processor. F1 gives a list of functions, but no tips on how to use them properly.
Cockos company, can you please hire someone to put together a manual for video processor? It is such a wonderful feature of Reaper, but it is such a pain to use it atm. Please...
Yes documentation is a bit sparse. My only pointers I can give are
a) set up an example project, save an test preset and put in all functions to see what they output in certain cases (especially handy for all those input* functions).

To plot to screen this could be a useful helper function:
Code:
curX=0;
function m(msg) local(s,h,id) (
  id = match("%s",msg) ? "%s" : msg|0===msg ? "%d" : "%f";
  sprintf(s=#,id, msg);
  gfx_str_measure(s,0,h);
  gfx_set(1,1,1,1);
  gfx_str_draw(s,0,curX);
  curX+=h;
);

gfx_blit(0);

// usage
m(input_count());
m("spam:");
m(input_track_count());
m($pi);
b) there is some overlap to JSFX and EEL scripts. So if you come across an unknown function make sure to consult the resources for these (docs, forum search, etc). Notice that sometimes functions are named similarly but parameters are switched.
wwwmaze is offline   Reply With Quote