       '      displayRestart: true, displayPlay: true, displayProgress: true,\n' +
        '      options: synthOptions\n' +
        '    }\n' +
        '  },\n' +
        '});'

      editor.paramChanged(renderParams);

      synthOptions = { swing: parseFloat(swingElement.value, 10) };
      editor.synthParamChanged(synthOptions);

      output = output.replace("renderParams", JSON.stringify(renderParams));
      output = output.replace("synthOptions", JSON.stringify(synthOptions));
      codeEl.innerHTML