What it is
The rules engine is weirdnet-collab; this crate fixes what SongNotes means by a role and a permission.
Key types and modules
- Roles: Host, Editor, Engineer, Viewer (the default for a new invitee) and Listener, with the permission catalog in
perm. Recording someone’s audio, connecting to it, and recording the talkback need that audio owner’s consent; talking needs the local mic switch. - Links:
weirdnet-songnotes://join/<token>joins a session;weirdnet-songnotes://collab/<project>/<panel>opens a panel of a project. Both parse and print. Session: start a session, share a link, let people in (directly or after the host approves), askcanorexplain(the reason chain), and turn a “needs consent” answer into aConsentRequestthe audio owner can accept.Session::standaloneandquick_linkgive a single host.transport: the session host is the clock master. Followers learn their clock offset from the exchange with the shortest round trip and read the plan in beats, so each app maps beats to its own frames; followers report themselves ready and may ask for start, stop, locate or tempo if they holdtransport.control. It runs on/songnotes/transport, served and called through weirdnet-service.
Usage
[dependencies]
weirdnet-songnotes = "0.11.0"Where it fits
- Builds on weirdnet-collab, weirdnet-service.
- License: BSD-3-Clause.