I’m making a patch to synthesis sound using a bank of oscillators. I am using sigmund~ to get the data and have the hop size and max’s signal vector size at 128 samples with audio interrupt enabled.
This means that each oscillator should updated every 2.9ms and I need these values to be interpolated during the 2.9ms. The problem is that line~ will only allow me to specify 2 or 3ms but not 128 samples.
I was thinking about rampsmooth~ but I’m not sure what’s actually going on under the hood. I reckon I would have to give it a signal with a single updated value every 128 samples (which I suppose isn’t impossible) but I’m hoping someone has a better idea.
I suspect what would work best for you is the ioscbank~ object (see its ‘magsmooth’ message).
For the record, you can give line~ the equivalent of a 128-sample ramp time using sampstoms~.
----------begin_max5_patcher---------- 415.3ocuTF0aBBCDG+Y3SQSelYfhn3daeNVLKUnpcCZI1xlaF2m80dE1Tiap .YIjKg6t19+9cW6NeO7B4VlBitG8HxyamumG3x5vq4eObIcaVAUAogEr2jKd FG3BoYa0f6BIMeAUrpMfntTVqKXZXUQMdctzuWwbGIFVBZdS3kRgVw+.BFQF E13thpyVyEqdZCKS6VHYpMLxYmDZsDi86cxb7bwomtc6EzRX6wOrgSKZUKOG 7YJr6hhvVe688slf9QEZtRS00Jjhu5U04YC42XCN.g4BcOvyrIfc1eiGxsfm zAjNJZYkRKKUedijwPSgUcH7RybWmHTbBPnHBL6jRFvInjADQUzrWPgiLe23 EqNM0PF6XRJbqZx.N1DOfLofKXcehoyu3z.G2bS7PBGxgvA1OnFO4YYPSV+G SLkrdSVaY17.V.5GYkyTZtfp4RwAIkdTNq444LHbK.J44URyiOMZ.M+rsuqU RIlSK5BJJ9nbtnhFaZGIlULF5JjYSglyw+4taSRCgLcMqdUGoWQcj7uR13qn WS5ghL+r2+K.Khb3nA -----------end_max5_patcher-----------
You might check out the ab-signal objects under Andrew Benson here: http://www.cycling74.com/share.html
I think some combination of those objects will help.
Line allows for fractions of a millisecond to be specified? Ah, I didn’t realize that!