aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/help-notein.pd
blob: e727db7d6821fd5d37f032bd28b4de3f77da1810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#N canvas 255 1 494 655 10;
#X obj 32 12 notein;
#X text 133 97 inlets : none;
#X text 134 122 outlets:;
#X text 134 142 left: MIDI note number;
#X text 135 163 middle: velocity;
#X text 133 187 right: MIDI channel number;
#X obj 34 96 notein;
#X floatatom 35 145 5 0 0;
#X floatatom 52 166 5 0 0;
#X floatatom 72 188 5 0 0;
#X floatatom 42 383 5 0 0;
#X floatatom 91 383 5 0 0;
#X obj 42 350 notein 1;
#X text 105 349 notein listening only to channel 1;
#X text 7 396 note number;
#X text 101 396 velocity;
#N canvas 240 135 478 474 other_midi_objects 0;
#X obj 7 29 ctlin;
#X obj 49 29 pgmin;
#X obj 92 28 bendin;
#X obj 143 27 touchin;
#X obj 204 27 polytouchin;
#X obj 289 27 midiin;
#X obj 340 26 sysexin;
#X obj 6 85 noteout;
#X obj 63 84 ctlout;
#X obj 160 84 bendout;
#X obj 217 83 touchout;
#X obj 281 82 polytouchout;
#X obj 370 82 midiout;
#X obj 113 84 pgmout;
#X obj 11 153 makenote;
#X text 10 194 MIDI notes deconstruction:;
#X text 8 128 MIDI note construction:;
#X text 8 58 MIDI output:;
#X text 8 2 MIDI input:;
#X obj 15 226 stripnote;
#X text 11 266 Additional useful objects for MIDI processing (Maxlib
by Olaf Matthes);
#X obj 148 297 chord;
#X obj 109 296 borax;
#X obj 54 296 score o;
#X obj 13 296 pitch;
#X text 15 336 Also \, from cyclone (alpha) by Krzysztof Czaja:;
#X obj 16 359 midiformat;
#X obj 172 359 midiflush;
#X obj 98 359 midiparse;
#X text 15 386 and xeq \, from the same developer;
#X obj 16 411 xeq;
#X text 41 402 an experimental MIDI sequencer;
#X restore 144 497 pd other_midi_objects;
#X obj 17 497 noteout;
#X obj 13 286 stripnote;
#X text 78 287 is one of the ways to deal with this situation;
#X text 11 41 The [notein] object reads incoming MIDI notes and reports
their note number \, velocity and channel number. Without the argument
it reads from all MIDI channels (omni).;
#X obj 280 526 midi-basics;
#X text 14 526 for an explanation of MIDI usage in PD see:;
#X text 13 312 Arguments: the MIDI channel number from which to read
(with no argument it listens to all channels):;
#X text 80 13 - read incoming stream of MIDI notes.;
#X text 11 207 Note: remember that a 'note-off' is a note with velocity=0.
Therefore [notein] reports each note twice (note-on when a key on your
keyboard is pressed and note-off when the key is released). This could
be sometimes misleading when tracking notes.;
#X text 14 480 related objects;
#X floatatom 44 449 5 0 0;
#X floatatom 93 449 5 0 0;
#X text 9 462 note number;
#X text 103 462 velocity;
#X obj 44 416 notein 17;
#X text 107 415 notein listening only to channel 1 on port 2;
#X text 13 582 This document was created for PD version 0.35 by Michal
Seta as part of a project called pddp proposed by Krzysztof Czaja \,
managed and edited by Dave Sabine \, to build comprehensive documentation
for PD.;
#X connect 6 0 7 0;
#X connect 6 1 8 0;
#X connect 6 2 9 0;
#X connect 12 0 10 0;
#X connect 12 1 11 0;
#X connect 31 0 27 0;
#X connect 31 1 28 0;