Forums > MaxMSP

'ringing' Reason

May 7, 2007 | 5:41 am

I created a simple step sequencer (more of an exercise to see if I could than for any specific purpose) and hooked it to Reason. What I’ve found, however, is that it drives Reason a little crazy– if the Reason patch has ANY sustain on an envelope, it will continue to ‘Ring’ well after I’ve stopped feeding it the sequence– is there some key component I am missing/don’t know about which is causing this?

Here’s what I have, so far:

max v2;
#N vpatcher 8 44 1288 752;
#P button 1101 499 15 0;
#P window setfont "Sans Serif" 9.;
#P number 1187 502 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user dial 1184 452 40 40 14 1 1 0 159 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P window linecount 1;
#P newex 1120 536 51 196617 noteout c;
#P newex 1125 498 51 196617 midiflush;
#P number 1157 402 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 1129 270 18 128 128 1 0 0;
#P newex 1117 434 52 196617 makenote;
#P toggle 122 47 15 0;
#P toggle 978 242 15 0;
#P toggle 946 242 15 0;
#P toggle 978 259 15 0;
#P toggle 946 259 15 0;
#P toggle 978 276 15 0;
#P toggle 946 276 15 0;
#P toggle 978 293 15 0;
#P toggle 946 293 15 0;
#P toggle 978 310 15 0;
#P toggle 946 310 15 0;
#P toggle 978 327 15 0;
#P toggle 946 327 15 0;
#P toggle 978 344 15 0;
#P toggle 946 344 15 0;
#P toggle 978 361 15 0;
#P toggle 946 361 15 0;
#P toggle 978 378 15 0;
#P toggle 946 378 15 0;
#P toggle 978 395 15 0;
#P toggle 946 395 15 0;
#P toggle 978 412 15 0;
#P toggle 946 412 15 0;
#P toggle 978 429 15 0;
#P toggle 946 429 15 0;
#P toggle 978 446 15 0;
#P toggle 946 446 15 0;
#P toggle 978 463 15 0;
#P toggle 946 463 15 0;
#P toggle 978 480 15 0;
#P toggle 946 480 15 0;
#P toggle 978 498 15 0;
#P button 105 47 15 0;
#P user gswitch2 61 71 39 32 0 0;
#P button 994 225 15 0;
#P number 1010 498 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 962 498 15 0;
#P button 994 498 15 0;
#P newex 895 89 27 196617 del;
#P user gswitch2 866 112 39 32 1 0;
#P comment 1048 500 25 196617 play;
#P comment 900 498 62 196617 bypass note;
#P number 1010 480 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 480 15 0;
#P button 962 480 15 0;
#P button 994 480 15 0;
#P newex 708 538 27 196617 del;
#P user gswitch2 679 561 39 32 1 0;
#P user gswitch2 684 610 39 32 1 0;
#P comment 718 569 36 196617 bypass;
#P comment 645 624 39 196617 return;
#P comment 857 481 72 196617 return to start;
#P comment 1048 482 25 196617 play;
#P comment 574 539 62 196617 bypass note;
#P number 1010 463 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 463 15 0;
#P button 962 463 15 0;
#P button 994 463 15 0;
#P newex 700 428 27 196617 del;
#P user gswitch2 671 451 39 32 1 0;
#P user gswitch2 676 500 39 32 1 0;
#P comment 710 459 36 196617 bypass;
#P comment 637 514 39 196617 return;
#P comment 561 471 72 196617 return to start;
#P comment 767 489 25 196617 play;
#P comment 566 429 62 196617 bypass note;
#P number 1010 446 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 446 15 0;
#P button 962 446 15 0;
#P button 994 446 15 0;
#P newex 694 313 27 196617 del;
#P user gswitch2 665 336 39 32 1 0;
#P user gswitch2 670 385 39 32 1 0;
#P comment 704 344 36 196617 bypass;
#P comment 631 399 39 196617 return;
#P comment 555 356 72 196617 return to start;
#P comment 761 374 25 196617 play;
#P comment 560 314 62 196617 bypass note;
#P number 1010 429 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 429 15 0;
#P button 962 429 15 0;
#P button 994 429 15 0;
#P newex 689 201 27 196617 del;
#P user gswitch2 660 224 39 32 0 0;
#P user gswitch2 665 273 39 32 1 0;
#P comment 699 232 36 196617 bypass;
#P comment 626 287 39 196617 return;
#P comment 550 244 72 196617 return to start;
#P comment 756 262 25 196617 play;
#P comment 555 202 62 196617 bypass note;
#P number 1010 412 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 412 15 0;
#P button 962 412 15 0;
#P button 994 412 15 0;
#P newex 699 89 27 196617 del;
#P user gswitch2 670 112 39 32 1 0;
#P user gswitch2 675 161 39 32 1 0;
#P comment 709 120 36 196617 bypass;
#P comment 636 175 39 196617 return;
#P comment 560 132 72 196617 return to start;
#P comment 766 150 25 196617 play;
#P comment 565 90 62 196617 bypass note;
#P number 1010 395 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 395 15 0;
#P button 962 395 15 0;
#P button 994 395 15 0;
#P newex 503 538 27 196617 del;
#P user gswitch2 474 561 39 32 1 0;
#P user gswitch2 479 610 39 32 1 0;
#P comment 513 569 36 196617 bypass;
#P comment 440 624 39 196617 return;
#P comment 364 581 72 196617 return to start;
#P comment 1046 381 25 196617 play;
#P comment 369 539 62 196617 bypass note;
#P number 1010 378 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 378 15 0;
#P button 962 378 15 0;
#P button 994 378 15 0;
#P newex 495 428 27 196617 del;
#P user gswitch2 466 451 39 32 1 0;
#P user gswitch2 471 500 39 32 1 0;
#P comment 505 459 36 196617 bypass;
#P comment 432 514 39 196617 return;
#P comment 356 471 72 196617 return to start;
#P comment 562 489 25 196617 play;
#P comment 361 429 62 196617 bypass note;
#P number 1010 361 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 361 15 0;
#P button 962 361 15 0;
#P button 994 361 15 0;
#P newex 490 312 27 196617 del;
#P user gswitch2 461 335 39 32 1 0;
#P user gswitch2 466 384 39 32 1 0;
#P comment 500 343 36 196617 bypass;
#P comment 427 398 39 196617 return;
#P comment 351 355 72 196617 return to start;
#P comment 557 373 25 196617 play;
#P comment 356 313 62 196617 bypass note;
#P number 1010 344 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 344 15 0;
#P button 962 344 15 0;
#P button 994 344 15 0;
#P newex 483 199 27 196617 del;
#P user gswitch2 454 222 39 32 1 0;
#P user gswitch2 459 271 39 32 1 0;
#P comment 493 230 36 196617 bypass;
#P comment 420 285 39 196617 return;
#P comment 344 242 72 196617 return to start;
#P comment 550 260 25 196617 play;
#P comment 349 200 62 196617 bypass note;
#P number 1010 327 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 327 15 0;
#P button 962 327 15 0;
#P button 994 327 15 0;
#P newex 500 87 27 196617 del;
#P user gswitch2 471 113 39 32 1 0;
#P user gswitch2 476 162 39 32 1 0;
#P comment 510 121 36 196617 bypass;
#P comment 437 176 39 196617 return;
#P comment 361 133 72 196617 return to start;
#P comment 567 151 25 196617 play;
#P comment 366 91 62 196617 bypass note;
#P number 1010 310 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 310 15 0;
#P button 962 310 15 0;
#P button 994 310 15 0;
#P newex 305 541 27 196617 del;
#P user gswitch2 276 564 39 32 1 0;
#P user gswitch2 281 613 39 32 1 0;
#P comment 315 572 36 196617 bypass;
#P comment 242 627 39 196617 return;
#P comment 166 584 72 196617 return to start;
#P comment 372 602 25 196617 play;
#P comment 171 542 62 196617 bypass note;
#P number 1010 293 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 293 15 0;
#P button 962 293 15 0;
#P button 994 293 15 0;
#P newex 300 428 27 196617 del;
#P user gswitch2 271 451 39 32 1 0;
#P user gswitch2 276 500 39 32 1 0;
#P comment 310 459 36 196617 bypass;
#P comment 237 514 39 196617 return;
#P comment 161 471 72 196617 return to start;
#P comment 367 489 25 196617 play;
#P comment 166 429 62 196617 bypass note;
#P number 1010 276 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 276 15 0;
#P button 962 276 15 0;
#P button 994 276 15 0;
#P newex 293 316 27 196617 del;
#P user gswitch2 264 339 39 32 1 0;
#P user gswitch2 269 388 39 32 1 0;
#P comment 303 347 36 196617 bypass;
#P comment 230 402 39 196617 return;
#P comment 154 359 72 196617 return to start;
#P comment 360 377 25 196617 play;
#P comment 159 317 62 196617 bypass note;
#P number 1010 259 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 259 15 0;
#P button 962 259 15 0;
#P button 994 259 15 0;
#P newex 287 202 27 196617 del;
#P user gswitch2 258 225 39 32 1 0;
#P user gswitch2 263 274 39 32 1 0;
#P comment 297 233 36 196617 bypass;
#P comment 224 288 39 196617 return;
#P comment 148 245 72 196617 return to start;
#P comment 354 263 25 196617 play;
#P comment 153 203 62 196617 bypass note;
#P number 1010 242 35 9 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 930 242 15 0;
#P button 962 242 15 0;
#P button 994 242 15 0;
#P newex 281 87 27 196617 del;
#P user gswitch2 252 110 39 32 1 0;
#P user gswitch2 257 159 39 32 1 0;
#P comment 291 118 36 196617 bypass;
#P comment 218 173 39 196617 return;
#P comment 142 130 72 196617 return to start;
#P comment 348 148 25 196617 play;
#P comment 147 88 62 196617 bypass note;
#P number 303 55 85 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#P comment 53 40 49 196617 Dump Note;
#P window linecount 1;
#P comment 337 41 52 196617 rate;
#P comment 1130 251 42 196617 velocity;
#P hidden connect 193 0 192 0;
#P hidden fasten 188 0 192 1 166 160;
#P hidden fasten 9 0 192 1 197 191 197 25 95 25;
#P hidden fasten 21 0 192 1 198 306 198 25 95 25;
#P hidden fasten 33 0 192 1 185 420 185 24 95 24;
#P hidden fasten 45 0 192 1 207 532 207 25 95 25;
#P hidden fasten 57 0 192 1 205 645 205 25 95 25;
#P hidden fasten 69 0 192 1 184 194 184 23 95 23;
#P hidden fasten 81 0 192 1 181 303 181 24 95 24;
#P hidden fasten 93 0 192 1 176 416 176 26 95 26;
#P hidden fasten 105 0 192 1 195 532 195 24 95 24;
#P hidden fasten 117 0 192 1 189 642 189 24 95 24;
#P hidden fasten 129 0 192 1 188 193 188 23 95 23;
#P hidden fasten 141 0 192 1 185 305 185 24 95 24;
#P hidden fasten 153 0 192 1 183 417 183 22 95 22;
#P hidden fasten 165 0 192 1 181 532 181 27 95 27;
#P hidden fasten 177 0 192 1 166 642;
#P hidden fasten 186 0 192 1 157 144 157 27 95 27;
#P hidden connect 193 0 225 0;
#P hidden fasten 13 0 10 0 257 103;
#P hidden fasten 14 0 9 0 935 154 262 154;
#P hidden fasten 25 0 22 0 263 218;
#P hidden fasten 26 0 21 0 935 269 268 269;
#P hidden fasten 37 0 34 0 269 332;
#P hidden fasten 38 0 33 0 935 383 274 383;
#P hidden fasten 49 0 46 0 276 444;
#P hidden fasten 50 0 45 0 935 495 281 495;
#P hidden fasten 61 0 58 0 281 557;
#P hidden connect 191 0 11 0;
#P hidden connect 11 0 10 1;
#P hidden fasten 62 0 57 0 935 608 286 608;
#P hidden connect 12 0 9 1;
#P hidden connect 10 0 9 1;
#P hidden connect 9 1 23 0;
#P hidden connect 23 0 22 1;
#P hidden connect 24 0 21 1;
#P hidden connect 22 0 21 1;
#P hidden connect 21 1 35 0;
#P hidden connect 35 0 34 1;
#P hidden connect 3 0 11 1;
#P hidden connect 36 0 33 1;
#P hidden connect 34 0 33 1;
#P hidden connect 33 1 47 0;
#P hidden connect 47 0 46 1;
#P hidden connect 191 0 3 0;
#P hidden connect 3 0 23 1;
#P hidden connect 48 0 45 1;
#P hidden connect 46 0 45 1;
#P hidden connect 45 1 59 0;
#P hidden connect 59 0 58 1;
#P hidden connect 3 0 35 1;
#P hidden fasten 60 0 57 1 312 612 329 612 329 614 329 612;
#P hidden connect 58 0 57 1;
#P hidden connect 3 0 47 1;
#P hidden connect 3 0 59 1;
#P hidden fasten 85 0 82 0 459 215;
#P hidden fasten 86 0 81 0 935 266 464 266;
#P hidden fasten 97 0 94 0 466 328;
#P hidden fasten 98 0 93 0 935 379 471 379;
#P hidden fasten 109 0 106 0 471 444;
#P hidden fasten 73 0 70 0 476 106;
#P hidden fasten 110 0 105 0 935 495 476 495;
#P hidden fasten 121 0 118 0 479 554;
#P hidden fasten 74 0 69 0 935 157 481 157;
#P hidden fasten 122 0 117 0 935 605 484 605;
#P hidden connect 69 1 83 0;
#P hidden connect 83 0 82 1;
#P hidden connect 84 0 81 1;
#P hidden connect 82 0 81 1;
#P hidden connect 81 1 95 0;
#P hidden connect 95 0 94 1;
#P hidden connect 96 0 93 1;
#P hidden connect 94 0 93 1;
#P hidden connect 93 1 107 0;
#P hidden connect 107 0 106 1;
#P hidden fasten 57 1 71 0 419 645 419 55 505 55;
#P hidden connect 71 0 70 1;
#P hidden connect 3 0 83 1;
#P hidden connect 108 0 105 1;
#P hidden connect 106 0 105 1;
#P hidden connect 105 1 119 0;
#P hidden connect 119 0 118 1;
#P hidden connect 72 0 69 1;
#P hidden connect 70 0 69 1;
#P hidden connect 3 0 95 1;
#P hidden connect 120 0 117 1;
#P hidden connect 118 0 117 1;
#P hidden connect 3 0 107 1;
#P hidden connect 3 0 71 1;
#P hidden connect 3 0 119 1;
#P hidden fasten 145 0 142 0 665 217;
#P hidden fasten 146 0 141 0 935 268 670 268;
#P hidden fasten 157 0 154 0 670 329;
#P hidden fasten 133 0 130 0 675 105;
#P hidden fasten 158 0 153 0 935 380 675 380;
#P hidden fasten 169 0 166 0 676 444;
#P hidden fasten 134 0 129 0 935 156 680 156;
#P hidden fasten 170 0 165 0 935 495 681 495;
#P hidden fasten 181 0 178 0 684 554;
#P hidden fasten 182 0 177 0 935 605 689 605;
#P hidden connect 129 1 143 0;
#P hidden connect 143 0 142 1;
#P hidden connect 144 0 141 1;
#P hidden connect 142 0 141 1;
#P hidden connect 141 1 155 0;
#P hidden connect 155 0 154 1;
#P hidden fasten 117 1 131 0 637 642 637 71 704 71;
#P hidden connect 131 0 130 1;
#P hidden connect 156 0 153 1;
#P hidden connect 154 0 153 1;
#P hidden connect 153 1 167 0;
#P hidden connect 167 0 166 1;
#P hidden fasten 132 0 129 1 708 160 721 160 721 162;
#P hidden connect 130 0 129 1;
#P hidden connect 168 0 165 1;
#P hidden connect 166 0 165 1;
#P hidden connect 3 0 143 1;
#P hidden connect 165 1 179 0;
#P hidden connect 179 0 178 1;
#P hidden connect 3 0 155 1;
#P hidden connect 180 0 177 1;
#P hidden connect 178 0 177 1;
#P hidden connect 3 0 131 1;
#P hidden connect 3 0 167 1;
#P hidden connect 3 0 179 1;
#P hidden fasten 189 0 186 0 871 105;
#P hidden fasten 177 1 187 0 791 642 791 71 900 71;
#P hidden connect 187 0 186 1;
#P hidden connect 3 0 187 1;
#P hidden connect 14 0 223 0;
#P hidden connect 26 0 221 0;
#P hidden connect 38 0 219 0;
#P hidden connect 50 0 217 0;
#P hidden connect 62 0 215 0;
#P hidden connect 74 0 213 0;
#P hidden connect 86 0 211 0;
#P hidden connect 98 0 209 0;
#P hidden connect 110 0 207 0;
#P hidden connect 122 0 205 0;
#P hidden connect 134 0 203 0;
#P hidden connect 146 0 201 0;
#P hidden fasten 158 0 199 0 951 444;
#P hidden connect 170 0 197 0;
#P hidden connect 182 0 195 0;
#P hidden connect 13 0 224 0;
#P hidden connect 25 0 222 0;
#P hidden connect 37 0 220 0;
#P hidden connect 49 0 218 0;
#P hidden connect 61 0 216 0;
#P hidden connect 73 0 214 0;
#P hidden connect 85 0 212 0;
#P hidden connect 97 0 210 0;
#P hidden connect 109 0 208 0;
#P hidden connect 121 0 206 0;
#P hidden connect 133 0 204 0;
#P hidden connect 145 0 202 0;
#P hidden connect 157 0 200 0;
#P hidden connect 169 0 198 0;
#P hidden connect 181 0 196 0;
#P hidden connect 189 0 194 0;
#P hidden fasten 192 0 191 0 286 38;
#P hidden connect 10 1 12 0;
#P hidden connect 22 1 24 0;
#P hidden connect 34 1 36 0;
#P hidden connect 46 1 48 0;
#P hidden connect 58 1 60 0;
#P hidden connect 70 1 72 0;
#P hidden connect 82 1 84 0;
#P hidden connect 94 1 96 0;
#P hidden connect 106 1 108 0;
#P hidden connect 118 1 120 0;
#P hidden connect 130 1 132 0;
#P hidden connect 142 1 144 0;
#P hidden connect 154 1 156 0;
#P hidden connect 166 1 168 0;
#P hidden connect 178 1 180 0;
#P hidden connect 186 1 188 0;
#P hidden connect 12 0 15 0;
#P hidden connect 24 0 27 0;
#P hidden connect 36 0 39 0;
#P hidden connect 48 0 51 0;
#P hidden connect 60 0 63 0;
#P hidden connect 72 0 75 0;
#P hidden connect 84 0 87 0;
#P hidden connect 96 0 99 0;
#P hidden connect 108 0 111 0;
#P hidden connect 120 0 123 0;
#P hidden connect 132 0 135 0;
#P hidden connect 144 0 147 0;
#P hidden connect 156 0 159 0;
#P hidden connect 168 0 171 0;
#P hidden connect 180 0 183 0;
#P hidden connect 188 0 190 0;
#P hidden connect 191 0 233 0;
#P hidden connect 12 0 233 0;
#P hidden connect 24 0 233 0;
#P hidden fasten 36 0 233 0 1000 292;
#P hidden connect 48 0 233 0;
#P hidden connect 60 0 233 0;
#P hidden connect 84 0 233 0;
#P hidden connect 96 0 233 0;
#P hidden connect 108 0 233 0;
#P hidden connect 120 0 233 0;
#P hidden fasten 132 0 233 0 1000 428;
#P hidden connect 144 0 233 0;
#P hidden connect 156 0 233 0;
#P hidden connect 168 0 233 0;
#P hidden connect 180 0 233 0;
#P hidden connect 188 0 233 0;
#P hidden connect 192 1 233 0;
#P hidden connect 72 0 233 0;
#P hidden connect 15 0 226 0;
#P hidden connect 27 0 226 0;
#P hidden connect 39 0 226 0;
#P hidden connect 51 0 226 0;
#P hidden connect 75 0 226 0;
#P hidden connect 63 0 226 0;
#P hidden connect 87 0 226 0;
#P hidden connect 99 0 226 0;
#P hidden connect 111 0 226 0;
#P hidden connect 123 0 226 0;
#P hidden connect 135 0 226 0;
#P hidden connect 147 0 226 0;
#P hidden connect 159 0 226 0;
#P hidden connect 171 0 226 0;
#P hidden connect 183 0 226 0;
#P hidden fasten 190 0 226 0 1016 512;
#P connect 229 0 230 0;
#P connect 226 0 229 0;
#P connect 233 0 229 0;
#P connect 226 1 229 0;
#P hidden fasten 193 0 229 0 1100 62;
#P connect 227 0 226 1;
#P connect 229 0 230 1;
#P hidden fasten 191 0 228 0 1162 240;
#P connect 228 0 226 2;
#P connect 232 0 230 2;
#P fasten 231 0 232 0 1192 501;
#P pop;


