Audio plugin host https://kx.studio/carla
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.

tuning.h 1.9KB

11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 scalewet = 3;
  13. const float scaledry = 2;
  14. const float scaledamp = 0.4f;
  15. const float scaleroom = 0.28f;
  16. const float offsetroom = 0.7f;
  17. const float initialroom = 0.5f;
  18. const float initialdamp = 0.5f;
  19. const float initialwet = 1/scalewet;
  20. const float initialdry = 0;
  21. const float initialwidth = 1;
  22. const float initialmode = 0;
  23. const float freezemode = 0.5f;
  24. const int stereospread = 23;
  25. // These values assume 44.1KHz sample rate
  26. // they will probably be OK for 48KHz sample rate
  27. // but would need scaling for 96KHz (or other) sample rates.
  28. // The values were obtained by listening tests.
  29. const int combtuningL1 = 1116;
  30. const int combtuningR1 = 1116+stereospread;
  31. const int combtuningL2 = 1188;
  32. const int combtuningR2 = 1188+stereospread;
  33. const int combtuningL3 = 1277;
  34. const int combtuningR3 = 1277+stereospread;
  35. const int combtuningL4 = 1356;
  36. const int combtuningR4 = 1356+stereospread;
  37. const int combtuningL5 = 1422;
  38. const int combtuningR5 = 1422+stereospread;
  39. const int combtuningL6 = 1491;
  40. const int combtuningR6 = 1491+stereospread;
  41. const int combtuningL7 = 1557;
  42. const int combtuningR7 = 1557+stereospread;
  43. const int combtuningL8 = 1617;
  44. const int combtuningR8 = 1617+stereospread;
  45. const int allpasstuningL1 = 556;
  46. const int allpasstuningR1 = 556+stereospread;
  47. const int allpasstuningL2 = 441;
  48. const int allpasstuningR2 = 441+stereospread;
  49. const int allpasstuningL3 = 341;
  50. const int allpasstuningR3 = 341+stereospread;
  51. const int allpasstuningL4 = 225;
  52. const int allpasstuningR4 = 225+stereospread;
  53. #endif//_tuning_
  54. //ends