CoinGate_kr::CoinGate_kr(int argc, t_atom *argv) { AtomList Args(argc,argv); rgen.init(timeseed()); prob = sc_getfloatarg(Args,0); FLEXT_ADDBANG(0,m_bang); FLEXT_ADDMETHOD_(0,"seed",m_seed); AddOutBang(); }
// constructor np_trancevibe() : mTranceVibe(NULL), mTimeout(10) { AddInAnything("Command Input"); AddInInt("Speed Input"); AddOutBang("Bangs on successful connection/command"); FLEXT_ADDMETHOD(0, trancevibe_anything); FLEXT_ADDMETHOD_(0, "auto_poll", run_speed_update); FLEXT_ADDMETHOD_(0, "stop_poll", stop_update); FLEXT_ADDMETHOD(1, set_speed); }
termination() { AddOutBang(); objs.insert(this); }