Is there an object that will a display MIDI note name instead of number?
Thanks, -b
Bradford Reed wrote:
Is there an object that will a display MIDI note name instead of number?
[pitch] from maxlib (http://www.akustische-kunst.org/puredata/maxlib/) can do this.
Olaf
Hallo, Olaf Matthes hat gesagt: // Olaf Matthes wrote:
Bradford Reed wrote:
Is there an object that will a display MIDI note name instead of number?
[pitch] from maxlib (http://www.akustische-kunst.org/puredata/maxlib/) can do this.
Or you could try to build something like that on your own using:
| [mod 12] | [select 0 1 ...] | | [C( [C#( ...
Put it in an abstraction, and you can reuse it later on. Using
[/ 12] | [int]
You can get at octaves as well. The "Max and Pitch" tutorials here: http://www.sfu.ca/sca/Manuals/247/Max/Max.html are really wonderful, although they don't translate completely to Pd. (But if you know, that "%" in Max is "mod" in Pd, you'll come very far.)
Frank Barknecht _ ______footils.org__
Hallo, guenter geiger hat gesagt: // guenter geiger wrote:
On Tue, 2 Nov 2004, Frank Barknecht wrote:
although they don't translate completely to Pd. (But if you know, that "%" in Max is "mod" in Pd, you'll come very far.)
Wow, didn't know that. As far as I can remember I always used "%".
Oh, well, it seems, "%" is also working, but I always used "mod" because it's longer to type.
Frank Barknecht _ ______footils.org__
Frank Barknecht wrote:
You can get at octaves as well. The "Max and Pitch" tutorials here: http://www.sfu.ca/sca/Manuals/247/Max/Max.html are really wonderful, although they don't translate completely to Pd. (But if you know, that "%" in Max is "mod" in Pd, you'll come very far.)
This is only almost true: % in Max (and Pd) is a mathematical correct modulo operator, that means it pulls out negative values on negativ input.
mod in Pd is much more usable, because it will stay always in the positive world, its more a wrapper than a mathematical modulo object. (I liked the behaviour of mod so much that I made an abhaXion for Max called 'mod')
Stefan
On Thu, 04 Nov 2004 10:07:50 +0100, Stefan Tiedje
Stefan-Tiedje@addcom.de wrote:
mod in Pd is much more usable, because it will stay always in the
positive world, its more a wrapper than a mathematical modulo object. (I liked the behaviour of mod so much that I made an abhaXion for Max
called 'mod')
And it is undocumented. This thread is the first I heard of it. I did a
quick grep of /usr/local/lib/pd/documentation. It is only seen in the
reference help file of until, and in 2 example patches.
The good news is that I can now simplify a lot of my patches.
Gerard
Stefan
On Thu, 4 Nov 2004, Stefan Tiedje wrote:
You can get at octaves as well. The "Max and Pitch" tutorials here: http://www.sfu.ca/sca/Manuals/247/Max/Max.html are really wonderful, although they don't translate completely to Pd. (But if you know, that "%" in Max is "mod" in Pd, you'll come very far.)
This is only almost true: % in Max (and Pd) is a mathematical correct modulo operator, that means it pulls out negative values on negativ input.
Excuse me, but after a few years of algebra, I can't think of [%] as "mathematically correct". When working out modulo-arithmetic and quotient-rings, the canonical-projection is defined in terms of [mod], not of [%]. In modulo n, any pair of numbers that are n apart are considered equal; so in modulo 5, -2=3, -1=4, etc.
mod in Pd is much more usable, because it will stay always in the positive world, its more a wrapper than a mathematical modulo object.
The idea behind quotient-rings is to be a wrapper.
Mathieu Bouchard -=- Montréal QC Canada -=- http://artengine.ca/matju
I wrote a simple extern called 'spectonote' that takes a floating point frequency value and outputs pitch class (i.e. note name), octave class and centage deviation. I don't know if this is what you need, but it can be downloaded at:
http://www.postlude.co.uk/download/
You need to follow the link for the PD extern tarball.
Jamie
-----Original Message----- From: pd-list-admin@iem.at [mailto:pd-list-admin@iem.at] On Behalf Of Bradford Reed Sent: 02 November 2004 16:39 To: pd-list@iem.at Subject: [PD] displaying MIDI note names?
Is there an object that will a display MIDI note name instead of number?
Thanks, -b