[PD] equal tempered scale object available
matju at sympatico.ca
Fri Nov 26 14:48:47 CET 2004
On Thu, 25 Nov 2004, Niklas Saers wrote:
> > Candid question: what's the advantage of that over the builtin [mtof]
> > class?...
> Mea culpa, I have not used expr much, so when I copied your example
> below into Pd I got "no such var 'fl'" when using ftom
That's probably because your font doesn't make a difference between the
digit one and the lowercase L. That or you didn't see it.
> (I expected this
> was what you wanted as the idea was going from a frequency to a number
> representation of the note).
Yes, my mistake, should've been [ftom].
> Using motf I get a syntax error.
I hope so, because the other one is actually called [mtof]... it's not
completely spelt backwards... it's not as in Bash or Algol.
> Performance-wise I'm not very happy with the Python implementation as
> I find it too slow for real-time use
depends on how many times you need to use it per second. I don't see why
Python would not be fast enough unless you process literally thousands of
notes per second... (no?) but then I haven't tried pyext.
Mathieu Bouchard -=- Montréal QC Canada -=- http://artengine.ca/matju
More information about the Pd-list