Now Particularly Misnamed

    loopy-doopy

    1.0.2 • Public • Published

    loopy-doopy

    A simple javascript class for synchronising audio loops using web api. Designed for use with video game stems.

    Install

    npm i loopy-doo
    

    Usage

    import LoopyDoopy from 'loopy-doopy';
    
    // create a new instance
    const myLooper = new LoopyDoopy();
    
    // Add audio files (asynchronously with ajax)
    myLooper.loadSamples(
      './bagpipe-loop.wav',
      './tin-whistle-riff.mp3',
      './distorted-yodelling.mp3',
    )
    
    // Start the looper once the samples have been loaded
    myLooper.onload = () => {
      myLooper.start();
    }
    

    NOTE: For this to work your samples must have equal duration or durations that are integer mutliples of one another.

    Install

    npm i loopy-doopy

    DownloadsWeekly Downloads

    4

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    5.8 kB

    Total Files

    3

    Last publish

    Collaborators

    • joelplow