help! audio interruptions using vst~ by playing notes in a midi keyboard

May 10, 2006 at 4:49pm

help! audio interruptions using vst~ by playing notes in a midi keyboard

hello

(setup specs at the bottom)

i’m making a easy live playing patch for my band, where i play a stereo
background song (buffer~, groove~) and we use two controllers to play 2 vst
synths (vst~) pro-53, and novation bassstation
booth pluggins presets are monophonic (1 voice)

the mainly problem is that i get audio interruptions usually when i get i do
the following. (it looks that after the audio interruptions the audio is
stabilized for a while)

all this when the song is playing

- (when i play one key at the same time in differents ports (one for each
plugin) and sometimes even when i play one note in one plugin

- when i change the state of the effect processing

i’m checking always the cpu consumption and peak.
and the cpu its always around 10 percent and when audio interrupt ocurrs
it’s raise like 5% depending of the plugins, voices etc, it never raise a
higer value

i have try many plugins and occurrs in everyone,
(reaktor,minimoog,pro-53,fm,bassstation,albino,korg-ms20)

i first try using ableton 5, for using live and i got the same problems but
further extreme than max,

i also try the Renice command to increase priority of max in osx via
terminal and nothing notorious change, so i finally play the song at itunes
and i play the keyboard at max and the audio interrupt never shows up, or i
doesn’t notest, tough this is not a very “elegant” solution.

i try whit different max setup configurations and i didn’t notest a
notorious change, at the bottom is the DSP status that i’m using actually. i
can include my patch if someone thinks that its necessary

any suggestions to play an aiff file whitout flaws!

Ariel

hardw and softw setup
ibook g4 1.2ghz
768 ram
5400 rpm hdd
max/msp 4.5.7
midisport 2×2

max v2;
#N vpatcher 231 128 541 643;
#P origin -706 -475;
#P toggle 0 377 15 0;
#P window setfont “Sans Serif” 9.;
#P message 12 382 43 196617 store 1;
#P newex 7 344 48 196617 loadbang;
#N vpreset 1;
#X append 1 2 17 49 10 umenu int 0 ; 21 137 118 flonum float 6. ; 24 157
118 number int 52 ; 25 176 118 number int 11 ; 26 11 116 umenu int 0 ; 32
68 10 umenu int;
#X append 1 2 0 ; 35 221 118 number int 2 ; 37 240 118 number int 2 ; 40
30 116 umenu int 2 ; 45 202 116 umenu int 0 ; 50 258 116 umenu int 4 ; 54
277 116;
#X append 1 2 umenu int 8 ; 57 325 172 umenu int 1 ; 59 49 116 umenu int 0
; 61 68 116 umenu int 0 ; 62 201 237 radiogroup list 0 ; 64 258 237
radiogroup list 0 ; 66 277 237;
#X append 1 2 radiogroup list 0 ; 68 137 194 radiogroup list 1 ; 72 324
237 radiogroup list 0 ; 76 354 116 umenu int 0 ; 80 373 116 umenu int 0 ;
82 354 237 radiogroup list 0 ; 84 373 237;
#X append 1 2 radiogroup list 0 ; 88 392 116 umenu int 1 ; 92 411 116
umenu int 2 ; 94 392 237 radiogroup list 0 ; 96 411 237 radiogroup list 0
; 100 439 116 umenu int 1 ; 102 439 237;
#X append 1 2 radiogroup list 0 ; 104 459 116 number int 90 ; 107 306 172
umenu int 1 ; 109 305 237 radiogroup list 0 ; 115 458 237 radiogroup list
0 ; 134 87 10 umenu int 0 ; 136 87 116;
#X append 1 2 umenu int 0 ; 138 106 10 umenu int 0 ; 140 106 116 umenu int
0 ; 144 377 0 toggle int 0 ;;
#P preset 8 403 47 27;
#P user umenu 116 106 176 196645 1 64 122 0;
#X add Off;
#X add On;
#P hidden newex 321 106 85 196617 adstatus option 3;
#P user umenu 10 106 89 196645 3 64 122 0;
#X add “Playthrough Input”;
#P hidden newex -98 105 109 196617 adstatus optionname 3;
#P user umenu 116 87 176 196645 1 64 103 0;
#X add Headphones;
#X add “Internal speakers”;
#P hidden newex 321 87 85 196617 adstatus option 2;
#P user umenu 10 87 89 196645 3 64 103 0;
#X add “Output Destination”;
#P hidden newex -98 86 109 196617 adstatus optionname 2;
#P hidden message 441 441 62 196617 override $1;
#P comment 12 309 134 196617 Max Scheduler in Overdrive;
#P comment 12 327 135 196617 Scheduler in Audio Interrupt;
#P hidden message 6 498 213 196617 window size 100 100 410 615 , window
exec;
#P hidden message 5 468 239 196617 window flags nogrow , savewindow 1 ,
window exec;
#N thispatcher;
#Q window flags nogrow close zoom nofloat;
#Q window size 231 128 541 643;
#Q window title;
#Q window exec;
#Q savewindow 1;
#Q end;
#P hidden newobj 5 561 59 196617 thispatcher;
#P hidden message 6 483 158 196617 window flags grow , window exec;
#P window linecount 2;
#P hidden message 428 561 82 196617 ; dsp driver setup;
#P window setfont “Sans Serif” 10.;
#P window linecount 1;
#P comment 43 490 102 196618 Audio Driver Setup;
#P objectname __asiopanelbutton__;
#P window setfont “Sans Serif” 9.;
#N vpatcher 40 55 717 378;
#P outlet 121 222 15 0;
#P window setfont “Sans Serif” 9.;
#P message 135 161 239 196617 script send __asiopanelbutton__ frgb 255 255
255;
#P message 121 143 203 196617 script send __asiopanelbutton__ frgb 0 0 0;
#P newex 144 55 40 196617 change;
#P message 178 186 28 196617 bang;
#P newex 144 77 40 196617 sel 0 1;
#P message 75 107 140 196617 shadow 2 , brgb 200 200 200;
#P message 109 125 145 196617 shadow -2 , brgb 140 140 140;
#P outlet 178 222 15 0;
#P inlet 144 36 15 0;
#P inlet 109 36 15 0;
#P inlet 75 36 15 0;
#P outlet 75 222 15 0;
#P connect 1 0 6 0;
#P connect 7 0 6 0;
#P connect 6 0 0 0;
#P connect 5 0 0 0;
#P connect 7 1 5 0;
#P connect 2 0 5 0;
#P connect 1 0 10 0;
#P connect 7 0 10 0;
#P connect 11 0 12 0;
#P connect 10 0 12 0;
#P connect 2 0 11 0;
#P connect 7 1 11 0;
#P connect 3 0 9 0;
#P connect 9 0 7 0;
#P connect 1 0 8 0;
#P connect 8 0 4 0;
#P pop;
#P hidden newobj 394 490 45 196617 p revert;
#P user ubutton 22 487 145 22 0 6;
#P user panel 22 487 145 21;
#X brgb 200 200 200;
#X frgb 0 0 0;
#X border 1;
#X rounded 8;
#X shadow 2;
#X done;
#P window setfont “Sans Serif” 10.;
#P comment 198 490 74 196618 I/O Mappings;
#P objectname __iomappingsbutton__;
#P window setfont “Sans Serif” 9.;
#N vpatcher 40 55 717 378;
#P outlet 121 222 15 0;
#P window setfont “Sans Serif” 9.;
#P message 135 161 245 196617 script send __iomappingsbutton__ frgb 255 255
255;
#P message 121 143 211 196617 script send __iomappingsbutton__ frgb 0 0 0;
#P newex 144 55 40 196617 change;
#P message 178 186 28 196617 bang;
#P newex 144 77 40 196617 sel 0 1;
#P message 75 107 140 196617 shadow 2 , brgb 200 200 200;
#P message 109 125 145 196617 shadow -2 , brgb 140 140 140;
#P outlet 178 222 15 0;
#P inlet 144 36 15 0;
#P inlet 109 36 15 0;
#P inlet 75 36 15 0;
#P outlet 75 222 15 0;
#P connect 1 0 6 0;
#P connect 7 0 6 0;
#P connect 5 0 0 0;
#P connect 6 0 0 0;
#P connect 7 1 5 0;
#P connect 2 0 5 0;
#P connect 1 0 10 0;
#P connect 7 0 10 0;
#P connect 10 0 12 0;
#P connect 11 0 12 0;
#P connect 2 0 11 0;
#P connect 7 1 11 0;
#P connect 3 0 9 0;
#P connect 9 0 7 0;
#P connect 1 0 8 0;
#P connect 8 0 4 0;
#P pop;
#P hidden newobj 482 490 45 196617 p revert;
#P user ubutton 186 487 99 22 0 6;
#P hidden newex 402 161 62 196617 metro 4000;
#P comment 251 460 48 196617 Override;
#P user radiogroup 237 458 61 16;
#X size 1;
#X offset 16;
#X inactive 0;
#X itemtype 1;
#X flagmode 0;
#X set 0;
#X done;
#P button 185 459 15 0;
#P noclick;
#P hidden newex 516 534 45 196617 pcontrol;
#P hidden message 516 516 28 196617 open;
#N vpatcher 336 61 708 412;
#P origin -223 -108;
#P window setfont “Sans Serif” 9.;
#P hidden message 126 313 158 196617 window flags grow , window exec;
#P hidden message 95 287 239 196617 window flags nogrow , savewindow 1 ,
window exec;
#P user umenu 41 197 28 196647 3 64 213 0;
#X add 9;
#P user umenu 41 179 28 196647 3 64 195 0;
#X add 8;
#P user umenu 41 161 28 196647 3 64 177 0;
#X add 7;
#P user umenu 41 143 28 196647 3 64 159 0;
#X add 6;
#P user umenu 41 125 28 196647 3 64 141 0;
#X add 5;
#P user umenu 41 107 28 196647 3 64 123 0;
#X add 4;
#P user umenu 41 89 28 196647 3 64 105 0;
#X add 3;
#P user umenu 41 215 28 196647 3 64 231 0;
#X add 10;
#P user umenu 41 233 28 196647 3 64 249 0;
#X add 11;
#P user umenu 41 251 28 196647 3 64 267 0;
#X add 12;
#P user umenu 41 269 28 196647 3 64 285 0;
#X add 13;
#P user umenu 41 287 28 196647 3 64 303 0;
#X add 14;
#P user umenu 41 305 28 196647 3 64 321 0;
#X add 15;
#P user umenu 41 323 28 196647 3 64 339 0;
#X add 16;
#P user umenu 41 71 28 196647 3 64 87 0;
#X add 2;
#P user umenu 41 53 28 196647 3 64 69 0;
#X add 1;
#N vpatcher 90 259 989 743;
#P setbglock 1;
#P window setfont “Sans Serif” 9.;
#P newex 92 181 28 196617 pack;
#P newex 92 137 27 196617 – 1;
#P newex 62 59 27 196617 + 1;
#P number 121 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 139 159 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 62 38 30 196617 * 16;
#P newex 62 115 40 196617 Uzi 16;
#P newex 110 158 27 196617 +;
#P newex 62 88 75 196617 t b i;
#P number 54 172 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 662 296 65 196617 setitem 0 $1;
#P message 624 271 65 196617 setitem 0 $1;
#P message 586 296 65 196617 setitem 0 $1;
#P message 548 271 65 196617 setitem 0 $1;
#P message 510 296 65 196617 setitem 0 $1;
#P message 472 271 65 196617 setitem 0 $1;
#P message 434 296 65 196617 setitem 0 $1;
#P message 396 271 65 196617 setitem 0 $1;
#P message 358 296 65 196617 setitem 0 $1;
#P message 320 271 65 196617 setitem 0 $1;
#P message 282 296 65 196617 setitem 0 $1;
#P message 244 271 65 196617 setitem 0 $1;
#P message 206 296 65 196617 setitem 0 $1;
#P message 168 271 65 196617 setitem 0 $1;
#P message 130 296 65 196617 setitem 0 $1;
#P message 92 271 65 196617 setitem 0 $1;
#P newex 92 215 587 196617 spray 16;
#N comlet 1-16;
#P inlet 62 18 15 0;
#N comlet 16;
#P outlet 662 345 15 0;
#N comlet 15;
#P outlet 624 345 15 0;
#N comlet 14;
#P outlet 586 345 15 0;
#N comlet 13;
#P outlet 548 345 15 0;
#N comlet 12;
#P outlet 510 345 15 0;
#N comlet 11;
#P outlet 472 345 15 0;
#N comlet 10;
#P outlet 434 345 15 0;
#N comlet 9;
#P outlet 396 345 15 0;
#N comlet 8;
#P outlet 358 345 15 0;
#N comlet 7;
#P outlet 320 345 15 0;
#N comlet 6;
#P outlet 282 345 15 0;
#N comlet 5;
#P outlet 244 345 15 0;
#N comlet 4;
#P outlet 206 345 15 0;
#N comlet 3;
#P outlet 168 345 15 0;
#N comlet 2;
#P outlet 130 345 15 0;
#N comlet 1;
#P outlet 92 345 15 0;
#P connect 42 0 34 0;
#P connect 16 0 38 0;
#P connect 38 0 41 0;
#P connect 41 0 35 0;
#P connect 35 0 37 0;
#P connect 37 2 42 0;
#P connect 42 0 43 0;
#P connect 43 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 0 0;
#P connect 42 0 36 0;
#P connect 36 0 43 1;
#P connect 36 0 40 0;
#P connect 35 1 36 1;
#P connect 17 1 19 0;
#P connect 19 0 1 0;
#P connect 35 1 39 0;
#P connect 17 2 20 0;
#P connect 20 0 2 0;
#P connect 17 3 21 0;
#P connect 21 0 3 0;
#P connect 17 4 22 0;
#P connect 22 0 4 0;
#P connect 17 5 23 0;
#P connect 23 0 5 0;
#P connect 17 6 24 0;
#P connect 24 0 6 0;
#P connect 17 7 25 0;
#P connect 25 0 7 0;
#P connect 17 8 26 0;
#P connect 26 0 8 0;
#P connect 17 9 27 0;
#P connect 27 0 9 0;
#P connect 17 10 28 0;
#P connect 28 0 10 0;
#P connect 17 11 29 0;
#P connect 29 0 11 0;
#P connect 17 12 30 0;
#P connect 30 0 12 0;
#P connect 17 13 31 0;
#P connect 31 0 13 0;
#P connect 17 14 32 0;
#P connect 32 0 14 0;
#P connect 17 15 33 0;
#P connect 33 0 15 0;
#P pop;
#P hidden newobj 0 486 209 196617 p igrouplabel;
#N vpatcher 62 302 954 748;
#P origin 0 -13;
#P setbglock 1;
#P window setfont “Sans Serif” 9.;
#P newex 87 203 28 196617 pack;
#P newex 87 159 27 196617 – 1;
#P newex 57 81 27 196617 + 1;
#P number 116 203 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 134 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 57 60 30 196617 * 16;
#P newex 57 137 40 196617 Uzi 16;
#P newex 105 180 27 196617 +;
#P newex 57 110 75 196617 t b i;
#P number 49 194 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 657 282 65 196617 setitem 0 $1;
#P message 619 260 65 196617 setitem 0 $1;
#P message 581 282 65 196617 setitem 0 $1;
#P message 543 260 65 196617 setitem 0 $1;
#P message 505 282 65 196617 setitem 0 $1;
#P message 467 260 65 196617 setitem 0 $1;
#P message 429 282 65 196617 setitem 0 $1;
#P message 391 260 65 196617 setitem 0 $1;
#P message 353 282 65 196617 setitem 0 $1;
#P message 315 260 65 196617 setitem 0 $1;
#P message 277 282 65 196617 setitem 0 $1;
#P message 239 260 65 196617 setitem 0 $1;
#P message 201 282 65 196617 setitem 0 $1;
#P message 163 260 65 196617 setitem 0 $1;
#P message 125 282 65 196617 setitem 0 $1;
#P message 87 260 65 196617 setitem 0 $1;
#P newex 87 231 585 196617 spray 16;
#N comlet 1-16;
#P inlet 57 31 15 0;
#N comlet 16;
#P outlet 657 315 15 0;
#N comlet 15;
#P outlet 619 315 15 0;
#N comlet 14;
#P outlet 581 315 15 0;
#N comlet 13;
#P outlet 543 315 15 0;
#N comlet 12;
#P outlet 505 315 15 0;
#N comlet 11;
#P outlet 467 315 15 0;
#N comlet 10;
#P outlet 429 315 15 0;
#N comlet 9;
#P outlet 391 315 15 0;
#N comlet 8;
#P outlet 353 315 15 0;
#N comlet 7;
#P outlet 315 315 15 0;
#N comlet 6;
#P outlet 277 315 15 0;
#N comlet 5;
#P outlet 239 315 15 0;
#N comlet 4;
#P outlet 201 315 15 0;
#N comlet 3;
#P outlet 163 315 15 0;
#N comlet 2;
#P outlet 125 315 15 0;
#N comlet 1;
#P outlet 87 315 15 0;
#P connect 42 0 34 0;
#P connect 16 0 38 0;
#P connect 38 0 41 0;
#P connect 41 0 35 0;
#P connect 35 0 37 0;
#P connect 37 2 42 0;
#P connect 42 0 43 0;
#P connect 43 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 0 0;
#P connect 42 0 36 0;
#P connect 36 0 43 1;
#P connect 36 0 40 0;
#P connect 35 1 36 1;
#P connect 17 1 19 0;
#P connect 19 0 1 0;
#P connect 35 1 39 0;
#P connect 17 2 20 0;
#P connect 20 0 2 0;
#P connect 17 3 21 0;
#P connect 21 0 3 0;
#P connect 17 4 22 0;
#P connect 22 0 4 0;
#P connect 17 5 23 0;
#P connect 23 0 5 0;
#P connect 17 6 24 0;
#P connect 24 0 6 0;
#P connect 17 7 25 0;
#P connect 25 0 7 0;
#P connect 17 8 26 0;
#P connect 26 0 8 0;
#P connect 17 9 27 0;
#P connect 27 0 9 0;
#P connect 17 10 28 0;
#P connect 28 0 10 0;
#P connect 17 11 29 0;
#P connect 29 0 11 0;
#P connect 17 12 30 0;
#P connect 30 0 12 0;
#P connect 17 13 31 0;
#P connect 31 0 13 0;
#P connect 17 14 32 0;
#P connect 32 0 14 0;
#P connect 17 15 33 0;
#P connect 33 0 15 0;
#P pop;
#P hidden newobj 204 484 209 196617 p ogrouplabel;
#P user umenu 225 197 28 196647 3 64 213 0;
#X add 9;
#P user umenu 225 179 28 196647 3 64 195 0;
#X add 8;
#P user umenu 225 161 28 196647 3 64 177 0;
#X add 7;
#P user umenu 225 143 28 196647 3 64 159 0;
#X add 6;
#P user umenu 225 125 28 196647 3 64 141 0;
#X add 5;
#P user umenu 225 107 28 196647 3 64 123 0;
#X add 4;
#P user umenu 225 89 28 196647 3 64 105 0;
#X add 3;
#P user umenu 225 215 28 196647 3 64 231 0;
#X add 10;
#P user umenu 225 233 28 196647 3 64 249 0;
#X add 11;
#P user umenu 225 251 28 196647 3 64 267 0;
#X add 12;
#P user umenu 225 269 28 196647 3 64 285 0;
#X add 13;
#P user umenu 225 287 28 196647 3 64 303 0;
#X add 14;
#P user umenu 225 305 28 196647 3 64 321 0;
#X add 15;
#P user umenu 225 323 28 196647 3 64 339 0;
#X add 16;
#P user umenu 225 71 28 196647 3 64 87 0;
#X add 2;
#N vpatcher 91 406 821 718;
#P origin 0 -28;
#P setbglock 1;
#P window setfont “Sans Serif” 9.;
#P newex 65 183 28 196617 pack;
#P newex 65 139 27 196617 – 1;
#P newex 35 61 27 196617 + 1;
#P number 94 183 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 112 161 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 35 40 30 196617 * 16;
#P message 635 237 35 196617 set $1;
#P message 597 237 35 196617 set $1;
#P message 559 237 35 196617 set $1;
#P message 521 237 35 196617 set $1;
#P message 483 237 35 196617 set $1;
#P message 445 237 35 196617 set $1;
#P message 407 237 35 196617 set $1;
#P message 369 237 35 196617 set $1;
#P message 331 237 35 196617 set $1;
#P message 293 237 35 196617 set $1;
#P message 255 237 35 196617 set $1;
#P message 217 237 35 196617 set $1;
#P message 179 237 35 196617 set $1;
#P message 141 237 35 196617 set $1;
#P message 103 237 35 196617 set $1;
#P message 65 237 35 196617 set $1;
#P newex 35 117 40 196617 Uzi 16;
#P newex 83 160 27 196617 +;
#P newex 35 90 75 196617 t b i;
#P newex 65 208 591 196617 spray 16;
#N comlet 1-16;
#P inlet 35 19 15 0;
#N comlet 16;
#P outlet 635 265 15 0;
#N comlet 15;
#P outlet 597 265 15 0;
#N comlet 14;
#P outlet 559 265 15 0;
#N comlet 13;
#P outlet 521 265 15 0;
#N comlet 12;
#P outlet 483 265 15 0;
#N comlet 11;
#P outlet 445 265 15 0;
#N comlet 10;
#P outlet 407 265 15 0;
#N comlet 9;
#P outlet 369 265 15 0;
#N comlet 8;
#P outlet 331 265 15 0;
#N comlet 7;
#P outlet 293 265 15 0;
#N comlet 6;
#P outlet 255 265 15 0;
#N comlet 5;
#P outlet 217 265 15 0;
#N comlet 4;
#P outlet 179 265 15 0;
#N comlet 3;
#P outlet 141 265 15 0;
#N comlet 2;
#P outlet 103 265 15 0;
#N comlet 1;
#P outlet 65 265 15 0;
#P number 27 174 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P connect 42 0 0 0;
#P connect 17 0 38 0;
#P connect 38 0 41 0;
#P connect 41 0 19 0;
#P connect 19 0 21 0;
#P connect 21 2 42 0;
#P connect 42 0 43 0;
#P connect 43 0 18 0;
#P connect 18 0 22 0;
#P connect 22 0 1 0;
#P connect 42 0 20 0;
#P connect 20 0 43 1;
#P connect 20 0 40 0;
#P connect 19 1 20 1;
#P

#26187
May 11, 2006 at 7:17am

never had any such problem..

it might be a memory problem, how long are the file you are loading into buffer~ ?

try using sfplay~ for the file playback instead.

#77903
May 11, 2006 at 8:40am

Ariel B. wrote:
> any suggestions to play an aiff file whitout flaws!

Try to increase the buffer size of sfplay~, its explained in the
helpfile under [p new features].

Your patch didn’t work (it opened a patch which is obviously not related
to your problem).
Open your patch in max, unlock, select all and paste into the mail body.

Stefan

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

#77904

You must be logged in to reply to this topic.