Nuanced Pterodactyl Monk

    generate-silence

    1.0.2 • Public • Published

    generate-silence

    Quickly generate silent audio with options.

    Getting started

    npm install generate-silence
    

    Then include in your project:

    const Silence = require('generate-silence');
    

    Then generate silence:

     
    new Silence(60).generate(); // seconds
     
    // You can also pass an option to generate for a different return format.
     
    new Silence(60).generate('base64') // base64 (default)
    new Silence(60).generate('datauri') // datauri
    new Silence(60).generate('element') // HTML Audio Element

    Install

    npm i generate-silence

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    2.18 kB

    Total Files

    3

    Last publish

    Collaborators

    • notchris