[Cs-dev] Plugin opcode with custom k-rate
Date | 2012-09-04 18:09 |
From | obaudouin |
Subject | [Cs-dev] Plugin opcode with custom k-rate |
Hi, I have read somewhere (?) that a plugin opcode could operate at its own (local) k-rate. If it is true, does antone can give me an example (and a reference into the documentation)? Example: sr = 44100 ksmps = 10 (and local ksmps = 100) Thank you, Olivier. ----- Olivier Baudouin, PhD http://olivierbaudouin.com MINT-OMF Paris-Sorbonne -- View this message in context: http://csound.1045644.n5.nabble.com/Plugin-opcode-with-custom-k-rate-tp5715428.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-09-05 16:46 |
From | obaudouin |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
No idea, really? ----- Olivier Baudouin, PhD http://olivierbaudouin.com MINT-OMF Paris-Sorbonne -- View this message in context: http://csound.1045644.n5.nabble.com/Plugin-opcode-with-custom-k-rate-tp5715428p5715475.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-09-05 17:02 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
I think there is confusion between UDOs that can have fractional ksmps, and opcodes which cannot?? > No idea, really? > > > > ----- > > Olivier Baudouin, PhD > http://olivierbaudouin.com > MINT-OMF > Paris-Sorbonne > > -- > View this message in context: > http://csound.1045644.n5.nabble.com/Plugin-opcode-with-custom-k-rate-tp5715428p5715475.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-09-05 17:06 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
UDOs can have their own k-rate. This can be set using setksmps. I'm not sure about opcodes, I think they are bound to the global k-rate, but when the internal variables get updated is up to you, so even if the global k-rate is set, you can still operate at your own update rate. If that makes any sense... On 5 September 2012 17:02, |
Date | 2012-09-05 17:12 |
From | obaudouin |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
Yes, I see. In UDOs, with setksmp: "you cannot use a local ksmps that is higher than the global ksmps". So, I cannot at all "slow down" a plugin opcode locally? ----- Olivier Baudouin, PhD http://olivierbaudouin.com MINT-OMF Paris-Sorbonne -- View this message in context: http://csound.1045644.n5.nabble.com/Plugin-opcode-with-custom-k-rate-tp5715428p5715478.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-09-05 17:17 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
Sorry Olivier, are you talking about plugins opcodes (i.e., compiled libraries), or UDOs? On 5 September 2012 17:12, obaudouin |
Date | 2012-09-05 17:20 |
From | obaudouin |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
about plugins opcodes not UDOs ----- Olivier Baudouin, PhD http://olivierbaudouin.com MINT-OMF Paris-Sorbonne -- View this message in context: http://csound.1045644.n5.nabble.com/Plugin-opcode-with-custom-k-rate-tp5715428p5715481.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-09-05 17:25 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
I haven't written any plugin opcodes but can't you just slow down the update rate yourself with local counters, i.e., count how many k periods you want to pass before updating your internals? Would this work? On 5 September 2012 17:20, obaudouin |
Date | 2012-09-05 17:26 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
Plugin opcodesare only kicked once per k-cycle. That is how csound works. Iside an opcode one can do many odd things, but you only get called at krate ==John ff > about plugins opcodes not UDOs > > > > ----- > > Olivier Baudouin, PhD > http://olivierbaudouin.com > MINT-OMF > Paris-Sorbonne > > -- > View this message in context: > http://csound.1045644.n5.nabble.com/Plugin-opcode-with-custom-k-rate-tp5715428p5715481.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-09-05 17:28 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
> I haven't written any plugin opcodes but can't you just slow down the > update rate yourself with local counters, i.e., count how many k > periods you want to pass before updating your internals? Would this > work? > > yes; that is how the pvs opcodes work ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-09-05 17:30 |
From | obaudouin |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
Thanks! ----- Olivier Baudouin, PhD http://olivierbaudouin.com MINT-OMF Paris-Sorbonne -- View this message in context: http://csound.1045644.n5.nabble.com/Plugin-opcode-with-custom-k-rate-tp5715428p5715485.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-09-05 17:59 |
From | Victor |
Subject | Re: [Cs-dev] Plugin opcode with custom k-rate |
Other opcodes also do something like that too. For instance, the centroid opcode only calculates a centroid when a trigger is set. Victor On 5 Sep 2012, at 17:30, obaudouin |