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

minidsp

v1.0.4

Published

An interface to the MiniDSP 2x4HD

Downloads

7

Readme

node-minidsp

This provides a command line interface to control the MiniDSP2x4HD directly over USB HID. It was developped using the plugin version 107 (September 2016) and contains minimal functionality to operate the device under Linux.

DISCLAIMER: The stock miniDSP plugin relies on last-change timestamps to synchronize its state. Changing some properties through this tool may reset that timestamp and force the configuration to be reloaded the next time the official application connects to the device. Backup your configuration first.

demo

Installation

npm install -g minidsp

In order to run as a non-privileged user under Linux, you may have to add a udev rule for this specific device. Under /etc/udev/rules.d, create a file named 99-minidsp.rules containing:

# MiniDSP 2x4HD
ATTR{idVendor}=="2752", ATTR{idProduct}=="0011", MODE="660", GROUP="plugdev"

Then reload using:

sudo udevadm control --reload-rules

Usage

$ minidsp  --help

  Usage: minidsp [options] [command]


  Commands:

    devices            List available devices
    input <source>     Set input source [analog|toslink|usb]
    config <index>     Set active configuration [0-3]
    mute [enable]      Sets the global mute flag
    gain <gain>        Set the master gain level (acceptable range -127 dB to 0 dB)
    input-gain <gain>  Sets the input gain level (-127 dB to 12 dB)
    monitor            Monitor input levels
    proxy              Runs a proxy on port 5333 intended for use with the mobile application

  Options:

    -h, --help                  output usage information
    -V, --version               output the version number
    -t --transport <transport>  Set the underlying transport type (usb, net)
    -o --opt <opt>              Set transport-specific parameters

Proxy mode

The plugin application itself uses a helper application communicating via TCP to localhost:5333. This also is the protocol used by the mobile application to provide its remote control interface. Running the application as a proxy will open that port and relay messages to/from the USB interface.

The plugin's Mac version will first attempt a connection before launching the helper application. You can forward it to another machine via socat like this: socat TCP-LISTEN:5333 TCP:192.168.1.144:5333

Transport

This tool can either talk to the device via USB, or to the proxy running somewhere else.

To control a remote device from the command line, use the following syntax:

minidsp -t net -o "host=ip-here" [command]

Working with multiple devices

You can list the available device paths using minidsp devices - then use -o path=[path-here] to select which device to use.

Examples

  • Set gain to -20dB: minidsp gain -- -20
  • Switch active input to USB: minidsp input usb
  • Monitor: minidsp monitor