afterglow.dj-link
Provides synchronization with equipment sending Pioneer Pro DJ Link packets on the local network, such as Pioneer Nexus mixers and players, using the beat-link library.
current-dj-link-sources
(current-dj-link-sources)Returns the set of potential Pro DJ Link synchronization sources which are currently visible on the network, summarized as maps containing the device name, player number, and IP address.
filter-sources
(filter-sources name-filter)Return a set of only those sources whose name matches the specified pattern. name-filter can either be a Pattern, or a string which will be turned into a pattern which matches in a case-insensitive way anywhere in the name.
find-source
(find-source source)Makes sure the supplied DJ Link source is current and valid. Returns it, or throws an exception.
find-source-by-name
(find-source-by-name name-filter)Looks up a source with a name that matches the specified pattern. name-filter can either be a Pattern, or a string which will be turned into a pattern which matches in a case-insensitive way anywhere in the name. Returns the single matching source found, or throws an exception.
start
(start)Activate all the components of the beat-link library. Runs in the background, since it can take a while to give up if there are no DJ Link devices on the network.
sync-to-dj-link
(sync-to-dj-link dj-link-source)(sync-to-dj-link dj-link-source sync-bars?)Returns a sync function that will cause the beats-per-minute setting of the supplied metronome to track the values received from the specified DJ Link transmitter on the local network. The sync source can be specified either as a map that would be returned from current-dj-link-sources, or a regex Pattern, or a simple string, which will be converted into a case-insensitve pattern matching anywhere in the source name. This method is intended for use with show/sync-to-external-clock.
If sync-bars? is passed with a true value, then synchronization will honor the beat-within-bar information coming from the DJ Link device. Otherwise, sync will be at the beat level only.