Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

@youpy
Last activeAugust 29, 2015 14:18
    • Star(0)You must be signed in to star a gist
    • Fork(0)You must be signed in to fork a gist
    Save youpy/92c608766f9aeb2aa4aa to your computer and use it in GitHub Desktop.
    vars=document.createElement('script');
    s.setAttribute(
    'src',
    'https://youpy.github.io/Hoover.js/example/hoover.min.js'
    );
    s.addEventListener('load',function(){
    varhoover=newHoover(newAudioContext());
    varinterval=200;
    hoover.connect(hoover.context.destination);
    hoover.start();
    setInterval(
    function(){
    interval=100+Math.random()*400;
    hoover.frequency.setTargetAtTime(
    100+Math.random()*400,
    hoover.context.currentTime,
    interval/1000
    );
    },
    interval+100
    );
    });
    document.body.appendChild(s);
    Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

    [8]ページ先頭

    ©2009-2025 Movatter.jp