if (value == p->last_value && *p->chn == p->lastchn && *p->num == p->lasctrl) return OK; On Sun, Nov 27, 2011 at 02:51:38PM +0000, Victor Lazzarini wrote: > You mean if (value != p->last_value || *p->chn != p->lastchn || *p->num != p->lasctrl), probably? > On 27 Nov 2011, at 14:33, Tito Latini wrote: > > > These functions are also used by the krate opcodes, > > therefore I think that the check served to avoid > > to send the same messages to the synth. For example, > > with ksmps=64, we also have about 690 midi cc/s when > > the value in csound doesn't change. It is better perhaps > > (chan_check && cc_check && value_check) > > > > tito > > > > On Sun, Nov 27, 2011 at 02:08:58PM +0000, Victor Lazzarini wrote: > >> Ok, thanks, I've made the changes. But I am wondering whether if these checks were there we should keep them and check for channel/controller matches. Anyway, for now this is enough. > >> > >> Victor > >> > >> On 27 Nov 2011, at 13:55, Tito Latini wrote: > >> > >>> Victor, IDEM in midiout.c for the following opcodes: > >>> out_aftertouch, out_poly_aftertouch, out_progchange (prog_num instead last_value), > >>> out_controller14, out_pitch_bend > >>> > >>> tito > >>> > >>> > >>> Send bugs reports to the Sourceforge bug tracker > >>> https://sourceforge.net/tracker/?group_id=81968&atid=564599 > >>> Discussions of bugs and features can be posted here > >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > >>> > >> > >> Dr Victor Lazzarini > >> Senior Lecturer > >> Dept. of Music > >> NUI Maynooth Ireland > >> tel.: +353 1 708 3545 > >> Victor dot Lazzarini AT nuim dot ie > >> > >> > >> > >> > >> > >> Send bugs reports to the Sourceforge bug tracker > >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 > >> Discussions of bugs and features can be posted here > >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > >> > > > > > > Send bugs reports to the Sourceforge bug tracker > > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > > Discussions of bugs and features can be posted here > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > > > > Dr Victor Lazzarini > Senior Lecturer > Dept. of Music > NUI Maynooth Ireland > tel.: +353 1 708 3545 > Victor dot Lazzarini AT nuim dot ie > > > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"