options.js 813 B

12345678910111213141516171819202122232425262728293031323334
  1. /* *
  2. *
  3. * (c) 2009-2020 Øystein Moseng
  4. *
  5. * Default options for sonification.
  6. *
  7. * License: www.highcharts.com/license
  8. *
  9. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  10. *
  11. * */
  12. 'use strict';
  13. // Experimental, disabled by default, not exposed in API
  14. var options = {
  15. sonification: {
  16. enabled: false,
  17. duration: 2500,
  18. afterSeriesWait: 700,
  19. masterVolume: 1,
  20. order: 'sequential',
  21. defaultInstrumentOptions: {
  22. instrument: 'sineMusical',
  23. // Start at G4 note, end at C6
  24. minFrequency: 392,
  25. maxFrequency: 1046,
  26. mapping: {
  27. pointPlayTime: 'x',
  28. duration: 200,
  29. frequency: 'y'
  30. }
  31. }
  32. }
  33. };
  34. export default options;