Forums > MaxMSP

Unable to send rate multiplier to rate~ using send~ — possible bug?

March 9, 2013 | 9:00 am

Here's a patch demonstrating the issue

– Pasted Max Patch, click to expand. –

When I run this I'm getting no output from the rate~ connected using send~. Does anyone know of a reason for this?

Max 6.08
Windows 7

[attachment=217139,5153]

Attachments:
  1. RateIssue.jpg


ak
March 9, 2013 | 11:43 pm

Probably "rate" has a special meaning as receive symbol. Using other name (eg "rate1") solves the problem (here).


March 10, 2013 | 10:34 am

Thank for the reply. That's really good to know, but actually in the patch I was using the dens is called rateA so I've slightly confused the issue I'm afraid. By clearing up that this should work you've definitely helped – I just discovered the problem is that I was (I think) inadvertently sending rate~ some 0 signals. I'm adjusting it with techno~ and although it should only be sending signals between 1-12 it seems not to be the case as I get -1.IND if the connection is probed (see pic). I don't totally understand it, but [clip~ 1. 12.] before the rate~ multiplier seems to fix the issue.

[attachment=217240,5156]

Attachments:
  1. ratecrop.jpg


ak
March 10, 2013 | 12:45 pm

The issue has something to do with how dsp chain is created. Give any random name to your s~/r~ pair and restart DSP – the issue occurs. I think it's related to some internals of rate~ object or how DSP chain is optimized. Definitely "patch smell".

– Pasted Max Patch, click to expand. –

[attachment=217243,5158]

Attachments:
  1. Zrzutekranu20130310o13.32.57.png

March 10, 2013 | 1:40 pm

Yeah, my clip~ fix has fallen apart. The ramp out of rate~ seems to temporarily go below 0 at times. odd.


Viewing 5 posts - 1 through 5 (of 5 total)