View Single Post
Old 01-07-2018, 02:38 PM   #18
goldenarpharazon
Human being with feelings
 
Join Date: Feb 2016
Posts: 189
Default

Quote:
Originally Posted by mrlimbic View Post
How do you give a script parameters, or let the user select relevant settings when running?

Mine is going to have to let the user select:

1. OSC port to listen on
2. MIDI device name / port to send to
<snip>

Ideally this would be as a UI
The easy way is to initially code test values into the script as hard coded part of the @input and @output sections.

When you get going with the EEL2 code you can probably add these as changeable from a GUI or read them in from a configuration file: it depends on the ability to have variables or literal values in the code. Since the code reference is not clear on this you'll need to try it out: see http://cockos.com/oscii-bot/oscii-bot-doc.html

Quote:
Originally Posted by mrlimbic View Post
3. frame rate to use for sending MMC timecode messages.
The frame rate as a variable is no problem: that will be simply be a variable in your translation code.
goldenarpharazon is offline   Reply With Quote