1.1.1 • Published 10 months ago

audiojenkins v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Audio Jenkins

This is a small utility package to help with speech recognition programmes. It can record audio from microphone into file, play recorded file into ReadbleStream and return it, or just play microphone output into ReadbleStream.

Dependencies

Usage

Stream microphone output in audioStream and in file.

import * as AudioJenkins from 'audiojenkins';
const audioStream = await AudioJenkins.getAudioStream(
  { 
    outputFileName: 'audio.wav',
    audioRecorderOptions: {
      silence: 0,
    }
  }
);

Stream audio file in audioStream. Yoi should not use inputFileName option with other options.

import * as AudioJenkins from 'audiojenkins';
const audioStream = await AudioJenkins.getAudioStream({ inputFileName: 'audio.wav' });
1.1.1

10 months ago

1.1.0

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago