Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

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