BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
tuning.hh
Go to the documentation of this file.
00001  // Reverb model tuning values
00002 //
00003 // Written by Jezar at Dreampoint, June 2000
00004 // http://www.dreampoint.co.uk
00005 // This code is public domain
00006 
00007 #ifndef _tuning_
00008 #define _tuning_
00009 
00010 const int       numcombs                = 8;
00011 const int       numallpasses    = 4;
00012 const float     muted                   = 0;
00013 const float     fixedgain               = 0.015f;
00014 const float scalewet            = 3;
00015 const float scaledry            = 2;
00016 const float scaledamp           = 0.4f;
00017 const float scaleroom           = 0.28f;
00018 const float offsetroom          = 0.7f;
00019 const float initialroom         = 0.5f;
00020 const float initialdamp         = 0.5f;
00021 const float initialwet          = 1/scalewet;
00022 const float initialdry          = 0;
00023 const float initialwidth        = 1;
00024 const float initialmode         = 0;
00025 const float freezemode          = 0.5f;
00026 const int       stereospread    = 23;
00027 
00028 // These values assume 44.1KHz sample rate
00029 // they will probably be OK for 48KHz sample rate
00030 // but would need scaling for 96KHz (or other) sample rates.
00031 // The values were obtained by listening tests.
00032 const int combtuningL1          = 1116;
00033 const int combtuningR1          = 1116+stereospread;
00034 const int combtuningL2          = 1188;
00035 const int combtuningR2          = 1188+stereospread;
00036 const int combtuningL3          = 1277;
00037 const int combtuningR3          = 1277+stereospread;
00038 const int combtuningL4          = 1356;
00039 const int combtuningR4          = 1356+stereospread;
00040 const int combtuningL5          = 1422;
00041 const int combtuningR5          = 1422+stereospread;
00042 const int combtuningL6          = 1491;
00043 const int combtuningR6          = 1491+stereospread;
00044 const int combtuningL7          = 1557;
00045 const int combtuningR7          = 1557+stereospread;
00046 const int combtuningL8          = 1617;
00047 const int combtuningR8          = 1617+stereospread;
00048 const int allpasstuningL1       = 556;
00049 const int allpasstuningR1       = 556+stereospread;
00050 const int allpasstuningL2       = 441;
00051 const int allpasstuningR2       = 441+stereospread;
00052 const int allpasstuningL3       = 341;
00053 const int allpasstuningR3       = 341+stereospread;
00054 const int allpasstuningL4       = 225;
00055 const int allpasstuningR4       = 225+stereospread;
00056 
00057 #endif//_tuning_
00058 
00059 //ends
00060 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines