~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to arts/modules/freeverb/tuning.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
10
const int       numcombs                = 8;
 
11
const int       numallpasses    = 4;
 
12
const float     muted                   = 0;
 
13
const float     fixedgain               = 0.015f;
 
14
const float scalewet            = 3;
 
15
const float scaledry            = 2;
 
16
const float scaledamp           = 0.4f;
 
17
const float scaleroom           = 0.28f;
 
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
 
 
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.
 
32
const int combtuningL1          = 1116;
 
33
const int combtuningR1          = 1116+stereospread;
 
34
const int combtuningL2          = 1188;
 
35
const int combtuningR2          = 1188+stereospread;
 
36
const int combtuningL3          = 1277;
 
37
const int combtuningR3          = 1277+stereospread;
 
38
const int combtuningL4          = 1356;
 
39
const int combtuningR4          = 1356+stereospread;
 
40
const int combtuningL5          = 1422;
 
41
const int combtuningR5          = 1422+stereospread;
 
42
const int combtuningL6          = 1491;
 
43
const int combtuningR6          = 1491+stereospread;
 
44
const int combtuningL7          = 1557;
 
45
const int combtuningR7          = 1557+stereospread;
 
46
const int combtuningL8          = 1617;
 
47
const int combtuningR8          = 1617+stereospread;
 
48
const int allpasstuningL1       = 556;
 
49
const int allpasstuningR1       = 556+stereospread;
 
50
const int allpasstuningL2       = 441;
 
51
const int allpasstuningR2       = 441+stereospread;
 
52
const int allpasstuningL3       = 341;
 
53
const int allpasstuningR3       = 341+stereospread;
 
54
const int allpasstuningL4       = 225;
 
55
const int allpasstuningR4       = 225+stereospread;
 
56
 
 
57
#endif//_tuning_
 
58
 
 
59
//ends
 
60