[Csnd] Help removing clicks when converting i-rate to k-rate
Date | 2012-08-03 18:11 |
From | bbell |
Subject | [Csnd] Help removing clicks when converting i-rate to k-rate |
Hey guys, I'm trying to convert some i-rate parameters to k-rate so I can adjust the settings within max/msp and I'm running into some issues. Right now I'm using the algorithm Convert: ix = i(kx) timout 0, 1, Converted reinit Convert iy = i(ky) timout 0, 1, Converted reinit Convert iz = i(kz) timout 0, 1, Converted reinit Convert Converted: To change the i-rate to k-rate and that usually works with most of my .CSDs but with the current one I'm working on I'm getting clicks. I've tried adjusting the timout parameter to send messages at slower durations but I still get a click every time it reinits. Any suggestions for a work around? Perhaps a way to reinit only when a parameter is changed? -- View this message in context: http://csound.1045644.n5.nabble.com/Help-removing-clicks-when-converting-i-rate-to-k-rate-tp5714625.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-08-03 19:46 |
From | Adam Puckett |
Subject | Re: [Csnd] Help removing clicks when converting i-rate to k-rate |
ktrig changed kx, ky, kz if ktrig == 1 then reinit convert endif convert: ix = i(kx) iy = i(ky) iz = i(kz) rireturn Untested but should work. On 8/3/12, bbell |
Date | 2012-08-07 21:38 |
From | bbell |
Subject | [Csnd] Re: Help removing clicks when converting i-rate to k-rate |
Hey Adam, Thanks for the help, but I'm not hearing anything update with my example. Your algorithm is adding a strange metallic sound to the recording as well. This is for the planet opcode btw -- View this message in context: http://csound.1045644.n5.nabble.com/Help-removing-clicks-when-converting-i-rate-to-k-rate-tp5714625p5714729.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-08-16 20:48 |
From | "Colman O'Reilly" |
Subject | Re: [Csnd] Re: Help removing clicks when converting i-rate to k-rate |
This isn't really a Csound trick, but it might alleviate some of the clicking. There should be a check box option within the Max info window for the control (I'm sadly not at a computer with Max on it, so bear with me) that will only send the value of a knob on mouse release. Or there should also be a pretty straight forward way of using the [mousestate] object with a [select 0] to only send the value of a knob after you release your click. If you use this in conjunction with Adam's reinit/conditionals example, it will cut the number of reinits down to one (rather than it constantly reiniting as you turn the dial), and hopefully cut down the clicks. Now if someone has a UDO that would let you smoothly adjust an irate variable during performance, I would be really eager to check that out. Feel free to drop me a note off list and I'd be happy to take a look at your patch/csd and help if I'm able. Best, Colman On Tue, Aug 7, 2012 at 4:38 PM, bbell <lleb@live.com> wrote: Hey Adam, -- Colman O'Reilly Lead Sound Designer, Sonivox InMusic Brands 561 Windsor St., A402 Somerville, MA 02143
Cell: 703-587-2035 Fax: 617-718-0227 |