[maxmsp] Bug in 2d.wave~ ?
Roald Baudoux
roald.baudoux at brutele.be
Thu Jul 5 13:49:07 MDT 2007
- Previous message: [maxmsp] Wii not picking up IR
- Next message: [maxmsp] Bug in 2d.wave~ ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, If the number of rows is not indicated with either an argument or a message, 2d.wave~ crashes Max as soon as the audio is started. Tested on MaxMSP 4.6.3/Jitter 1.6.3-MacOS X 10.4.8-MacBook Pro-Intel Dual Core II 2.33 GHz. Patch 1 is OK: #P window setfont "Sans Serif" 9.; #P user number~ 557 210 607 225 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 493 111 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P message 493 130 43 196617 \$1 100; #P newex 493 148 44 196617 line~ 0.; #P newex 493 91 34 196617 / 16.; #P flonum 506 23 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #N vpatcher 10 59 187 242; #P outlet 39 67 15 0; #P inlet 39 39 15 0; #P connect 0 0 1 0; #P pop; #P newobj 279 49 37 196617 p thru; #P newex 506 44 29 196617 t b f; #P newex 493 168 69 196617 pong~ 0 0. 1.; #P newex 493 70 27 196617 + 0.; #P message 299 411 39 196617 set \$1; #P message 138 413 27 196617 stop; #B color 5; #P message 126 395 65 196617 startwindow; #B color 6; #P newex 200 433 96 196617 dac~; #P user gain~ 286 286 24 100 158 0 1.071519 7.94321 10.; #P user gain~ 200 286 24 100 158 0 1.071519 7.94321 10.; #P user meter~ 228 286 252 408 10 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P user meter~ 259 286 283 408 10 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P comment 370 112 100 196617 Playback freq axis x; #P newex 577 171 52 196617 r maxdur; #P newex 894 124 67 196617 send maxdur; #P newex 106 472 85 196617 r init_waveform; #P newex 819 58 85 196617 s init_waveform; #P newex 819 39 100 196617 t b b; #P flonum 391 127 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 391 160 82 196617 phasor~ 100.01; #P newex 391 234 51 196617 el.killdc~; #P newex 391 202 154 196617 2d.wave~ tableOnde1 0. 0. 1 16; #N vpatcher 113 87 843 652; #P window setfont "Sans Serif" 9.; #P newex 243 78 48 196617 loadbang; #P newex 215 475 49 196617 pack 1 1.; #P newex 348 360 130 196617 t i i; #P newex 214 338 144 196617 t b i; #P newex 215 452 143 196617 expr $i1 + (1024 * $i2); #P newex 254 384 27 196617 - 1; #P newex 254 414 255 196617 expr (sin(($f2 + 1) * 2 * 3.141593 * ($f1/1023.) )); #P newex 215 512 88 196617 peek~ tableOnde1; #P newex 214 361 50 196617 Uzi 1024; #P toggle 251 130 15 0; #P newex 251 306 21 196617 t 0; #P newex 268 253 24 196617 + 1; #P newex 251 209 27 196617 t i i; #P newex 214 285 47 196617 gate 2 1; #P newex 268 232 30 196617 > 15; #N counter 0 0 16; #X flags 0 0; #P newobj 251 189 77 196617 counter 0 0 16; #P newex 251 154 46 196617 metro 2; #P comment 104 131 146 196617 crée 16 ondes et puis s'arrête; #P comment 537 415 120 196617 Série harmonique 1 à 16; #P connect 7 0 5 0; #P connect 5 0 15 0; #P connect 15 0 10 0; #P fasten 13 0 14 0 259 406 220 406; #P connect 14 0 17 0; #P connect 17 0 11 0; #P connect 18 0 9 0; #P fasten 8 0 9 0 256 328 334 328 334 124 256 124; #P connect 9 0 2 0; #P connect 2 0 3 0; #P connect 3 0 6 0; #P connect 6 0 5 1; #P connect 5 1 8 0; #P connect 10 2 13 0; #P connect 13 0 12 0; #P connect 12 0 17 1; #P connect 6 1 4 0; #P connect 4 0 7 0; #P connect 15 1 16 0; #P connect 16 0 14 1; #P connect 16 1 12 1; #P pop; #P newobj 941 256 80 196617 p dessin_table1; #P message 279 130 43 196617 \$1 100; #P newex 279 148 44 196617 line~ 0.; #P newex 819 20 48 196617 loadbang; #N vpatcher 113 87 1230 739; #P window setfont "Sans Serif" 9.; #P newex 218 475 51 196617 pack 1 1.; #P window linecount 1; #P newex 348 360 27 196617 t i i; #P newex 214 338 144 196617 t b i; #P newex 215 452 143 196617 expr $i1 + (1024 * $i2); #P newex 254 384 27 196617 - 1; #P window linecount 2; #P newex 258 414 224 196617 expr ((($f1/511.5)- 1.) * ($f2/15)) + ((cos(2 * 3.141593 * ($f1/1023.))) * (1-($f2/15.))); #P window linecount 0; #P newex 224 512 88 196617 peek~ tableOnde1; #P newex 214 361 50 196617 Uzi 1024; #P toggle 251 130 15 0; #P newex 251 306 21 196617 t 0; #P newex 268 253 24 196617 + 1; #P newex 251 209 27 196617 t i i; #P newex 214 285 47 196617 gate 2 1; #P newex 268 232 30 196617 > 15; #N counter 0 0 16; #X flags 0 0; #P newobj 251 189 77 196617 counter 0 0 16; #P newex 251 154 46 196617 metro 2; #P comment 104 131 146 196617 crée 16 ondes et puis s'arrête; #P comment 492 419 243 196617 Transition cosinusoïde vers dent de scie ascendante; #P connect 7 0 5 0; #P connect 5 0 15 0; #P connect 15 0 10 0; #P fasten 13 0 14 0 259 406 220 406; #P connect 14 0 17 0; #P connect 17 0 11 0; #P fasten 8 0 9 0 256 328 334 328 334 124 256 124; #P connect 9 0 2 0; #P connect 2 0 3 0; #P connect 3 0 6 0; #P connect 6 0 5 1; #P connect 5 1 8 0; #P connect 10 2 13 0; #P connect 13 0 12 0; #P connect 12 0 17 1; #P connect 6 1 4 0; #P connect 4 0 7 0; #P connect 15 1 16 0; #P connect 16 0 14 1; #P connect 16 1 12 1; #P pop; #P newobj 941 284 80 196617 p dessin_table2; #P newex 200 232 51 196617 el.killdc~; #P newex 909 76 32 196617 * 16; #P message 965 150 43 196617 size \$1; #P message 909 59 34 196617 1024; #P newex 909 95 66 196617 sampstoms~; #P flonum 260 30 35 9 0. 15. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 299 30 35 9 0 15 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 279 70 34 196617 / 16.; #P flonum 279 109 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user meter~ 272 233 352 246 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 flonum 200 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 200 160 70 196617 phasor~ 100.; #P newex 965 167 96 196617 buffer~ tableOnde1; #P message 106 492 196 196617 set tableOnde1 1 \, mode draw \, clipdraw 1; #P newex 200 200 154 196617 2d.wave~ tableOnde1 0. 0. 1 16; #P user waveform~ 106 516 1104 217 3 9; #W mode draw; #W mouseoutput continuous; #W clipdraw 1; #W unit phase; #W grid 8.; #W ticks 0; #W labels 1; #W vlabels 0; #W vticks 1; #W bpm 0. 14.; #W frgb 33 0 0; #W brgb 60 178 173; #W rgb2 0 95 255; #W rgb3 0 0 0; #W rgb4 0 0 0; #W rgb5 190 137 255; #W rgb6 100 100 100; #W rgb7 100 100 100; #P comment 336 31 95 196617 Wave Nr (0 to 16.); #P comment 169 112 100 196617 Playback freq axis x; #P comment 543 24 91 196617 osc 2 wave offset; #P connect 30 0 5 0; #P connect 5 0 3 0; #P connect 8 0 7 0; #P connect 7 0 4 0; #P connect 4 0 18 0; #P connect 18 0 36 0; #P fasten 41 0 36 0 304 428 341 428 341 275 205 275; #P connect 36 0 38 0; #P fasten 40 0 38 0 143 432 205 432; #P fasten 39 0 38 0 131 432 205 432; #P fasten 36 0 35 0 205 422 225 422 225 280 233 280; #P fasten 21 0 4 1 284 189 253 189; #P fasten 37 0 34 0 291 418 284 418 284 281 264 281; #P fasten 4 0 9 0 205 225 277 225; #P connect 12 0 45 0; #P connect 13 0 45 0; #P connect 45 0 11 0; #P connect 11 0 10 0; #P connect 10 0 22 0; #P connect 22 0 21 0; #P fasten 25 0 37 0 396 262 291 262; #P fasten 36 1 37 0 219 417 255 417 255 279 291 279; #P connect 37 0 38 1; #P connect 37 1 41 0; #P fasten 32 0 4 3 582 197 349 197; #P connect 27 0 26 0; #P connect 26 0 24 0; #P connect 24 0 25 0; #P fasten 43 0 24 1 498 190 444 190; #P fasten 45 0 42 0 284 68 498 68; #P connect 44 0 42 0; #P connect 42 0 47 0; #P connect 47 0 50 0; #P connect 50 0 49 0; #P connect 49 0 48 0; #P connect 48 0 43 0; #P connect 46 0 44 0; #P connect 44 1 42 1; #P fasten 32 0 24 3 582 200 540 200; #P fasten 43 0 51 0 498 191 562 191; #P connect 20 0 28 0; #P connect 28 0 29 0; #P fasten 14 1 31 0 970 118 899 118; #P connect 28 1 15 0; #P connect 15 0 17 0; #P connect 17 0 14 0; #P connect 14 1 16 0; #P connect 16 0 6 0; #P window clipboard copycount 52; Patch 2 crashes MaxMSP (no argument for number of rows): #P window setfont "Sans Serif" 9.; #P user number~ 557 210 607 225 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 493 111 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P message 493 130 43 196617 \$1 100; #P newex 493 148 44 196617 line~ 0.; #P newex 493 91 34 196617 / 16.; #P flonum 506 23 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #N vpatcher 10 59 187 242; #P outlet 39 67 15 0; #P inlet 39 39 15 0; #P connect 0 0 1 0; #P pop; #P newobj 279 49 37 196617 p thru; #P newex 506 44 29 196617 t b f; #P newex 493 168 69 196617 pong~ 0 0. 1.; #P newex 493 70 27 196617 + 0.; #P message 299 411 39 196617 set \$1; #P message 138 413 27 196617 stop; #B color 5; #P message 126 395 65 196617 startwindow; #B color 6; #P newex 200 433 96 196617 dac~; #P user gain~ 286 286 24 100 158 0 1.071519 7.94321 10.; #P user gain~ 200 286 24 100 158 0 1.071519 7.94321 10.; #P user meter~ 228 286 252 408 10 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P user meter~ 259 286 283 408 10 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P comment 370 112 100 196617 Playback freq axis x; #P newex 577 171 52 196617 r maxdur; #P newex 894 124 67 196617 send maxdur; #P newex 106 472 85 196617 r init_waveform; #P newex 819 58 85 196617 s init_waveform; #P newex 819 39 100 196617 t b b; #P flonum 391 127 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 391 160 82 196617 phasor~ 100.01; #P newex 391 234 51 196617 el.killdc~; #P newex 391 202 139 196617 2d.wave~ tableOnde1 0. 0. 1; #N vpatcher 113 87 843 652; #P window setfont "Sans Serif" 9.; #P newex 243 78 48 196617 loadbang; #P newex 215 475 49 196617 pack 1 1.; #P newex 348 360 130 196617 t i i; #P newex 214 338 144 196617 t b i; #P newex 215 452 143 196617 expr $i1 + (1024 * $i2); #P newex 254 384 27 196617 - 1; #P newex 254 414 255 196617 expr (sin(($f2 + 1) * 2 * 3.141593 * ($f1/1023.) )); #P newex 215 512 88 196617 peek~ tableOnde1; #P newex 214 361 50 196617 Uzi 1024; #P toggle 251 130 15 0; #P newex 251 306 21 196617 t 0; #P newex 268 253 24 196617 + 1; #P newex 251 209 27 196617 t i i; #P newex 214 285 47 196617 gate 2 1; #P newex 268 232 30 196617 > 15; #N counter 0 0 16; #X flags 0 0; #P newobj 251 189 77 196617 counter 0 0 16; #P newex 251 154 46 196617 metro 2; #P comment 104 131 146 196617 crée 16 ondes et puis s'arrête; #P comment 537 415 120 196617 Série harmonique 1 à 16; #P connect 7 0 5 0; #P connect 5 0 15 0; #P connect 15 0 10 0; #P fasten 13 0 14 0 259 406 220 406; #P connect 14 0 17 0; #P connect 17 0 11 0; #P connect 18 0 9 0; #P fasten 8 0 9 0 256 328 334 328 334 124 256 124; #P connect 9 0 2 0; #P connect 2 0 3 0; #P connect 3 0 6 0; #P connect 6 0 5 1; #P connect 5 1 8 0; #P connect 10 2 13 0; #P connect 13 0 12 0; #P connect 12 0 17 1; #P connect 6 1 4 0; #P connect 4 0 7 0; #P connect 15 1 16 0; #P connect 16 0 14 1; #P connect 16 1 12 1; #P pop; #P newobj 941 256 80 196617 p dessin_table1; #P message 279 130 43 196617 \$1 100; #P newex 279 148 44 196617 line~ 0.; #P newex 819 20 48 196617 loadbang; #N vpatcher 113 87 1230 739; #P window setfont "Sans Serif" 9.; #P newex 218 475 51 196617 pack 1 1.; #P window linecount 1; #P newex 348 360 27 196617 t i i; #P newex 214 338 144 196617 t b i; #P newex 215 452 143 196617 expr $i1 + (1024 * $i2); #P newex 254 384 27 196617 - 1; #P window linecount 2; #P newex 258 414 224 196617 expr ((($f1/511.5)- 1.) * ($f2/15)) + ((cos(2 * 3.141593 * ($f1/1023.))) * (1-($f2/15.))); #P window linecount 0; #P newex 224 512 88 196617 peek~ tableOnde1; #P newex 214 361 50 196617 Uzi 1024; #P toggle 251 130 15 0; #P newex 251 306 21 196617 t 0; #P newex 268 253 24 196617 + 1; #P newex 251 209 27 196617 t i i; #P newex 214 285 47 196617 gate 2 1; #P newex 268 232 30 196617 > 15; #N counter 0 0 16; #X flags 0 0; #P newobj 251 189 77 196617 counter 0 0 16; #P newex 251 154 46 196617 metro 2; #P comment 104 131 146 196617 crée 16 ondes et puis s'arrête; #P comment 492 419 243 196617 Transition cosinusoïde vers dent de scie ascendante; #P connect 7 0 5 0; #P connect 5 0 15 0; #P connect 15 0 10 0; #P fasten 13 0 14 0 259 406 220 406; #P connect 14 0 17 0; #P connect 17 0 11 0; #P fasten 8 0 9 0 256 328 334 328 334 124 256 124; #P connect 9 0 2 0; #P connect 2 0 3 0; #P connect 3 0 6 0; #P connect 6 0 5 1; #P connect 5 1 8 0; #P connect 10 2 13 0; #P connect 13 0 12 0; #P connect 12 0 17 1; #P connect 6 1 4 0; #P connect 4 0 7 0; #P connect 15 1 16 0; #P connect 16 0 14 1; #P connect 16 1 12 1; #P pop; #P newobj 941 284 80 196617 p dessin_table2; #P newex 200 232 51 196617 el.killdc~; #P newex 909 76 32 196617 * 16; #P message 965 150 43 196617 size \$1; #P message 909 59 34 196617 1024; #P newex 909 95 66 196617 sampstoms~; #P flonum 260 30 35 9 0. 15. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 299 30 35 9 0 15 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 279 70 34 196617 / 16.; #P flonum 279 109 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user meter~ 272 233 352 246 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 flonum 200 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 200 160 70 196617 phasor~ 100.; #P newex 965 167 96 196617 buffer~ tableOnde1; #P message 106 492 196 196617 set tableOnde1 1 \, mode draw \, clipdraw 1; #P newex 200 200 139 196617 2d.wave~ tableOnde1 0. 0. 1; #P user waveform~ 106 516 1104 217 3 9; #W mode draw; #W mouseoutput continuous; #W clipdraw 1; #W unit phase; #W grid 8.; #W ticks 0; #W labels 1; #W vlabels 0; #W vticks 1; #W bpm 0. 14.; #W frgb 33 0 0; #W brgb 60 178 173; #W rgb2 0 95 255; #W rgb3 0 0 0; #W rgb4 0 0 0; #W rgb5 190 137 255; #W rgb6 100 100 100; #W rgb7 100 100 100; #P comment 336 31 95 196617 Wave Nr (0 to 16.); #P comment 169 112 100 196617 Playback freq axis x; #P comment 543 24 91 196617 osc 2 wave offset; #P fasten 43 0 24 1 498 190 439 190; #P fasten 43 0 51 0 498 191 562 191; #P fasten 32 0 4 3 582 197 334 197; #P fasten 32 0 24 3 582 200 525 200; #P connect 24 0 25 0; #P connect 26 0 24 0; #P connect 4 0 18 0; #P fasten 4 0 9 0 205 225 277 225; #P fasten 21 0 4 1 284 189 248 189; #P connect 7 0 4 0; #P connect 30 0 5 0; #P connect 5 0 3 0; #P connect 8 0 7 0; #P connect 18 0 36 0; #P fasten 41 0 36 0 304 428 341 428 341 275 205 275; #P connect 36 0 38 0; #P fasten 40 0 38 0 143 432 205 432; #P fasten 39 0 38 0 131 432 205 432; #P fasten 36 0 35 0 205 422 225 422 225 280 233 280; #P fasten 37 0 34 0 291 418 284 418 284 281 264 281; #P connect 12 0 45 0; #P connect 13 0 45 0; #P connect 45 0 11 0; #P connect 11 0 10 0; #P connect 10 0 22 0; #P connect 22 0 21 0; #P fasten 25 0 37 0 396 262 291 262; #P fasten 36 1 37 0 219 417 255 417 255 279 291 279; #P connect 37 0 38 1; #P connect 37 1 41 0; #P connect 27 0 26 0; #P fasten 45 0 42 0 284 68 498 68; #P connect 44 0 42 0; #P connect 42 0 47 0; #P connect 47 0 50 0; #P connect 50 0 49 0; #P connect 49 0 48 0; #P connect 48 0 43 0; #P connect 46 0 44 0; #P connect 44 1 42 1; #P connect 20 0 28 0; #P connect 28 0 29 0; #P fasten 14 1 31 0 970 118 899 118; #P connect 28 1 15 0; #P connect 15 0 17 0; #P connect 17 0 14 0; #P connect 14 1 16 0; #P connect 16 0 6 0; #P window clipboard copycount 52; Roald Baudoux
- Previous message: [maxmsp] Wii not picking up IR
- Next message: [maxmsp] Bug in 2d.wave~ ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
