ログインしてさらにmixiを楽しもう

コメントを投稿して情報交換!
更新通知を受け取って、最新情報をゲット!

MAX/MSP ビギナーコミュの質問です

  • mixiチェック
  • このエントリーをはてなブックマークに追加
maxでディレイのvstを作っています。
その際、ディレイの間隔を1/2や1/4三連符などにhost同期の機能を入れたいのですが、うまくいきません。。。

pptimeオブジェクトの第5アウトレットの数値をディレイ間隔のmsecに変換してtapout~オブジェクトに送れば良いのでしょうか?

その際の計算はどうすればよいでしょう?

とてもレベルの低い問題かもしれませんが、お力添え宜しくお願いします。


max v2;
#N vpatcher -2 44 986 760;
#P origin 132 75;
#P window setfont "Sans Serif" 9.;
#P flonum 683 301 60 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#N vpatcher 110 333 342 597;
#P window setfont "Sans Serif" 9.;
#P message 164 77 14 196617 0;
#P message 130 76 14 196617 1;
#P newex 131 52 44 196617 select 1;
#P newex 103 103 27 196617 gate;
#P inlet 158 27 15 0;
#P inlet 110 26 15 0;
#P outlet 104 158 15 0;
#P connect 6 0 3 0;
#P connect 5 0 3 0;
#P connect 3 0 0 0;
#P connect 1 0 3 1;
#P connect 4 0 5 0;
#P connect 2 0 4 0;
#P connect 4 1 6 0;
#P pop;
#P newobj 279 170 39 196617 p tgate;
#N vpatcher 40 55 546 371;
#N comlet samples per beat in;
#P inlet 99 87 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 171 75 124 196617 dspstate~;
#P flonum 209 103 127 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 99 193 33 196617 * 60.;
#P newex 99 153 35 196617 / 1.;
#N comlet BPM out;
#P outlet 98 226 15 0;
#P newex 171 48 45 196617 loadbang;
#P newex 99 128 35 196617 fswap;
#P connect 4 0 2 0;
#P connect 7 0 0 0;
#P connect 0 0 3 0;
#P connect 3 0 4 0;
#P connect 5 0 0 1;
#P connect 0 1 3 1;
#P connect 1 0 6 0;
#P connect 6 1 5 0;
#P pop;
#P newobj 279 148 55 196617 p spb2bpm;
#P newex 135 311 48 196617 pack 0 0;
#P number 347 392 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 137 224 35 9 3 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N pp 4 duration 0 5000 msec;
#P newobj 137 202 131 196617 pp 4 duration 0 5000 msec;
#P number 413 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#N pptempo 8 9 c5 Tempo/Sync 1. 300. bpm;
#PT text "Choose the sync mode from the menu and set the reference tempo in UDT mode";
#P newobj 279 205 142 196617 pptempo 8 9 c5 Tempo/Sync 1. 300. bpm;
#P window linecount 1;
#P newex 560 106 270 196617 plugsync~;
#P comment 272 436 57 196617 FEED BACK;
#P newex 819 2 48 196617 loadbang;
#P message 819 26 14 196617 1;
#N vpreset 1;
#X append 1 2 7 479 33 flonum float 0.48 ?; 10 479 151 flonum float 0.61 ?; 16 479 259 flonum float 0. ?; 20 100 15 number int 2 ?; 21 32 15 radiogroup int 2 ?; 24 -24 191 toggle int;
#X append 1 2 1 ?; 28 54 214 toggle int 1 ?; 47 602 422 number int 0 ?; 48 553 463 number int 0 ?; 50 553 583 number int 0 ?; 59 303 516 flonum float 0. ?; 78 301 683;
#X append 1 2 flonum int 0 ?; -1 301 683 flonum float 0. ?; 71 181 413 number int 0 ?;;
#P preset 819 47 47 27;
#P message 368 316 71 196617 timesig ?$1 ?$2;
#P comment 859 326 83 196617 unit value input;
#P comment 859 361 83 196617 beat value output;
#P comment 694 361 100 196617 unit index output;
#P comment 525 362 100 196617 unit multiplier output;
#P flonum 516 303 63 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 329 281 50 196617 tempo ?$1;
#P message 351 298 45 196617 mode ?$1;
#N pptime 1 2 3 c5 delaytime 0 5000 msec 0 100 msec;
#P newobj 349 342 513 196617 pptime 1 2 3 c5 delaytime 0 5000 msec 0 100 msec;
#P comment 313 253 97 196617 user-defined tempo;
#P comment 524 326 100 196617 unit multiplier input;
#P comment 692 327 100 196617 unit index input;
#P comment 763 382 84 196617 number of beats:;
#P message 583 611 49 196617 recall ?$1;
#P number 583 553 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 463 574 35 196617 set ?$1;
#P number 463 553 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 422 602 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 422 627 55 196617 capture ?$1;
#P button 422 563 27 0;
#P comment 508 518 51 196617 Programs;
#P comment 383 571 35 196617 Store!;
#P comment 421 538 115 196617 Store Program Number:;
#P window linecount 2;
#P comment 552 538 114 196617 Recall Program Number:;
#P window linecount 1;
#N pp 6 WET_vol 0. 1.;
#P newobj 151 455 95 196617 pp 6 WET_vol 0. 1.;
#N pp 5 DRY_vol 0. 1.;
#P newobj 33 455 94 196617 pp 5 DRY_vol 0. 1.;
#N pp 7 feedback 0. 1.;
#P newobj 259 454 95 196617 pp 7 feedback 0. 1.;
#P window linecount 0;
#P newex 414 39 97 196617;
#P user ezdac~ 64 698 108 731 0;
#P window setfont "MS ゴシック" 10.;
#P window linecount 1;
#P comment 214 36 29 -2050949110 loop;
#P comment 267 13 89 -2050949110 audio file open;
#P comment 36 71 98 -2050949110 audio file start;
#B color 8;
#P comment 36 51 60 -2050949110 audio in;
#B color 8;
#P comment 36 32 60 -2050949110 no audio;
#B color 8;
#P user meter~ 0 183 101 213 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P window setfont "Sans Serif" 9.;
#P message 213 84 43 196617 loop ?$1;
#P toggle 214 54 22 0;
#P message 277 56 89 196617 open drumloop.aif;
#P message 265 33 30 196617 open;
#N sfplay~ 1 120960 0 ;
#P newobj 191 102 44 196617 sfplay~;
#P toggle 191 -24 50 0;
#P newex 103 100 31 196617 adc~;
#P newex 15 147 187 196617 selector~ 2;
#P user radiogroup 15 32 18 56;
#X size 3;
#X offset 20;
#X inactive 0;
#X itemtype 0;
#X flagmode 0;
#X set 2;
#X done;
#P number 15 100 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 2 661 128 196617 plugout~;
#P newex 2 235 42 196617 plugin~;
#N plugconfig;
#C useviews 1 1 1 1;
#C numprograms 64;
#C preempt 1;
#C sigvschange 1;
#C sigvsdefault 32;
#C windowsize;
#C defaultview Interface 0 0 0;
#C dragscroll 1;
#C noinfo;
#C package ????;
#C uniqueid 128 60 241;
#C initialpgm 1;
#P newobj 507 659 55 196617 plugconfig;
#P flonum 259 479 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 259 510 29 196617 s FB;
#P newex 193 382 29 196617 r FB;
#P newex 168 419 27 196617 *~;
#P comment 158 437 24 196617 WET;
#P comment 368 413 33 196617 msec;
#P flonum 151 479 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 135 340 32 196617 line~;
#P comment 147 534 44 196617 MASTER;
#P flonum 33 479 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 2 508 41 196617 *~ 0.5;
#P newex 120 508 41 196617 *~ 0.5;
#P newex 120 372 44 196617 tapout~;
#P newex 120 272 65 196617 tapin~ 5000;
#P comment 40 437 24 196617 DRY;
#P newex 417 4 98 196617 print;
#B color 14;
#P window setfont "MS P明朝" 10.;
#P window linecount 2;
#P user com 173 223 70 -767492086 12;
#K set 0 28271 26995 25999 -30569 -25214 -13176 -10365 26243 29827 18563 -29821 26419;
#K end;
#P connect 22 0 30 0;
#P connect 22 0 18 0;
#P connect 18 0 6 0;
#P connect 18 1 6 0;
#P connect 5 0 19 0;
#P connect 6 0 19 0;
#P connect 21 0 20 0;
#P connect 20 0 22 0;
#P fasten 7 0 39 0 20 494 20 446 38 446;
#P connect 39 0 7 0;
#P connect 7 0 6 1;
#P connect 22 0 18 1;
#P connect 19 0 36 0;
#P connect 19 1 36 1;
#P connect 23 0 22 1;
#P connect 18 1 3 0;
#P connect 18 0 3 0;
#P fasten 13 0 3 0 261 436 261 258 125 258;
#P connect 3 0 4 0;
#P connect 9 0 4 0;
#P connect 4 0 5 0;
#P connect 6 0 19 1;
#P connect 5 0 19 1;
#P connect 74 0 75 0;
#P connect 75 0 9 0;
#P fasten 73 0 72 0 132 248 132 185 142 185;
#P connect 72 0 73 0;
#P fasten 10 0 40 0 139 494 139 449 156 449;
#P connect 40 0 10 0;
#P connect 10 0 5 1;
#P connect 4 0 13 0;
#P connect 73 0 75 1;
#P connect 14 0 13 1;
#P connect 24 0 25 0;
#P fasten 26 0 25 0 270 100 196 100;
#P fasten 27 0 25 0 282 101 196 101;
#P connect 29 0 25 0;
#P connect 25 0 22 2;
#P fasten 28 0 29 0 218 76;
#P fasten 16 0 38 0 247 494 247 448 264 448;
#P connect 38 0 16 0;
#P connect 16 0 15 0;
#P connect 69 5 76 0;
#P connect 76 0 77 0;
#P connect 77 0 70 0;
#P fasten 70 1 77 1 467 251 467 146;
#P connect 70 0 58 0;
#P connect 56 3 74 0;
#P connect 56 0 74 0;
#P fasten 74 0 56 0 352 416 333 416 333 324;
#P connect 58 0 56 0;
#P connect 57 0 56 0;
#P connect 64 0 56 0;
#P connect 70 1 57 0;
#P connect 69 4 64 0;
#P connect 71 0 70 1;
#P fasten 70 1 71 0 460 244 460 162 418 162;
#P connect 45 0 47 0;
#P connect 49 0 47 0;
#P connect 47 0 46 0;
#P connect 48 0 49 0;
#P connect 51 0 17 0;
#P connect 46 0 17 0;
#P connect 56 1 59 0;
#P connect 59 0 56 1;
#P connect 50 0 51 0;
#P connect 56 2 78 0;
#P connect 78 0 56 2;
#P connect 67 0 66 0;
#P connect 66 0 65 0;
#P pop;

コメント(0)

mixiユーザー
ログインしてコメントしよう!

MAX/MSP ビギナー 更新情報

MAX/MSP ビギナーのメンバーはこんなコミュニティにも参加しています

星印の数は、共通して参加しているメンバーが多いほど増えます。

人気コミュニティランキング