Bind a Text DAT to a vault note
bind_vault_textRead a vault note into a TouchDesigner Text DAT and keep it synced with Obsidian for live updates, turning your vault into a lyrics or text source for visuals.
Instructions
CREATE a Text DAT in TouchDesigner whose file parameter points at a vault note, so the note's text loads into TD (and, with sync:true, stays live as you edit it in Obsidian) — turning the vault into the text/lyrics source for your visuals. Side effect is node creation in TD plus reading the note file; it does not write to the vault. Wire the DAT into a Text TOP to render it. Returns the DAT path, the resolved note, the absolute file path, and whether sync is on. Requires a configured TDMCP_VAULT_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Vault-relative note to read into TD (lyrics, poetry, any text content). | |
| parent_path | Yes | Parent COMP to create the Text DAT inside. | |
| name | No | Name for the Text DAT (defaults to a slug of the note). | |
| sync | No | Keep the DAT synced to the file, so edits in Obsidian show up live in TD. |