Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npmjs 'audio' outdated? #62

Open
stheine opened this issue Dec 30, 2018 · 1 comment
Open

npmjs 'audio' outdated? #62

stheine opened this issue Dec 30, 2018 · 1 comment

Comments

@stheine
Copy link

stheine commented Dec 30, 2018

on npmjs I find https://www.npmjs.com/package/audio listing 1.2.0 without any documentation.
on github, I find releases up to v2.0.0-1, but even those are from August 2016.

so I wonder if this project is still active and maintained...?

in fact, I'm looking for a way to change the speed of a PCM stream. my code looks like:

const lame    = require('lame');
const request = require('request');
const Speaker = require('speaker');

const decoder = new lame.Decoder();
const speaker = new Speaker({
  channels:   2,
  bitDepth:   16,
  sampleRate: 44100,
  mode:       lame.STEREO,
  device:     'hw:1,0',
});

const req = request.get(url);

req
  .pipe(decoder)
  .pipe(speaker);

and I wonder if I can make use of some part of audio to control the playback speed.

@ItzAtomikHD
Copy link

ItzAtomikHD commented Feb 2, 2019

Use npm i audiojs/audio to install the current version. It is not published to npm yet.

(See #41)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants