[Cs-dev] monitor opcode
Date | 2006-05-15 09:00 |
From | matt ingalls |
Subject | [Cs-dev] monitor opcode |
i have used a simple opcode in the past that i called 'monitor' that simply returns the spout frame - to be used for monitoring the output signal-[ not processing! ] - i usually do something like: aoutl, aoutr monitor krmsl rms aoutl krmsr rms aoutr outvalue "leftrms", krmsl/0dbfs ; send to our meter gui object outvalue "rightrms", krmsr/0dbfs ; send to our meter gui object it seems to be much more useful than adding outputs of all instruments to a global variable... would this opcode be useful to add to the csound sources? if so, i could check in my code for this, but it might just be easier if Istvan or someone added it themselves? maybe 'master' or 'mix' or 'mains' or something would be a better name? thanks, matt |
Date | 2006-05-15 09:33 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] monitor opcode |
I think you should add it. At 09:00 15/05/2006, you wrote: >i have used a simple opcode in the past that i called 'monitor' >that simply returns the spout frame - to be used for monitoring >the output signal-[ not processing! ] - i usually do something like: > > >aoutl, aoutr monitor >krmslrms aoutl >krmsr rms aoutr >outvalue "leftrms", krmsl/0dbfs ; send to our meter gui object >< SPAN>outvalue "rightrms", krmsr/0dbfs ; send to our meter gui object > > > >it seems to be much more useful than adding outputs of all instruments to >a global variable... > >would this opcode be useful to add to the csound sources? >if so, i could check in my code for this, but it might just be easier if >Istvan or someone added it themselves? > >maybe 'master' or 'mix' or 'mains' or something would be a >better name? > >thanks, >matt Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-15 12:00 |
From | Istvan Varga |
Subject | Re: [Cs-dev] monitor opcode |
Attachments | None |
Date | 2006-05-16 15:11 |
From | Istvan Varga |
Subject | Re: [Cs-dev] monitor opcode |
Attachments | None |
Date | 2006-05-16 15:26 |
From | Istvan Varga |
Subject | Re: [Cs-dev] monitor opcode |
Attachments | None |
Date | 2006-05-16 16:23 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] monitor opcode |
No this is the cs-dev list behaving badly. I sent this message many days ago. At 15:11 16/05/2006, you wrote: >I already added a 'monitor' opcode, but if the one I wrote is not >good for some reason, it can be replaced. > >On Monday 15 May 2006 10:33, Victor Lazzarini wrote: > > > I think you should add it. > > > > At 09:00 15/05/2006, you wrote: > > >i have used a simple opcode in the past that i called 'monitor' > > >that simply returns the spout frame - to be used for monitoring > > >the output signal-[ not processing! ] - i usually do something like: > > > > > > > > >aoutl, aoutr monitor > > >krmslrms aoutl > > >krmsr rms aoutr > > >outvalue "leftrms", krmsl/0dbfs ; send to our meter gui object > > >< SPAN>outvalue "rightrms", krmsr/0dbfs ; send to our meter gui object > > > > > > > > > > > >it seems to be much more useful than adding outputs of all instruments to > > >a global variable... > > > > > >would this opcode be useful to add to the csound sources? > > >if so, i could check in my code for this, but it might just be easier if > > >Istvan or someone added it themselves? > > > > > >maybe 'master' or 'mix' or 'mains' or something would be a > > >better name? > > >------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-16 18:00 |
From | matt ingalls |
Subject | Re: [Cs-dev] monitor opcode |
great - thanks! On May 15, 2006, at 4:00 AM, Istvan Varga wrote: > On Monday 15 May 2006 10:00, matt ingalls wrote: > >> i have used a simple opcode in the past that i called 'monitor' >> that simply returns the spout frame - to be used for monitoring >> the output signal-[ not processing! ] - i usually do something like: > > The opcode is now added: > > static int monitor_opcode(CSOUND *csound, MONITOR_OPCODE *p) > { > int i, j; > > if (csound->spoutactive) { > int k = 0; > i = 0; > do { > j = 0; > do { > p->ar[j][i] = csound->spout[k++]; > } while (++j < csound->nchnls); > } while (++i < csound->ksmps); > } > else { > j = 0; > do { > i = 0; > do { > p->ar[j][i] = FL(0.0); > } while (++i < csound->ksmps); > } while (++j < csound->nchnls); > } > return OK; > } > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-17 13:03 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Cs-dev] monitor opcode |
please make sure that the manpages are submitted too. -dB On May 15, 2006, at 7:00 AM, Istvan Varga wrote: > On Monday 15 May 2006 10:00, matt ingalls wrote: > >> i have used a simple opcode in the past that i called 'monitor' >> that simply returns the spout frame - to be used for monitoring >> the output signal-[ not processing! ] - i usually do something like: > > The opcode is now added: > > static int monitor_opcode(CSOUND *csound, MONITOR_OPCODE *p) > { > int i, j; > > if (csound->spoutactive) { > int k = 0; > i = 0; > do { > j = 0; > do { > p->ar[j][i] = csound->spout[k++]; > } while (++j < csound->nchnls); > } while (++i < csound->ksmps); > } > else { > j = 0; > do { > i = 0; > do { > p->ar[j][i] = FL(0.0); > } while (++i < csound->ksmps); > } while (++j < csound->nchnls); > } > return OK; > } > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |