You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.9KB

  1. // Reverb model tuning values
  2. //
  3. // Written by Jezar at Dreampoint, June 2000
  4. // http://www.dreampoint.co.uk
  5. // This code is public domain
  6. #ifndef _tuning_
  7. #define _tuning_
  8. const int numcombs = 8;
  9. const int numallpasses = 4;
  10. const float muted = 0;
  11. //const float fixedgain = 0.015f;
  12. const float fixedgain = 0.025f;
  13. const float scalewet = 3;
  14. const float scaledry = 2;
  15. const float scaledamp = 0.4f;
  16. //const float scaleroom = 0.28f;
  17. const float scaleroom = 0.30f;
  18. const float offsetroom = 0.7f;
  19. const float initialroom = 0.5f;
  20. const float initialdamp = 0.5f;
  21. const float initialwet = 1/scalewet;
  22. const float initialdry = 0;
  23. const float initialwidth = 1;
  24. const float initialmode = 0;
  25. const float freezemode = 0.5f;
  26. const int stereospread = 23;
  27. // These values assume 44.1KHz sample rate
  28. // they will probably be OK for 48KHz sample rate
  29. // but would need scaling for 96KHz (or other) sample rates.
  30. // The values were obtained by listening tests.
  31. const int combtuningL1 = 1116;
  32. const int combtuningR1 = 1116+stereospread;
  33. const int combtuningL2 = 1188;
  34. const int combtuningR2 = 1188+stereospread;
  35. const int combtuningL3 = 1277;
  36. const int combtuningR3 = 1277+stereospread;
  37. const int combtuningL4 = 1356;
  38. const int combtuningR4 = 1356+stereospread;
  39. const int combtuningL5 = 1422;
  40. const int combtuningR5 = 1422+stereospread;
  41. const int combtuningL6 = 1491;
  42. const int combtuningR6 = 1491+stereospread;
  43. const int combtuningL7 = 1557;
  44. const int combtuningR7 = 1557+stereospread;
  45. const int combtuningL8 = 1617;
  46. const int combtuningR8 = 1617+stereospread;
  47. const int allpasstuningL1 = 556;
  48. const int allpasstuningR1 = 556+stereospread;
  49. const int allpasstuningL2 = 441;
  50. const int allpasstuningR2 = 441+stereospread;
  51. const int allpasstuningL3 = 341;
  52. const int allpasstuningR3 = 341+stereospread;
  53. const int allpasstuningL4 = 225;
  54. const int allpasstuningR4 = 225+stereospread;
  55. #endif//_tuning_
  56. //ends