May 7, 2007 | 10:50 am

Midiflush works on raw midi, not cooked. Moreover, feeding two outlets to one inlet of an object, and fanning to two inlets assuming that numbers "know" which wire to take is a too optimistic approach. Anyhow, in your patch notes are never being turned off. Take a look at flush, pack and message objects and tutorial 13.

_
johan


May 7, 2007 | 3:11 pm

I thought that ‘makenote’ automatically generated noteoffs. Orignially, I didn’t have a flush object of any kind in there– the reference manual says that the right inlet of makenote ‘is the duration that makenote waits before a noteoff message is sent out’.

Am I misunderstanding what makenote does? It seems to have worked in another patch I created.


May 7, 2007 | 3:35 pm

In other words, the original ‘out’ looked something like this (where pitch, velocity and duration were connected to the ‘play’ number boxes, triggered by the bangs)

I’ve been using this (or something close to it) on other patches.

max v2;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 265 105 47 196617 duration;
#P message 212 106 47 196617 velocity;
#P message 176 107 32 196617 pitch;
#P message 263 147 14 196617 1;
#P newex 194 175 51 196617 noteout c;
#P newex 194 141 52 196617 makenote;
#P comment 286 148 55 196617 to channel;
#P connect 4 0 1 0;
#P connect 1 0 2 0;
#P connect 1 1 2 1;
#P connect 5 0 1 1;
#P connect 3 0 2 2;
#P connect 6 0 1 2;
#P pop;


