weirdnet-songnotes
SongNotes collaboration: the roles, permissions, links and consent requests for a SongNotes session, built on weirdnet-collab.
Part of Weirdnet by Weird Brains. BSD-3-Clause.
What it gives you
- 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, and an unknown panel survives a round trip. 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.- Standalone host mode:
Session::standaloneandquick_linkgive one host, Viewer as the default role, and host approval for each person. - Session clock and transport (
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 (a start a lead ahead, tempo changes on bar boundaries), so each app maps beats to its own frames. Followers report themselves as 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.
The rules engine is weirdnet-collab; this crate fixes what SongNotes means by a role and a permission.
# a stage app in a few lines: host the transport, follow it from another process