Native Python PTSL (Pro Tools Scripting Library) RPC interface
Project description
py-ptsl
Native Python PTSL (Pro Tools Scripting Library) RPC interface
Important Notice!
This software is developed by enthusiasts and is not a work of or supported by Avid. Developers who wish to contribute to this project should obtain the PTSL SDK from Avid's Developer site for the most current documentation and protobuf source files.
Example
See the examples directory for scripts demonstrating how to use the client.
- session_info.py - This example prints a list of gettable properties from the currently-open session.
- print_tracks.py - This example prints a list of every track in the currently-open session, including state information like selection, mute and solo state, track color and track ID.
- make_session.py - Creates a new session interactively from the terminal.
- pt_set.py - Allows several session setup options to be set from the terminal.
- pt_pasteboard.py - Demonstrates triggering cut/copy/paste actions.
Sending Commands To Pro Tools with the Engine
class
The Engine
class exposes ptsl
commands with a method call interface.
from ptsl import open_engine
with open_engine(company_name="MY_COMPANY", application_name="MY_TOOL") as engine:
session_name = engine.session_name()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_ptsl-500.0.0.tar.gz
(60.4 kB
view details)
Built Distribution
py_ptsl-500.0.0-py3-none-any.whl
(78.2 kB
view details)
File details
Details for the file py_ptsl-500.0.0.tar.gz
.
File metadata
- Download URL: py_ptsl-500.0.0.tar.gz
- Upload date:
- Size: 60.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fdb16992c19d0f45a9f2e48d79ae191d71a18444830dfde99151f7d032d7a86 |
|
MD5 | a4759af7324e1847382bbbed5cae8680 |
|
BLAKE2b-256 | b744f2c7eb2c052a8fa7ae40531e86b49844dfba015d291a97eb779b344bf063 |
File details
Details for the file py_ptsl-500.0.0-py3-none-any.whl
.
File metadata
- Download URL: py_ptsl-500.0.0-py3-none-any.whl
- Upload date:
- Size: 78.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49c7241fcc5795eefcfe7684f4987b8c47b0f8ac1e5d272fec13624ef7619cbd |
|
MD5 | 9dc9c15b1f7e33c4736ab6f5c5ef00d0 |
|
BLAKE2b-256 | e03eb0bc9867a49fe458e57f1e1e135426defb18699d692aaf4b05e0065afc7b |