1.0.9 • Published 3 years ago

supported-formats v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Supported Formats

Circle CI Status ISC

This package is simply a small test to check if your filetype is supported for transcription by Deepgram. Deepgram supports over 100 different audio formats and encodings. For example, some of the most common audio formats and encodings we support include MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4A, Ogg, Opus, and WebM.

Because audio format is largely unconstrained, we always recommend to ensure compatibility by testing small sets of audio when first operating with new audio sources.

This is not an exhaustive or official list. If it isn't on the list, try it anyway. You might find the audio source can be transcribed.

Issues

For problems directly related to this package, add an issue on GitHub.

Usage

$ npm install supported-formats
# $ yarn add supported-formats

Catch an error when a file isn't supported.

import { supported } from "supported-formats";

try {
  supported(filePath);
  // is supported
} catch (err: any) {
  this.error(err);
  // is not supported
}

Developing

This project can be cloned and ran locally.

$ npm install
# $ yarn

Tests

$ npm run test
# $ yarn test

Contributors

Would you like to contribute to this project? Check out our contributing guide.

Made with contrib.rocks.

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago