dmx2wav
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

dmx2wav

A library for converting dmx format pcm audio files found in Doom wads to wave format.

Thanks to the following resources for helping me figure this out:

Installation

yarn add dmx2wav

or

npm install --save dmx2wav

Usage Example

Reading the file dspistol.dmx, converting to wave and writing out to dspistol.wav.

import { promises as fs } from 'fs'
import { dmx2wav } from 'dmx2wav'

(async () => {
    const dmx = await fs.readFile('dspistol.dmx')
    const wav = dmx2wav(dmx)
    await fs.write('dspistol.wav', wav)
})()

Build

yarn
yarn build

Readme

Keywords

none

Package Sidebar

Install

npm i dmx2wav

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

11 kB

Total Files

13

Last publish

Collaborators

  • gareththegeek