You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PR #52 I've added a new example called "toolshell.py", this implements a command-line shell to send a small set of commands to Pro Tools. Here is an example of it in action:
$ python examples/toolshell.py
Toolshell is a demonstration command interpreter that
can remotely operate Pro Tools. Type `help` or `?` to
list commands.
To begin, type `connect`.
(not connected) connect
(pt) help
Documented commands (type help <topic>):
========================================
bye connect help locate newmemloc newsession newtracks play sinfo
(pt) locate 01:00:10:00
(pt) help newmemloc
Create a new marker memory location: NEWMEMLOC start-time
(pt) newmemloc 01:00:00:00
(pt) play
(pt) play
(pt) help newtracks
Create new audio track: NEWTRACKS count format
(pt) newtracks 2 LCR
(pt) bye
Tooshell quitting...
$
It has a good online help that can list all of the available commands and give details on how to use them.
This example is also uses the new command style Avid is encouraging developers to use, it sends and receives raw JSON to Pro Tools instead of using protobuf to serialize command requests and responses.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In PR #52 I've added a new example called "toolshell.py", this implements a command-line shell to send a small set of commands to Pro Tools. Here is an example of it in action:
It has a good online help that can list all of the available commands and give details on how to use them.
This example is also uses the new command style Avid is encouraging developers to use, it sends and receives raw JSON to Pro Tools instead of using protobuf to serialize command requests and responses.
Beta Was this translation helpful? Give feedback.
All reactions