Tone.js
    Preparing search index...

    Function fanIn

    • Connect the output of one or more source nodes to a single destination node

      Parameters

      • ...nodes: OutputNode[]

        One or more source nodes followed by one destination node

      Returns void

      const player = new Tone.Player("https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3");
      const player1 = new Tone.Player("https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3");
      const filter = new Tone.Filter("G5").toDestination();
      // connect nodes to a common destination
      Tone.fanIn(player, player1, filter);