title: How to use p5.sound in Typescript + Node.js
body: <p>I'm JavaScript beginner.
  I am not English native and I'm sorry for my poor English.</p>
  
  <p>Now I want to do sound visualization with Node.js + Typescript, but I don't know how to load sound in <code>setup()</code>. Please teach me how to load sound in Node.js + Typescript.</p>
  
  <p>I tried importing <code>'p5/lib/addons/p5.sound'</code>. But I don't know how to use this module in <code>sketch</code> of below code.</p>
  
  <p>main.ts</p>
  
  <pre><code>import * as p5 from 'p5';
  
  const sketch = (p: p5) =&gt; {
    p.setup = () =&gt; {
      p.resizeCanvas(100, 100);
      // want to load sound here
    };
    p.draw = () =&gt; {
      p.background(100);
    }
  };
  
  const sketchP = new p5(sketch);
  </code></pre>
  
  <p>global.d.ts</p>
  
  <pre><code>import module = require('p5');
  
  export = module;
  export as namespace p5;
  declare global {
      interface Window {
          p5: typeof module
      }
  }
  </code></pre>