npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-tcnet

v0.1.6

Published

Implements the TC-Supply TCNet protocol used by ShowKontrol and ProDJLink Bridge app from Pioneer

Downloads

30

Readme

node-tcnet

This library tries implements the TCNet procotol of Showkontrol / Event Imagineering Group / Pioneer DJ described here: https://www.tc-supply.com/tcnet

It requires either Showkontrol / Beatkontrol (https://www.tc-supply.com/home) to be running on a Mac or PRO DJ LINK Bridge on Windows / Mac (https://www.pioneerdj.com/en/product/software/pro-dj-link-bridge/software/)

Features

  • [x] Connecting to a TCNet network
  • [x] Listening to status events
  • [x] Requesting song metadata of layers seperately
  • [x] Requesting song metrics of layers
  • [x] Receiving Timestamp information
  • [ ] Time Sync (similar to NTP/PTP) / BPM capabilities of TCNet
  • [ ] Other request packets like Beat Grid, Wave Form
  • [ ] Control capabilities (like stopping layers) from TCNet

This has only been tested against the Bridge software with NO DJMs or CDJs attached. Bascially this is an implementation solely on the protocol documentation. Testing on real equipment is needed.

Example

import { TCNetConfiguration, PioneerDJTCClient, LayerIndex } from "node-tcnet"

async function main() {
    // Init new TCNet configuration
    const config = new TCNetConfiguration();

    // Linux
    config.broadcastInterface = "eth0";
    // Windows
    config.broadcastInterface = "Ethernet";
    
    // Init new client for Pioneer DJ TCNet
    const client = new PioneerDJTCClient(config);
    
    // Wait for connect
    await client.connect();

    // Ask for track information on Layer 1
    const layer1 = await client.trackInfo(LayerIndex.Layer1);
    console.log(layer1);
}

main();

Comparable work

  • Directly implementing ProDJLink: Implements the native protocol of Pioneer DJ players/mixers by emulating a CDJ in the network. This has the downside of trying to reverse-engineer an unknown protocol from Pioneer, with no documentation. However these libraries have some better support for other devices like the XDJ-XZ. Using TCNet has the benefit of a clear seperation between the productive Pro DJ Link network and a documented protocol.
    1. prolink-connect (JS) by @EvanPurkhiser https://github.com/EvanPurkhiser/prolink-connect
    2. dysentery (Java) by @Deep-Symmetry https://github.com/Deep-Symmetry/dysentery

Disclaimer

This work has not been sponsored or endorsed by Pioneer DJ or Event Imagineering Group. All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.