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

djlink2midi

v1.0.3

Published

Convert Pro DJ Link tempo info to midi clock.

Downloads

9

Readme

Pro DJ Link to MIDI

This program lets you connect to Pro DJ Link network and follow the master tempo from DJ players. It converts the signal into MIDI clock signal, so you can use use it to sync synthesizers, external effects and the like to your players.

Note, this program only sends midi clock data, not time code, so you won't get exact beat quantization, just the tempo. Also, as the Node.js is not the best option for hard realtime systems, thus you may see some minor clock drift and jitter. It should be fine for using with effect units, but if very precise sync is important to you, I recommend you keep searching for a better solution.

Installation

npm install -g djlink2midi

On linux systems you may need to install additional packages such as libasound2-dev from your distribution package repositories.

Running

Usage: djlink2midi [options]

Options:
  -V, --version                  output the version number
  -i, --interface <iface>        Network interface to use
  -m, --midi <midi>              Midi interface to use
  -r, --resolution <resolution>  Midi clock resolution (default: 24)
  -h, --help                     output usage information
  -c, --correction <percent>  BPM correction in percent (default: 0)

Run command without options to get the list of interfaces available.

Using on Raspberry Pi

This program can be installed on Raspberry PI if you want a simple portable solution for syncing external effects pedals to your players.

  1. Install the package on the system.
  2. Add it to startup by adding the command with correct parameters to /etc/rc.local
  3. Connect the Raspberry Pi to the Pro DJ Link network using network switch
  4. Connect the Raspberry Pi to your effect processor with class compliant USB MIDI interface.
  5. Play a track on your CDJ and make sure the "Master" button on CDJ is pressed.

Your effect device should now be able to receive the midi clock and if capable, should be able to keep tempo with your players.

Disclaimer

This software is not created by nor endorsed by any hardware manufacturer. By using this software you acknowledge you are doing so at your own risk, and I shall not be held liable for any possible damages or issues caused.