182 |
cout << ", Velocity range="; |
cout << ", Velocity range="; |
183 |
if (reg->minVel == ::sf2::NONE && reg->maxVel == ::sf2::NONE) cout << "None"; |
if (reg->minVel == ::sf2::NONE && reg->maxVel == ::sf2::NONE) cout << "None"; |
184 |
else cout << reg->minVel << "-" << reg->maxVel; |
else cout << reg->minVel << "-" << reg->maxVel; |
185 |
|
cout << endl; |
186 |
|
|
187 |
|
cout << "\t\t Initial cutoff frequency="; |
188 |
|
if (reg->initialFilterFc == ::sf2::NONE) cout << "None" << endl; |
189 |
|
else cout << reg->initialFilterFc << "cents" << endl; |
190 |
|
|
191 |
|
cout << "\t\t Initial resonance="; |
192 |
|
if (reg->initialFilterQ == ::sf2::NONE) cout << "None" << endl; |
193 |
|
else cout << (reg->initialFilterQ / 10.0) << "dB" << endl; |
194 |
|
|
195 |
if (reg->exclusiveClass) cout << ", Exclusive group=" << reg->exclusiveClass; |
if (reg->exclusiveClass) cout << ", Exclusive group=" << reg->exclusiveClass; |
196 |
cout << endl; |
cout << endl; |
197 |
|
|
198 |
if (reg->pInstrument != NULL) { |
if (reg->pInstrument != NULL) { |
199 |
cout << "\t\t Instrument: " << reg->pInstrument->Name << endl; |
cout << "\t\t Instrument: " << reg->pInstrument->Name << endl << endl; |
200 |
} |
} |
201 |
|
|
202 |
|
cout << "\t\t Volume Envelope Generator" << endl; |
203 |
cout << "\t\t\tEG1PreAttackDelay=" << GetValue(reg->GetEG1PreAttackDelay()); |
cout << "\t\t\tEG1PreAttackDelay=" << GetValue(reg->GetEG1PreAttackDelay()); |
204 |
cout << "s, EG1Attack=" << GetValue(reg->GetEG1Attack()); |
cout << "s, EG1Attack=" << GetValue(reg->GetEG1Attack()); |
205 |
cout << "s, EG1Hold=" << GetValue(reg->GetEG1Hold()) << "s, EG1Decay="; |
cout << "s, EG1Hold=" << GetValue(reg->GetEG1Hold()) << "s, EG1Decay="; |
206 |
cout << GetValue(reg->GetEG1Decay()) << "s, EG1Sustain=" << GetValue(reg->GetEG1Sustain()); |
cout << GetValue(reg->GetEG1Decay()) << "s, EG1Sustain=" << GetValue(reg->GetEG1Sustain() / 10); |
207 |
cout << "permille, EG1Release=" << GetValue(reg->GetEG1Release()) << "s" << endl; |
cout << "dB, EG1Release=" << GetValue(reg->GetEG1Release()) << "s" << endl << endl; |
208 |
|
|
209 |
|
cout << "\t\t Modulation Envelope Generator" << endl; |
210 |
cout << "\t\t\tEG2PreAttackDelay=" << GetValue(reg->GetEG2PreAttackDelay()); |
cout << "\t\t\tEG2PreAttackDelay=" << GetValue(reg->GetEG2PreAttackDelay()); |
211 |
cout << "s, EG2Attack=" << GetValue(reg->GetEG2Attack()); |
cout << "s, EG2Attack=" << GetValue(reg->GetEG2Attack()); |
212 |
cout << "s, EG2Hold=" << GetValue(reg->GetEG2Hold()) << "s, EG2Decay="; |
cout << "s, EG2Hold=" << GetValue(reg->GetEG2Hold()) << "s, EG2Decay="; |
213 |
cout << GetValue(reg->GetEG2Decay()) << "s, EG2Sustain="; |
cout << GetValue(reg->GetEG2Decay()) << "s, EG2Sustain="; |
214 |
cout << GetValue(reg->GetEG2Sustain()) << "permille, EG2Release="; |
cout << GetValue(reg->GetEG2Sustain()) << "permille, EG2Release="; |
215 |
cout << GetValue(reg->GetEG2Release()) << "s" << endl; |
cout << GetValue(reg->GetEG2Release()) << "s" << endl; |
216 |
|
cout << "\t\t\tPitch=" << GetValue(reg->modEnvToPitch) << "cents, Cutoff="; |
217 |
|
cout << GetValue(reg->modEnvToFilterFc) << "cents" << endl << endl; |
218 |
|
|
219 |
cout << "\t\t Modulation LFO: Delay=" << ::sf2::ToSeconds(reg->delayModLfo) << "s, Frequency="; |
cout << "\t\t Modulation LFO: Delay=" << ::sf2::ToSeconds(reg->delayModLfo) << "s, Frequency="; |
220 |
cout << ::sf2::ToHz(reg->freqModLfo) << "Hz, LFO to Volume=" << (reg->modLfoToVolume / 10) << "dB"; |
cout << ::sf2::ToHz(reg->freqModLfo) << "Hz, LFO to Volume=" << (reg->modLfoToVolume / 10) << "dB"; |