linked-media
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linked-media [2022/02/04 15:36] – created shane | linked-media [2023/05/08 18:59] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
Unify v1.8 adds support for //linked media//. Every patch in a library can optionally have a //link// to an associated media item. Three distinct media types are supported: | Unify v1.8 adds support for //linked media//. Every patch in a library can optionally have a //link// to an associated media item. Three distinct media types are supported: | ||
- An //image file// (stored somewhere under the library' | - An //image file// (stored somewhere under the library' | ||
- | - A //HTML file// (also stored under the library' | + | - A //[[wp>HTML]] file// (also stored under the library' |
- | - A //URL link// to content hosted on a separate server (e.g. on the Internet) | + | - A //[[wp>URL]] link// to content hosted on a separate server (e.g. on the Internet) |
===== About linked media and links ===== | ===== About linked media and links ===== | ||
- | The presence of a link is indicated by a colored outline around the patch' | + | The presence of a link is indicated by a colored outline around the patch' |
+ | |||
+ | Clicking the //library image// opens the linked media item. | ||
* Local //image files// are opened in the Unify window; click anywhere in the image to close it. | * Local //image files// are opened in the Unify window; click anywhere in the image to close it. | ||
* Local //HTML files// are also opened in the Unify window, in a simplified browser interface with **Back** and **Close** buttons at the top. | * Local //HTML files// are also opened in the Unify window, in a simplified browser interface with **Back** and **Close** buttons at the top. | ||
Line 15: | Line 17: | ||
* Holding down Option/ALT while clicking the library image will override the default on a one-time basis. | * Holding down Option/ALT while clicking the library image will override the default on a one-time basis. | ||
- | ===== Where links are defined ===== | + | ----- |
+ | **Note: the remainder of this page describes an advanced topic. You must be comfortable with creating and editing [[midi-controller-files# | ||
+ | ----- | ||
+ | |||
+ | ===== Where links are defined: the links.txt file ===== | ||
Links for a library' | Links for a library' | ||
Line 21: | Line 27: | ||
The // | The // | ||
- | <file links.txt> | + | < |
# This is a links list. Blank lines and lines starting with "#" | # This is a links list. Blank lines and lines starting with "#" | ||
# Remaining lines consist of 2 parts: a " | # Remaining lines consist of 2 parts: a " | ||
# Use quotation marks if pattern or target contain embedded spaces. | # Use quotation marks if pattern or target contain embedded spaces. | ||
# Unify will search down the list for the first pattern which matches the current patch name. | # Unify will search down the list for the first pattern which matches the current patch name. | ||
- | # The target can either be a web URL or a path (relative to Media folder) to a local image file. | + | # In patterns, "?" |
+ | # The target can either be a web URL or a path (relative to Media folder) to a local file. | ||
- | Bloo* | + | Bloo* |
- | " | + | " |
- | " | + | " |
# The pattern " | # The pattern " | ||
- | # Adding "?" | + | # Adding "?" |
# automatically, | # automatically, | ||
- | * | + | * |
</ | </ | ||
+ | The first item on each // | ||
+ | |||
+ | The second item on each // | ||
+ | * For image files, any standard image types such as //.png//, //.jpg//, etc. can be used. | ||
+ | * Internet URLs may optionally include a //query string// starting with "?" | ||
+ | * A single "?" | ||
+ | * '' | ||
+ | * '' | ||
+ | Miscellaneous syntax details: | ||
+ | - Use double quotation-marks around any pattern or target which has embedded spaces. | ||
+ | - Spaces and tabs can be used freely on any line. | ||
+ | - Anything which comes after the //target// will be ignored (provided it is separated by at least one space or tab) and is effectively a comment. | ||
+ |
linked-media.1643988965.txt.gz · Last modified: 2023/05/08 18:59 (external edit)