comparison plugin/plugins/SamplePlayer.h @ 143:0f0c9cf65d5e

* Add Hz tuning dial to sample player plugin. Need to figure out the best way to get this passed through from the main program's configuration. * Add ConfigFile class to deal with configuration load/save * Add an organ sample (it's a bit big, though)
author Chris Cannam
date Wed, 26 Jul 2006 15:32:10 +0000
parents b2067aff8cd6
children 9a6b50d3cc50
comparison
equal deleted inserted replaced
142:0ba66b160a02 143:0f0c9cf65d5e
37 37
38 enum { 38 enum {
39 OutputPort = 0, 39 OutputPort = 0,
40 RetunePort = 1, 40 RetunePort = 1,
41 BasePitchPort = 2, 41 BasePitchPort = 2,
42 SustainPort = 3, 42 ConcertAPort = 3,
43 ReleasePort = 4, 43 SustainPort = 4,
44 PortCount = 5 44 ReleasePort = 5,
45 PortCount = 6
45 }; 46 };
46 47
47 enum { 48 enum {
48 Polyphony = 128 49 Polyphony = 128
49 }; 50 };
77 void addSample(int, unsigned long, unsigned long); 78 void addSample(int, unsigned long, unsigned long);
78 79
79 float *m_output; 80 float *m_output;
80 float *m_retune; 81 float *m_retune;
81 float *m_basePitch; 82 float *m_basePitch;
83 float *m_concertA;
82 float *m_sustain; 84 float *m_sustain;
83 float *m_release; 85 float *m_release;
84 86
85 float *m_sampleData; 87 float *m_sampleData;
86 size_t m_sampleCount; 88 size_t m_sampleCount;