options.js 912 B

123456789101112131415161718192021222324252627282930313233343536
  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: 2000,
  18. afterSeriesWait: 1000,
  19. order: 'sequential',
  20. pointPlayTime: 'x',
  21. instruments: [{
  22. instrument: 'sineMusical',
  23. instrumentMapping: {
  24. duration: 400,
  25. frequency: 'y',
  26. volume: 0.7
  27. },
  28. // Start at G4 note, end at C6
  29. instrumentOptions: {
  30. minFrequency: 392,
  31. maxFrequency: 1046
  32. }
  33. }]
  34. }
  35. };
  36. export default options;