From 9feb6e05094eeeb2e13126bcc2258cd5aa1be0b1 Mon Sep 17 00:00:00 2001 From: musil Date: Fri, 10 Mar 2006 01:59:44 +0000 Subject: help to the end of names of help-patches svn path=/trunk/externals/iem/iem_ambi/; revision=4681 --- help/test-ambi_rot.pd | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/ambi_decode.c | 2 +- src/ambi_decode2.c | 2 +- src/ambi_decode3.c | 2 +- src/ambi_decode_cube.c | 2 +- src/ambi_encode.c | 2 +- src/ambi_rot.c | 2 +- 7 files changed, 86 insertions(+), 6 deletions(-) create mode 100644 help/test-ambi_rot.pd diff --git a/help/test-ambi_rot.pd b/help/test-ambi_rot.pd new file mode 100644 index 0000000..e859374 --- /dev/null +++ b/help/test-ambi_rot.pd @@ -0,0 +1,80 @@ +#N canvas 44 25 726 496 10; +#X text 230 40 phi ... azimut \, positiv direction from nose to left +ear; +#X text 228 18 delta ... elevation \, positiv direction from nose to +top of the head; +#X floatatom 52 76 6 -180 180 0 - - -; +#X obj 29 76 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 128 76 6 -180 180 0 - - -; +#X text 129 59 rho_y; +#X text 54 59 rho_z; +#X floatatom 195 76 6 -180 180 0 - - -; +#X text 197 59 rho_x; +#X obj 127 149 pack 0 0 0; +#X obj 195 120 t b f; +#X obj 128 120 t b f; +#X obj 52 93 deg2rad; +#X obj 128 94 deg2rad; +#X obj 195 95 deg2rad; +#X text 241 6 AMBISONIC Encoder 4.Order 3-Dimensional; +#X text 254 73 umkehrung der matrizen multiplikation: funktioniert +nicht; +#X obj 63 393 print r1; +#X obj 174 390 print r2; +#X obj 292 389 print r3; +#X obj 407 387 print r4; +#X text 10 8 test-ambi_rot.pd; +#X obj 63 342 mtx_mul; +#X obj 389 275 pack 0 0 0; +#X obj 389 214 unpack 0 0 0; +#X obj 389 237 * -1; +#X obj 126 172 t l l; +#X obj 174 341 mtx_mul; +#X obj 292 339 mtx_mul; +#X obj 407 338 mtx_mul; +#X obj 422 238 * -1; +#X obj 455 237 * -1; +#X obj 389 300 ambi_rot 4; +#X obj 63 244 ambi_rot 4; +#X obj 63 365 round_zero 1e-007; +#X obj 174 364 round_zero 1e-007; +#X obj 292 365 round_zero 1e-007; +#X obj 407 362 round_zero 1e-007; +#X connect 2 0 12 0; +#X connect 3 0 2 0; +#X connect 4 0 13 0; +#X connect 7 0 14 0; +#X connect 9 0 26 0; +#X connect 10 0 9 0; +#X connect 10 1 9 2; +#X connect 11 0 9 0; +#X connect 11 1 9 1; +#X connect 12 0 9 0; +#X connect 13 0 11 0; +#X connect 14 0 10 0; +#X connect 22 0 34 0; +#X connect 23 0 32 0; +#X connect 24 0 25 0; +#X connect 24 1 30 0; +#X connect 24 2 31 0; +#X connect 25 0 23 0; +#X connect 26 0 33 0; +#X connect 26 1 24 0; +#X connect 27 0 35 0; +#X connect 28 0 36 0; +#X connect 29 0 37 0; +#X connect 30 0 23 1; +#X connect 31 0 23 2; +#X connect 32 0 22 1; +#X connect 32 1 27 1; +#X connect 32 2 28 1; +#X connect 32 3 29 1; +#X connect 33 0 22 0; +#X connect 33 1 27 0; +#X connect 33 2 28 0; +#X connect 33 3 29 0; +#X connect 34 0 17 0; +#X connect 35 0 18 0; +#X connect 36 0 19 0; +#X connect 37 0 20 0; diff --git a/src/ambi_decode.c b/src/ambi_decode.c index db030cf..466244f 100644 --- a/src/ambi_decode.c +++ b/src/ambi_decode.c @@ -720,5 +720,5 @@ void ambi_decode_setup(void) class_addmethod(ambi_decode_class, (t_method)ambi_decode_ambi_weight, gensym("ambi_weight"), A_GIMME, 0); class_addmethod(ambi_decode_class, (t_method)ambi_decode_sing_range, gensym("sing_range"), A_DEFFLOAT, 0); class_addmethod(ambi_decode_class, (t_method)ambi_decode_pinv, gensym("pinv"), 0); - class_sethelpsymbol(ambi_decode_class, gensym("iemhelp2/help-ambi_decode")); + class_sethelpsymbol(ambi_decode_class, gensym("iemhelp2/ambi_decode-help")); } diff --git a/src/ambi_decode2.c b/src/ambi_decode2.c index 2e5caf9..bebb10b 100644 --- a/src/ambi_decode2.c +++ b/src/ambi_decode2.c @@ -820,5 +820,5 @@ void ambi_decode2_setup(void) class_addmethod(ambi_decode2_class, (t_method)ambi_decode2_ambi_weight, gensym("ambi_weight"), A_GIMME, 0); class_addmethod(ambi_decode2_class, (t_method)ambi_decode2_sing_range, gensym("sing_range"), A_DEFFLOAT, 0); class_addmethod(ambi_decode2_class, (t_method)ambi_decode2_pseudo_inverse, gensym("pseudo_inverse"), A_GIMME, 0); - class_sethelpsymbol(ambi_decode2_class, gensym("iemhelp2/help-ambi_decode2")); + class_sethelpsymbol(ambi_decode2_class, gensym("iemhelp2/ambi_decode2-help")); } diff --git a/src/ambi_decode3.c b/src/ambi_decode3.c index 6724924..ae8740a 100644 --- a/src/ambi_decode3.c +++ b/src/ambi_decode3.c @@ -768,5 +768,5 @@ void ambi_decode3_setup(void) class_addmethod(ambi_decode3_class, (t_method)ambi_decode3_begin_pseudo_inverse, gensym("begin_pseudo_inverse"), 0); class_addmethod(ambi_decode3_class, (t_method)ambi_decode3_ipht_ireal_muladd, gensym("ipht_ireal_muladd"), A_GIMME, 0); class_addmethod(ambi_decode3_class, (t_method)ambi_decode3_end_pseudo_inverse, gensym("end_pseudo_inverse"), 0); - class_sethelpsymbol(ambi_decode3_class, gensym("iemhelp2/help-ambi_decode3")); + class_sethelpsymbol(ambi_decode3_class, gensym("iemhelp2/ambi_decode3-help")); } diff --git a/src/ambi_decode_cube.c b/src/ambi_decode_cube.c index 741781d..8e0d643 100644 --- a/src/ambi_decode_cube.c +++ b/src/ambi_decode_cube.c @@ -795,5 +795,5 @@ void ambi_decode_cube_setup(void) class_addmethod(ambi_decode_cube_class, (t_method)ambi_decode_cube_mirror_weight, gensym("mirror_weight"), A_DEFFLOAT, 0); class_addmethod(ambi_decode_cube_class, (t_method)ambi_decode_cube_mirror_range, gensym("mirror_range"), A_DEFFLOAT, A_DEFFLOAT, 0); class_addmethod(ambi_decode_cube_class, (t_method)ambi_decode_cube_real_sum_range, gensym("real_sum_range"), A_DEFFLOAT, A_DEFFLOAT, 0); - class_sethelpsymbol(ambi_decode_cube_class, gensym("iemhelp/help-ambi_decode_cube")); + class_sethelpsymbol(ambi_decode_cube_class, gensym("iemhelp/ambi_decode_cube-help")); } diff --git a/src/ambi_encode.c b/src/ambi_encode.c index 3ca69a2..c4b9f0f 100644 --- a/src/ambi_encode.c +++ b/src/ambi_encode.c @@ -429,5 +429,5 @@ void ambi_encode_setup(void) class_addmethod(ambi_encode_class, (t_method)ambi_encode_row, gensym("row"), A_GIMME, 0); class_addmethod(ambi_encode_class, (t_method)ambi_encode_col, gensym("col"), A_GIMME, 0); class_addmethod(ambi_encode_class, (t_method)ambi_encode_ambi_weight, gensym("ambi_weight"), A_GIMME, 0); - class_sethelpsymbol(ambi_encode_class, gensym("iemhelp2/help-ambi_encode")); + class_sethelpsymbol(ambi_encode_class, gensym("iemhelp2/ambi_encode-help")); } diff --git a/src/ambi_rot.c b/src/ambi_rot.c index 2e23a10..1433bbb 100644 --- a/src/ambi_rot.c +++ b/src/ambi_rot.c @@ -1530,5 +1530,5 @@ void ambi_rot_setup(void) sizeof(t_ambi_rot), 0, A_DEFFLOAT, 0); class_addfloat(ambi_rot_class, (t_method)ambi_rot_float); class_addlist(ambi_rot_class, (t_method)ambi_rot_list); - class_sethelpsymbol(ambi_rot_class, gensym("iemhelp2/help-ambi_rot")); + class_sethelpsymbol(ambi_rot_class, gensym("iemhelp2/ambi_rot-help")); } -- cgit v1.2.1