  // Automate
          automations: [{
            name: 'gain',
            methods: [
              {name: 'setValueAtTime', options: [1, 0]},
              {name: 'linearRampToValueAtTime', options: [0, testDuration]}
            ]
          }]
        }).then(() => task.done());
      });

      audit.run();
    </script>
  </body>
</html>