May 7, 2007 | 7:18 pm

Makenote is fine. The patch below reveals the flaw:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 143 178 32 196617 print;
#P newex 143 157 51 196617 pack i i 1;
#P message 86 58 64 196617 60 127 500;
#P newex 86 156 43 196617 noteout;
#P newex 86 114 51 196617 midiflush;
#P newex 86 82 52 196617 makenote;
#P connect 1 0 2 0;
#P connect 1 0 2 1;
#P connect 1 0 4 0;
#P connect 1 0 4 1;
#P connect 4 0 5 0;
#P connect 3 0 0 0;
#P connect 0 1 1 0;
#P connect 0 0 1 0;
#P window clipboard copycount 6;


May 7, 2007 | 8:43 pm

What I’m not understanding is why I’d need a flush with makenote at all– both the tutorial and the reference state that it should provide note-offs for all note-ons.

I *think* what’s happening is that the duration needs to be fed to makenote with each note played, and I could dump the midiflush entirely, instead opting to send a bang to the duration with each note played?

If that’s not the case, I’ll re-read and re-try; but the manual and tutorials both explain makenote as an object which does the noteoff for you (one of the reasons I used it in the first place).


May 8, 2007 | 9:25 am

toddbert schrieb:
> If that’s not the case, I’ll re-read and re-try; but the manual and
> tutorials both explain makenote as an object which does the noteoff
> for you

You are correct….

Without having looked at your patch, did you monitor the midi notes
which are sent to the various parts of your patch/system? You can put a
print behind the makenote, and at various stages of your patch and just
verify if the flow is as you expected… A standard method to narrow
down the scope to the part where the problem might arise…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


May 8, 2007 | 3:07 pm

Quote: Stefan Tiedje wrote on Tue, 08 May 2007 03:25
> You are correct….
>
> Without having looked at your patch, did you monitor the midi notes
> which are sent to the various parts of your patch/system? You can put a
> print behind the makenote, and at various stages of your patch and just
> verify if the flow is as you expected…

There’s only one spot where the notes are sent– the problem is that the duration wasn’t explicity sent each time makenote was invoked, only the first time, so subsequent makenotes didn’t have a set duration. A few minutes of adding in connections, and it works ‘as intended’.


Viewing 8 posts - 1 through 8 (of 8 total)