open-index/open-npm huggingface dataset:
npm package: @nymh/ffplay
Description: Easily play audio with ffplay
Author: Nymh
Latest version: 0.1.10

# ffplay

Easily play audio files with ffplay and promises.

[FFMPEG](https://ffmpeg.org/) is required for this package to work.

## Install

`npm install @nymh/ffplay`

## Usage

    // Play audio
    import { playAudio } from  "@nymh/ffplay";

    playAudio(./myAudio.mp3);

    // or
    await playAudio(./myAudio.mp3);

    // Kill audio
    import { killAudio } from  "@nymh/ffplay";

    killAudio();

    // or
    await killAudio();