本文整理汇总了C++中Delay::reset方法的典型用法代码示例。如果您正苦于以下问题:C++ Delay::reset方法的具体用法?C++ Delay::reset怎么用?C++ Delay::reset使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Delay
的用法示例。
在下文中一共展示了Delay::reset方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: reset
// re-initialize all member variables;
inline void reset(double __sr, int __vs) {
__exception = 0;
vectorsize = __vs;
samplerate = __sr;
m_y_1 = 0;
m_history_2 = 0;
m_history_3 = 0;
m_history_4 = 0;
m_history_5 = 0;
m_history_6 = 0;
m_history_7 = 0;
m_history_8 = 0;
m_history_9 = 0;
m_y_10 = 0;
m_delay_11.reset("m_delay_11", 96000);
m_delay_12.reset("m_delay_12", 96000);
m_resonance_13 = 0;
m_cutoff_14 = 2250;
m_window_15 = 100;
m_mix_16 = 0.5;
m_blur_17 = 0.25;
m_ratio_18 = 0.5;
m_window_19 = 100;
m_ratio_20 = 2;
samples_to_seconds = (1 / samplerate);
m_phasor_21.reset(0);
m_delta_22.reset(0);
m_sah_23.reset(0);
m_sah_24.reset(0);
m_delta_25.reset(0);
m_sah_26.reset(0);
m_sah_27.reset(0);
m_delta_28.reset(0);
m_sah_29.reset(0);
m_sah_30.reset(0);
m_delta_31.reset(0);
m_sah_32.reset(0);
m_sah_33.reset(0);
m_phasor_34.reset(0);
m_delta_35.reset(0);
m_sah_36.reset(0);
m_sah_37.reset(0);
m_delta_38.reset(0);
m_sah_39.reset(0);
m_sah_40.reset(0);
m_delta_41.reset(0);
m_sah_42.reset(0);
m_sah_43.reset(0);
m_delta_44.reset(0);
m_sah_45.reset(0);
m_sah_46.reset(0);
genlib_reset_complete(this);
};
示例2: reset
// re-initialize all member variables;
inline void reset(double __sr, int __vs) {
__exception = 0;
vectorsize = __vs;
samplerate = __sr;
m_smth_1 = 0;
m_y_2 = 0;
m_delay_3.reset("m_delay_3", 44100);
m_tone_4 = 6000;
m_depth_5 = 1;
m_rate_6 = 5;
m_cycle_7.reset(samplerate, 0);
genlib_reset_complete(this);
};
示例3: reset
// re-initialize all member variables;
inline void reset(t_sample __sr, int __vs) {
__exception = 0;
vectorsize = __vs;
samplerate = __sr;
m_history_1 = 0;
m_history_2 = 0;
m_history_3 = 0;
m_history_4 = 0;
m_history_5 = 0;
m_delay_6.reset("m_delay_6", 5000);
m_delay_7.reset("m_delay_7", 7000);
m_delay_8.reset("m_delay_8", 15000);
m_delay_9.reset("m_delay_9", 6000);
m_delay_10.reset("m_delay_10", 16000);
m_delay_11.reset("m_delay_11", 48000);
m_delay_12.reset("m_delay_12", 10000);
m_delay_13.reset("m_delay_13", 12000);
m_delay_14.reset("m_delay_14", 48000);
m_delay_15.reset("m_delay_15", 48000);
m_delay_16.reset("m_delay_16", 48000);
m_delay_17.reset("m_delay_17", 48000);
m_damping_18 = 0.7;
m_revtime_19 = 11;
m_roomsize_20 = 75;
m_spread_21 = 23;
m_bandwidth_22 = 0.5;
m_tail_23 = 0.25;
m_dry_24 = 1;
m_early_25 = 0.25;
genlib_reset_complete(this);
};