I am trying to use an old patch that uses Stephan Kay's old scaleX, but
i seem to have lost the object. Google as i might i don't see it
anywhere... Anyone know where Stephan Kay keeps his Max externals for
He never updated the old OS 9 versions as far as I know, thats why I
started to make abhaXions. My attempt for scaleX is the following:
(Though I do have the help file, I don't know if it resembles the
original in every aspect....)
Thanks Peter & Stefan... there are other scale things that i can use,
including the old ircam one (which is now included as "scale" or where
these different?) .... and i've even coded one up that i use in python
for use with other languages, but i was hoping i could just drop the
external in since i am likely to have more than one patch that looks
for it. I didn't know that Kay no longer supports those... I thought
they were pretty current... i guess i am a bit out of touch, things
move so fast in the Max/MSP world now.
I am guessing that scaleX and scale both do something like (pardon the
def scaleX(in_seq, low, hi):
range1 = max(in_seq) - min(in_seq)
range2 = hi - low
in_low = min(in_seq)
ratio = range2/range1
return [ ((x-in_low) * ratio + low) for x in in_seq ]
On 16-Mar-2006, at 2:37, kevin parks wrote:
> but i was hoping i could just drop the external in since i am
> likely to have more than one patch that looks for it.
That's why I suggested naming the abstraction scaleX. Put it
somewhere in your search path an Max will never notice the difference
when opening your old patches.
> I am guessing that scaleX and scale both do something like
> flag for exponential mode
That's the rub. If you need a plug-compatible replacement, then you
may need to work out exactly how Stephan's version worked. There are
a couple of different ways of calculating a curved transfer function.
I've written code for at least three different approaches to this,
and one of them is probably what Stephan did. But which one?
If you can track him down, Stephan might let you know.
Good luck -- P
-------------- http://www.bek.no/~pcastine/Litter/ -------------
Peter Castine | +--> Litter Power & Litter Bundle for Jitter
email@example.com | iCE: Sequencing, Recording, and Interface Building
firstname.lastname@example.org | for Max/MSP
email@example.com | http://www.dspaudio.com/ Extremely cool
| home|chez nous|wir|i nostri http://www.castine.de/