本文整理汇总了C++中Accum::finish方法的典型用法代码示例。如果您正苦于以下问题:C++ Accum::finish方法的具体用法?C++ Accum::finish怎么用?C++ Accum::finish使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Accum
的用法示例。
在下文中一共展示了Accum::finish方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Jezar
MyApp(){
seed = 1;
tmr.period(2);
tmr.finish();
// Specify a reverb preset
//reverb.resize(gam::JCREVERB); // Chowning (4-comb, 3-allpass)
reverb.resize(gam::FREEVERB); // Jezar (8-comb, 4-allpass)
// Or invent your own...
//reverb.resize({1289, 2951, 2013}, {499, 951}); // pretty smooth
//reverb.resize({3229, 3281, 4833}, {4487, 4097}); // crunchy
//reverb.resize({3387, 3255, 3121}, {583, 491}); // colored
//reverb.resize({3431, 4403, 5813}, {1645, 1299});
//reverb.resize({1323, 1807, 1945, 2045}, {1559, 797, 297}); // pretty smooth
//reverb.resize({1305, 1503, 1581, 1837}, {709, 535, 237}); // also smooth
//reverb.resize({3013, 3799, 3479, 1799}, {335, 689, 907}); // less diffuse
// Set decay length, in seconds
reverb.decay(8);
// Set high-frequency damping factor in [0, 1]
reverb.damping(0.2);
}