blob: ebd506b5a159b12e59a625c2bbc0a08345222d1b (
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
|
#N canvas 0 0 555 619 10;
#X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -228856 -66577 0;
#X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header mtof~ 3 12 0 18
-204280 -1 0;
#X obj 0 418 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#N canvas 52 243 494 344 META 0;
#X text 12 105 PLATFORM windows macosx gnulinux;
#X text 12 165 LIBRARY internal;
#X text 12 205 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 12 65 LICENSE SIBSD;
#X text 12 185 AUTHOR Miller Puckette;
#X text 12 265 HELP_PATCH_AUTHORS Updated for Pd version 0.33. Jonathan
Wilkes revised the patch to conform to the PDDP template for Pd version
0.42.;
#X text 12 5 GENRE help;
#X text 12 45 KEYWORDS signal conversion MIDI;
#X text 12 85 DESCRIPTION MIDI to frequency conversion for audio signals
;
#X text 12 25 NAME mtof~;
#X text 12 125 INLET_0 signal;
#X text 12 145 OUTLET_0 signal;
#X text 12 225 RELEASE_DATE 1997;
#X text 12 245 RELEASE_VERSION;
#X restore 500 597 pd META;
#X obj 0 455 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj 0 492 cnv 3 550 3 empty \$0-pddp.cnv.argument argument 8 12
0 13 -228856 -1 0;
#X obj 0 520 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12
0 13 -228856 -1 0;
#X obj 78 427 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 98 496 (none);
#N canvas 107 445 428 145 Related_objects 0;
#X obj 23 43 ftom~;
#X obj 70 43 dbtorms~;
#X obj 138 43 rmstodb~;
#X obj 207 43 dbtopow~;
#X obj 273 43 powtodb~;
#X obj 23 102 mtof;
#X obj 68 102 ftom;
#X obj 111 102 dbtorms;
#X obj 176 102 rmstodb;
#X obj 242 102 dbtopow;
#X obj 304 102 powtodb;
#X text 20 79 Control objects for conversion:;
#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 8 2 [mtof~] Related Objects;
#X restore 102 597 pd Related_objects;
#X obj 482 3 mtof~;
#X obj 209 149 mtof~;
#X obj 209 205 snapshot~;
#X floatatom 209 236 0 0 0 0 - - -;
#X floatatom 209 100 0 0 0 0 - - -;
#X obj 209 124 sig~;
#X obj 256 179 metro 100;
#X obj 256 149 loadbang;
#X obj 455 20 pddp/pddplink http://wiki.puredata.info/en/mtof~ -text
pdpedia: mtof~;
#X text 98 426 signal;
#X obj 78 464 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 98 464 signal;
#X text 99 524 This object takes an audio signal as input and output
(and works sample by sample.) Since it calls a library math function
\, it may be much more expensive than other workaday tilde objects
such as *~ and osc~ \, depending on your hardware and math library.
;
#X text 11 23 MIDI to frequency conversion for audio signals;
#X text 99 265 The [mtof~] object transposes a midi value into a frequency
in Hertz \, so that "69" goes to "440". You can specify microtonal
pitches as in "69.5" (a quarter tone higher than 69).;
#X obj 4 597 pddp/pddplink pddp/help.pd -text help;
#X obj 455 51 pddp/dsp-reminder;
#X connect 11 0 12 0;
#X connect 12 0 13 0;
#X connect 14 0 15 0;
#X connect 15 0 11 0;
#X connect 16 0 12 0;
#X connect 17 0 16 0;
|