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

dayton2audacity

v1.2.0

Published

convert dayton audio mic calibration files to audacity filter curve presets

Downloads

3

Readme

dayton2audacity

convert dayton audio mic calibration files to audacity filter curve eq presets

installation

you can download source and run node dayton2audacity.js as usual, or do npm install -g dayton2audacity to get a dayton2audacity command.

uninstall for the latter option is npm uninstall -g dayton2audacity.

usage

dayton2audacity [ infile [ outfile ] ] [ -r <dbV> ]

   infile    name of dayton audio calibration file (stdin if missing)
   outfile   name of audacity filter curve preset (stdout if missing)

   -r <dbV>  if specified, apply baseline gain from calibration file,
             where <dbV> is the *negative* of the design response given
             on the product page for your mic. e.g. the emm-6 has a
             design sensitivity of -40 dbV @ 1000 hz into 1 kohm so if
             you want to correct to that baseline, use "-r 40".
  1. download calibration file for your dayton audio mic from http://support.daytonaudio.com/MicrophoneCalibrationTool

  2. run this program to create an audacity filter curve eq preset text file

  3. in audacity: effect → filter curve → manage → import, then load the file (newer versions of audacity label the button "presets & settings" instead of "manage").

filter curve eq

notes

reference level

on the product pages for dayton's mics, a design sensitivity dbV level is given that maps response voltage at some frequency and input impedence to absolute sound pressure. in the calibration file, the actual response at this frequency and input impedence is given. the -r option can be used if you want to use the value in the file to apply a global baseline correction factor to bring the observed sensitivity in line with the design sensitivity.

however, as useful as this sounds, in many cases it isn't necessary: in particular, if you're recording audio with these mics and adjusting your input gains on the fly, e.g. you've got a tone generator that you're calibrating gains with or you're eyeballing it, then you don't actually want this correction factor, since you're basically applying your own. it's only really useful if you're reading actual voltages from the mic as-is.

audacity limitations

audacity silently places a limit on the number of points in the filter curve but this program won't warn if the limit is exceeded. so if your filter curve in audacity has a suspicious lack of points on the high frequency end, that's probably what happened. however, this program tries to minimize the number of points by removing consecutive frequency entries with the same gain values, and it usually seems to be ok.

windows + bash + pipes

if you happen to be running this as node dayton2audacity.js (i.e. not installed) in bash on windows and piping the output to something else, and you get an error stdout is not a tty, run it with "node.exe" instead of just "node".

this is weirdness that i can't explain, but it applies to all applications run from bash on windows (see this).

homepage

https://github.com/JC3/dayton2audacity