max v2; #N vpatcher 6 44 1276 850; #P origin 18 18; #P button 3 618 15 0; #P hidden button 17 740 15 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 20 618 100 196617 10 3 2006 14 32 43; #P hidden message 34 761 356 196617 Osyx:/Documents/Documentation/MaxMSP/Tasks/MBrola/MbrolaTask.txt; #N vpatcher 13 59 631 604; #P outlet 211 364 15 0; #P window setfont "Sans Serif" 9.; #P newex 30 133 62 196617 prepend set; #P inlet 105 86 15 0; #P outlet 17 366 15 0; #P inlet 20 86 15 0; #P newex 17 312 62 196617 prepend set; #P comment 318 248 12 196617 :; #P comment 252 248 12 196617 :; #P newex 340 224 60 196617 prepend set; #P message 340 248 33 196617 43; #P comment 339 264 35 196617 second; #P newex 276 224 60 196617 prepend set; #P message 276 248 33 196617 32; #P comment 275 264 35 196617 minute; #P newex 212 225 60 196617 prepend set; #P message 212 248 33 196617 14; #P comment 211 265 35 196617 hour; #P newex 148 225 60 196617 prepend set; #P message 148 248 33 196617 2006; #P comment 147 265 35 196617 year; #P newex 84 226 60 196617 prepend set; #P message 84 248 33 196617 3; #P comment 83 266 35 196617 day; #P newex 20 226 60 196617 prepend set; #P message 20 248 33 196617 10; #P newex 20 196 332 196617 unpack 1 1 2000 0 0 0; #P newex 20 173 44 196617 filedate; #B color 14; #P newex 20 109 54 196617 opendialog; #P comment 19 266 35 196617 month; #P comment 124 248 12 196617 \,; #P newex 190 101 53 196617 closebang; #P window setfont "American Typewriter" 18.; #P comment 27 422 112 199491602 Date Stamp; #P window setfont "Sans Serif" 9.; #P comment 27 460 100 196617 v 0.01; #P comment 27 475 100 196617 rhoadley.net; #P fasten 7 0 28 0 25 193 14 193 14 305 22 305; #P connect 28 0 30 0; #P connect 29 0 6 0; #P connect 6 0 7 0; #P fasten 31 0 7 0 110 162 25 162; #P connect 7 0 8 0; #P connect 8 0 10 0; #P connect 10 0 9 0; #P fasten 6 0 32 0 25 131 35 131; #P connect 8 1 13 0; #P connect 13 0 12 0; #P connect 8 2 16 0; #P connect 16 0 15 0; #P fasten 32 0 33 0 35 167 9 167 9 346 216 346; #P connect 8 3 19 0; #P connect 19 0 18 0; #P connect 8 4 22 0; #P connect 22 0 21 0; #P connect 8 5 25 0; #P connect 25 0 24 0; #P pop; #P hidden newobj 33 735 64 196617 p datestamp; #P window setfont "Sans Serif" 12.; #P comment 456 621 18 196620 9; #P comment 249 550 18 196620 8; #P comment 913 33 18 196620 7; #P comment 1045 300 71 196620 6; #P comment 634 183 18 196620 5; #P comment 515 54 28 196620 4; #P comment 83 311 18 196620 2; #P toggle 457 706 15 0; #P window setfont "Sans Serif" 9.; #P message 480 706 27 196617 open; #P newex 480 741 63 196617 sfrecord~ 2; #P newex 480 650 53 196617 adoutput~; #P window linecount 2; #P comment 480 621 99 196617 When you're ready record a demo...; #P window linecount 9; #P comment 577 651 113 196617 1. Click on open to open a file for recording. Save the file in one of your own directories to which you know you have access. 2. Use the toggle to turn recording on and \, when finished \, off.; #P user panel 449 615 263 152; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P window linecount 1; #P comment 632 484 103 196617 Turn the patch on >>>; #N vpatcher 364 123 964 523; #P window setfont "Sans Serif" 9.; #P window linecount 1; #N vpatcher 10 59 830 579; #P button 642 205 15 0; #P window setfont "Sans Serif" 9.; #P flonum 387 160 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 0; #N vpatcher 55 244 964 750; #P inlet 21 25 15 0; #P button 21 44 15 0; #P window setfont "Sans Serif" 9.; #P message 571 68 102 196617 \; deb4 clear \; deb4 0 80 \; deb4 8000 80 \; deb4 15000 980. \; deb4 22000 1980. \; deb4 34900 980. \; deb4 43500 14980. \;; #P message 376 68 85 196617 \; bw4 clear \; bw4 0 70 \; bw4 8000 70. \; bw4 11500 30 \; bw4 15000 20. \; bw4 22000 10 \; bw4 25440 10. \; bw4 25655 100 \; bw4 27160 5. \; bw4 37050 0.1 \; bw4 43500 0.1 \;; #P message 477 68 84 196617 \; tex4 clear \; tex4 0 0.15 \; tex4 4000 0.15 \; tex4 8000 1. \; tex4 22000 12. \; tex4 24150 5. \; tex4 30600 5. \; tex4 34900 50. \; tex4 43500 50. \;; #P message 258 67 106 196617 \; accel4 clear \; accel4 0 10. \; accel4 4000 10. accel4 8000 7. \; accel4 12200 3.6363 \; accel4 43500 3.6363 \;; #P message 683 66 93 196617 \; amp4 clear \; amp4 0 0.4 \; amp4 4000 0.4 \; amp4 8000 0.6 \; amp4 12200 0.8 \; amp4 22000 0.15 \; amp4 27375 0.2 \; amp4 32750 0.07 \; amp4 38125 0.02 \; amp4 43500 0.01 \;; #P message 147 65 100 196617 \; fund4 clear \; fund4 0 17.6 \; fund4 4000 17.6 fund4 4240 16.6 \; fund4 5440 8. \; fund4 6080 9.4 \; fund4 6720 5.3 \; fund4 7360 6.8 \; fund4 8000 4. \; fund4 22000 0.725 \; fund4 22010 1. \; fund4 25500 0.45 \; fund4 25762.5 1.7 \; fund4 26025 0.58 \; fund4 26375 1.2 \; fund4 27075 0.82 \; fund4 27775 0.42 \; fund4 39500 0.11 \; fund4 43400 0.11 \; fund4 43500 0. \;; #P message 21 65 112 196617 \; form4 clear \; form4 0 20 \; form4 500 40 \; form4 1000 30 \; form4 1500 60 \; form4 2000 50 \; form4 2500 100 \; form4 3000 75 \; form4 4000 150 \; form4 4400 150 \; form4 6200 20 \; form4 8000 150 \; form4 9000 200 \; form4 10000 125 \; form4 11000 75 \; form4 12000 100 \; form4 13000 50 \; form4 14000 75 \; form4 15000 54 \; form4 22000 54 \; form4 25500 54 \; form4 25885 154. \; form4 26060 63.18 \; form4 26235 63.18 \; form4 26497.5 291.6 \; form4 27110 44.5 \; form4 43500 44.5 \;; #P connect 8 0 7 0; #P connect 7 0 0 0; #P fasten 7 0 1 0 152 59; #P fasten 7 0 3 0 263 59; #P fasten 7 0 5 0 381 59; #P fasten 7 0 4 0 482 59; #P fasten 7 0 6 0 576 59; #P fasten 7 0 2 0 688 59; #P pop; #P newobj 642 223 35 196617 p data; #P window linecount 2; #P message 188 82 55 196617 \; Kont bang \;; #P window linecount 1; #N vpatcher 70 56 978 744; #P origin 0 71; #P window setfont "Sans Serif" 9.; #P newex 26 204 41 196617 s fund4; #P newex 26 225 44 196617 s form4; #P newex 26 247 40 196617 s amp4; #P newex 26 266 35 196617 s bw4; #P newex 26 285 35 196617 s tex4; #P newex 26 306 35 196617 s deb4; #P newex 26 329 46 196617 s accel4; #P newex 26 181 45 196617 s accel4; #P message 117 106 50 196617 \; atten 20 \;; #P newex 274 569 29 196617 s bw; #P message 274 392 63 196617 range 0 120; #P newex 275 350 35 196617 r bw4; #P message 275 371 31 196617 clear; #P button 273 417 15 0; #P flonum 274 549 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user function 274 443 474 543 1 1 0 0; #X frgb 82 82 82; #X brgb 204 204 204; #X rgb2 85 85 85; #X rgb3 255 255 255; #X rgb4 0 0 0; #X rgb5 0 0 0; #X add 0. 70. 0; #X add 8000. 70. 0; #X add 11500. 30. 0; #X add 15000. 20. 0; #X add 22000. 10. 0; #X add 25440. 10. 0; #X add 25655. 100. 0; #X add 27160. 5. 0; #X add 37050. 0.1 0; #X add 43500. 0.1 0; #X domain 44000.; #X range 0. 120.; #X done; #P newex 681 567 31 196617 s deb; #P message 681 398 75 196617 range 0 15000; #P newex 681 360 35 196617 r deb4; #P message 681 379 31 196617 clear; #P button 682 417 15 0; #P flonum 681 548 44 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user function 681 442 881 542 1 1 0 0; #X frgb 82 82 82; #X brgb 204 204 204; #X rgb2 85 85 85; #X rgb3 255 255 255; #X rgb4 0 0 0; #X rgb5 0 0 0; #X add 0. 80. 0; #X add 8000. 80. 0; #X add 15000. 980. 0; #X add 22000. 1980. 0; #X add 34900. 980. 0; #X add 43500. 14980. 0; #X domain 44000.; #X range 0. 15000.; #X done; #P message 97 164 72 196617 domain 44000; #P newex 482 315 35 196617 s fund; #P message 483 133 55 196617 range 0 20; #P newex 484 92 41 196617 r fund4; #P message 483 115 31 196617 clear; #P button 482 153 15 0; #P flonum 482 294 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user function 482 188 682 288 1 1 0 0; #X frgb 82 82 82; #X brgb 204 204 204; #X rgb2 85 85 85; #X rgb3 255 255 255; #X rgb4 0 0 0; #X rgb5 0 0 0; #X add 0. 17.6 0; #X add 5440. 8. 0; #X add 6080. 9.4 0; #X add 6720. 5.3 0; #X add 7360. 6.8 0; #X add 8000. 4. 0; #X add 22000. 0.725 0; #X add 22010. 1. 0; #X add 25500. 0.45 0; #X add 25762.5 1.7 0; #X add 26025. 0.58 0; #X add 26375. 1.2 0; #X add 27075. 0.82 0; #X add 27775. 0.42 0; #X add 39500. 0.11 0; #X add 43400. 0.11 0; #X add 43500. 0. 0; #X domain 44000.; #X range 0. 20.; #X done; #P newex 478 584 31 196617 s tex; #P message 478 397 63 196617 range 0 100; #P newex 478 352 35 196617 r tex4; #P message 478 374 31 196617 clear; #P button 478 417 15 0; #P flonum 478 558 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user function 478 443 678 543 1 1 0 0; #X frgb 82 82 82; #X brgb 204 204 204; #X rgb2 85 85 85; #X rgb3 255 255 255; #X rgb4 0 0 0; #X rgb5 0 0 0; #X add 0. 0.15 0; #X add 4000. 0.15 0; #X add 8000. 1. 0; #X add 22000. 12. 0; #X add 24150. 5. 0; #X add 30600. 5. 0; #X add 34900. 50. 0; #X add 43500. 50. 0; #X domain 44000.; #X range 0. 100.; #X done; #P newex 275 316 39 196617 s accel; #P message 275 140 55 196617 range 0 10; #P newex 275 100 45 196617 r accel4; #P message 275 120 31 196617 clear; #P button 275 160 15 0; #P flonum 275 295 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user function 275 189 475 289 1 1 0 0; #X frgb 82 82 82; #X brgb 204 204 204; #X rgb2 85 85 85; #X rgb3 255 255 255; #X rgb4 0 0 0; #X rgb5 0 0 0; #X add 0. 10. 0; #X add 12200. 3.6363 0; #X add 43500. 3.6363 0; #X domain 44000.; #X range 0. 10.; #X done; #P newex 69 585 34 196617 s amp; #P message 70 395 51 196617 range 0 1; #P newex 69 356 40 196617 r amp4; #P message 69 378 31 196617 clear; #P button 70 412 15 0; #P flonum 69 559 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user function 69 444 269 544 1 1 0 0; #X frgb 82 82 82; #X brgb 204 204 204; #X rgb2 85 85 85; #X rgb3 255 255 255; #X rgb4 0 0 0; #X rgb5 0 0 0; #X add 0. 0.4 0; #X add 4000. 0.4 0; #X add 8000. 0.6 0; #X add 12200. 0.8 0; #X add 22000. 0.15 0; #X add 27375. 0.2 0; #X add 32750. 0.07 0; #X add 38125. 0.02 0; #X add 43500. 0.01 0; #X domain 44000.; #X range 0. 1.; #X done; #P newex 26 78 35 196617 r Kont; #P newex 686 321 38 196617 s form; #P message 26 106 84 196617 0 \, 43500 43500; #P newex 26 129 40 196617 line; #P number 26 156 50 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 686 137 63 196617 range 0 200; #P newex 686 96 44 196617 r form4; #P message 686 119 31 196617 clear; #P button 686 156 15 0; #P flonum 686 295 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user function 686 188 882 287 1 1 0 0; #X frgb 82 82 82; #X brgb 204 204 204; #X rgb2 85 85 85; #X rgb3 255 255 255; #X rgb4 0 0 0; #X rgb5 0 0 0; #X add 0. 20. 0; #X add 500. 40. 0; #X add 1000. 30. 0; #X add 1500. 60. 0; #X add 2000. 50. 0; #X add 2500. 100. 0; #X add 3000. 75. 0; #X add 4000. 150. 0; #X add 4400. 150. 0; #X add 6200. 20. 0; #X add 8000. 150. 0; #X add 9000. 200. 0; #X add 10000. 125. 0; #X add 11000. 75. 0; #X add 12000. 100. 0; #X add 13000. 50. 0; #X add 14000. 75. 0; #X add 15000. 54. 0; #X add 22000. 54. 0; #X add 25500. 54. 0; #X add 25885. 154. 0; #X add 26060. 63.18 0; #X add 26235. 63.18 0; #X add 26497.5 291.6 0; #X add 27110. 44.5 0; #X add 43500. 44.5 0; #X domain 44000.; #X range 0. 200.; #X done; #P comment 168 106 100 196617 atten fixed at 20ms; #P comment 170 163 100 196617 to set domain for all graphs; #P comment 27 39 100 196617 Incoming bang triggers all functions.; #P comment 340 62 100 196617 The acceleration factor modifies the pitch of the fundamental and formant frequencies \, in this version modifications to time are calculated separately in advance.; #P connect 14 0 12 0; #P connect 12 0 11 0; #P connect 11 0 10 0; #P connect 10 0 59 0; #P fasten 43 0 59 0 31 179; #P connect 10 0 66 0; #P fasten 43 0 66 0 31 179; #P connect 10 0 65 0; #P fasten 43 0 65 0 31 179; #P connect 10 0 64 0; #P fasten 43 0 64 0 31 179; #P connect 10 0 63 0; #P fasten 43 0 63 0 31 179; #P connect 10 0 62 0; #P fasten 43 0 62 0 31 179; #P connect 10 0 61 0; #P fasten 43 0 61 0 31 179; #P connect 10 0 60 0; #P fasten 43 0 60 0 31 179; #P connect 19 0 15 0; #P connect 20 0 15 0; #P connect 18 0 15 0; #P connect 17 0 15 0; #P connect 15 0 16 0; #P connect 16 0 21 0; #P fasten 14 0 58 0 122 95; #P connect 55 0 51 0; #P connect 56 0 51 0; #P connect 54 0 51 0; #P connect 53 0 51 0; #P connect 51 0 52 0; #P connect 52 0 57 0; #P connect 26 0 22 0; #P connect 24 0 22 0; #P connect 25 0 22 0; #P connect 27 0 22 0; #P connect 22 0 23 0; #P connect 23 0 28 0; #P connect 33 0 29 0; #P connect 32 0 29 0; #P connect 31 0 29 0; #P connect 34 0 29 0; #P connect 29 0 30 0; #P connect 30 0 35 0; #P connect 40 0 36 0; #P connect 38 0 36 0; #P connect 39 0 36 0; #P connect 41 0 36 0; #P connect 36 0 37 0; #P connect 37 0 42 0; #P connect 48 0 44 0; #P connect 46 0 44 0; #P connect 47 0 44 0; #P connect 49 0 44 0; #P connect 44 0 45 0; #P connect 45 0 50 0; #P connect 8 0 4 0; #P connect 6 0 4 0; #P connect 7 0 4 0; #P connect 9 0 4 0; #P connect 4 0 5 0; #P connect 5 0 13 0; #P pop; #P newobj 642 272 44 196617 p sect 2; #P flonum 182 257 42 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 233 164 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 387 214 27 196617 * 1.; #P button 217 198 15 0; #P newex 182 237 27 196617 * 1.; #P newex 233 138 39 196617 r accel; #P newex 182 138 35 196617 r fund; #P newex 285 138 30 196617 r oct; #P newex 575 137 39 196617 r atten; #P newex 528 138 31 196617 r deb; #P newex 481 138 31 196617 r tex; #P newex 434 138 29 196617 r bw; #P newex 387 138 38 196617 r form; #P newex 341 138 34 196617 r amp; #P flonum 575 159 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 528 159 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 481 159 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 434 159 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 387 235 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 340 161 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 144 321 15 0; #P newex 182 337 49 196617 dac~; #P flonum 285 162 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 246 251 15 0; #P newex 246 275 340 196617 pack formant 1 1. 609. 78. 0.7 20. 1.; #P flonum 182 163 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 182 274 27 196617 sig~; #P newex 182 311 50 196617 fofb~ 1 1; #P window setfont "Arial Black" 12.; #P window linecount 6; #P comment 15 39 163 791478284 5. Demo of the relationship between FOF synthesis and Stockhausen's analogue techniques in Kontakte.; #P window setfont "Sans Serif" 9.; #P window linecount 4; #P comment 15 153 100 196617 Very approximate \, no reverb added and data only approximate.; #P window linecount 2; #P comment 642 246 100 196617 Patcher containing control structure; #P window linecount 1; #P comment 642 192 112 196617 Patcher containing data; #P window linecount 2; #P comment 188 55 100 196617 Switch on \, then click here to play:; #P window linecount 1; #P comment 660 205 100 196617 Init data; #P comment 16 125 100 196617 Michael Clarke 2002; #P connect 28 0 9 0; #P fasten 31 0 30 0 187 213; #P connect 9 0 30 0; #P connect 30 0 34 0; #P connect 34 0 8 0; #P connect 10 0 7 0; #P connect 8 0 7 0; #P connect 7 0 13 0; #P connect 14 0 13 0; #P fasten 33 0 30 1 238 230 204 230; #P connect 33 0 31 0; #P connect 7 0 13 1; #P fasten 12 0 7 1 290 235 227 235; #P connect 29 0 33 0; #P fasten 20 0 11 0 580 190 251 190; #P fasten 19 0 11 0 533 189 251 189; #P fasten 18 0 11 0 486 189 251 189; #P fasten 17 0 11 0 439 188 251 188; #P connect 16 0 11 0; #P fasten 38 0 11 0 392 188 251 188; #P fasten 15 0 11 0 345 188 251 188; #P connect 11 0 10 0; #P connect 27 0 12 0; #P connect 21 0 15 0; #P connect 15 0 10 2; #P connect 22 0 38 0; #P connect 38 0 32 0; #P connect 31 0 32 0; #P connect 32 0 16 0; #P connect 16 0 10 3; #P fasten 33 0 32 1 238 195 409 195; #P connect 23 0 17 0; #P connect 17 0 10 4; #P connect 24 0 18 0; #P connect 18 0 10 5; #P connect 25 0 19 0; #P connect 19 0 10 6; #P connect 26 0 20 0; #P connect 20 0 10 7; #P connect 39 0 37 0; #P pop; #P newobj 171 176 82 196617 p kontakte demo; #P newex 172 107 34 196617 fofb~; #P newex 172 78 118 196617 fog~ soundf 2; #P window linecount 2; #P comment 350 96 100 196617 check out the help files for these...; #P pop; #P newobj 255 714 109 196617 p other-vocal-objects; #P toggle 1075 26 15 0; #P newex 1075 48 58 196617 metro 300; #P newex 1076 93 92 196617 route 0 1 2 3 4 5; #P newex 1076 70 52 196617 random 6; #P toggle 1074 152 15 0; #P newex 1074 174 64 196617 metro 3000; #N vpatcher 67 44 828 699; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 294 359 204 196617 phonemes & U@ 500 0 173 75 273 * t 4 #; #P message 294 380 204 196617 phonemes & @U 500 0 173 75 273 * t 4 #; #P message 294 260 203 196617 phonemes & e@ 500 0 173 75 173 * t 4 #; #P message 294 282 201 196617 phonemes & I@ 500 0 273 75 173 * t 4 #; #P message 294 302 201 196617 phonemes & aU 500 0 373 75 173 * t 4 #; #P message 98 359 178 196617 phonemes & U@ 500 0 173 75 273 #; #P comment 293 170 129 196617 vowel with consonance...; #P message 97 261 175 196617 phonemes & e@ 500 0 173 75 273 #; #P message 98 283 175 196617 phonemes & I@ 500 0 173 75 273 #; #P message 98 303 175 196617 phonemes & aU 500 0 173 75 273 #; #P message 99 380 178 196617 phonemes & @U 500 0 173 75 273 #; #P message 294 322 181 196617 phonemes & aI 500 90 105 * s 100 #; #P message 98 322 142 196617 phonemes & aI 500 90 105 #; #P message 294 206 210 196617 phonemes & eI 500 54 150 77 160 * t 40 #; #P message 97 206 178 196617 phonemes & eI 500 54 150 77 160 #; #P outlet 227 471 15 0; #P message 294 418 175 196617 phonemes & Q 500 25 137 * t 40 #; #P message 99 419 143 196617 phonemes & Q 500 25 137 #; #P message 294 225 197 196617 phonemes & i: 598 5 173 75 135 * t 4 #; #P message 97 225 171 196617 phonemes & i: 500 5 173 75 135 #; #P message 99 439 173 196617 phonemes & U 500 0 173 75 273 #; #P window linecount 3; #P comment 95 80 286 196617 because of the way that MBrola uses diphones \, notice how placing a consonance after a vowel implements the vowels settings fully...; #P window linecount 1; #P comment 95 170 100 196617 vowel only...; #P window linecount 2; #P comment 95 126 287 196617 the settings below provide useful templates for experimentation; #P fasten 10 0 8 0 283 221 283 459 232 459; #P fasten 5 0 8 0 299 249 282 249 282 460 232 460; #P fasten 21 0 8 0 299 279 282 279 282 461 232 461; #P fasten 20 0 8 0 299 300 284 300 284 460 232 460; #P fasten 19 0 8 0 299 321 282 321 282 461 232 461; #P fasten 12 0 8 0 299 345 283 345 283 461 232 461; #P fasten 7 0 8 0 299 460 232 460; #P fasten 23 0 8 0 299 377 283 377 283 461 232 461; #P fasten 22 0 8 0 299 401 282 401 282 461 232 461; #P fasten 9 0 8 0 102 222 282 222 282 461 232 461; #P fasten 4 0 8 0 102 246 283 246 283 459 232 459; #P fasten 16 0 8 0 102 280 284 280 284 460 232 460; #P fasten 15 0 8 0 103 301 282 301 282 461 232 461; #P fasten 14 0 8 0 103 320 283 320 283 461 232 461; #P fasten 11 0 8 0 103 341 284 341 284 461 232 461; #P fasten 18 0 8 0 103 378 284 378 284 459 232 459; #P fasten 13 0 8 0 104 399 283 399 283 461 232 461; #P fasten 6 0 8 0 104 437 284 437 284 460 232 460; #P fasten 3 0 8 0 104 459 232 459; #P pop; #P newobj 255 602 50 196617 p vowels; #N vpatcher -2 48 330 826; #P origin 0 -78; #P window setfont "Sans Serif" 9.; #P comment 37 46 109 196617 MRPA SAMPA Example p p put b b but t t ten d d den k k can m m man n n not l l like r r run f f full v v very s s some z z zeal h h hat w w went g g game ch tS chain jh dZ Jane ng N long th T thin dh D then sh S ship zh Z measure y j yes ii i: bean aa A: barn oo O: born uu u: boon @@ 3: burn i I pit e e pet a { pat uh V putt o Q pot u U good @ @ about ei eI bay ai aI buy oi OI boy ou @U no au aU now I@ I@ peer e@ e@ pair u@ U@ poor; #P pop; #P newobj 255 629 57 196617 p database; #P message 752 283 285 196617 phonemes & b 80 25 137 65 125 * i: 230 30 129 70 117 #; #P message 752 265 208 196617 phonemes & t 60 * U 50 60 181 80 166 #; #P message 752 247 328 196617 phonemes & n 138 15 121 75 114 * Q 131 25 114 55 129 * t 80 #; #P message 752 229 209 196617 phonemes & Q 63 25 137 * r 33 10 121 #; #P message 752 211 318 196617 phonemes & b 80 10 160 * i: 1980 5 173 75 235 * b 80 10 160 #; #P message 752 189 274 196617 phonemes & t 40 * U 55 0 173 75 173 * b 80 10 160 #; #N vpatcher 20 74 620 474; #P window setfont "Sans Serif" 9.; #P window linecount 0; #P message 380 167 23 196617 1.; #P flonum 380 190 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 388 250 34 196617 Voice; #P message 319 166 23 196617 1.; #P message 259 166 23 196617 1.; #P message 191 166 40 196617 44100; #P user meter~ 234 317 314 330 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 319 190 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 259 191 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 199 191 51 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 159 127 208 196617 phonemes & b 50 0 156 * a 150 100 204 #; #P message 129 110 443 196617 phostream "Macintosh HD:Users:student:Documents:rh:MaxMSP:MBROLA:us1:TEST:alice.pho"; #P message 110 93 29 196617 stop; #P message 90 76 35 196617 pause; #P user ezdac~ 139 330 183 363 0; #P message 60 60 370 196617 voice "Macintosh HD:Users:student:Documents:rh:MaxMSP:MBROLA:Mine:us1"; #P newex 139 271 91 196617 MaxMBROLA_NR~; #P window linecount 2; #P comment 208 242 39 196617 Sample rate; #P window linecount 1; #P comment 268 253 31 196617 Time; #P comment 328 251 33 196617 Pitch; #P connect 4 0 3 0; #P connect 6 0 3 0; #P connect 7 0 3 0; #P connect 8 0 3 0; #P connect 9 0 3 0; #P connect 3 0 5 0; #P fasten 14 0 3 1 196 254 204 254; #P connect 10 0 3 1; #P fasten 3 0 5 1 144 302 178 302; #P fasten 15 0 3 2 264 185 257 185 257 258 264 258; #P connect 11 0 3 2; #P fasten 14 0 10 0 196 186 204 186; #P fasten 16 0 3 3 324 185 316 185 316 257 324 257; #P connect 12 0 3 3; #P connect 3 0 13 0; #P connect 15 0 11 0; #P connect 16 0 12 0; #P fasten 19 0 18 0 385 186 377 186 377 255 384 255; #P pop; #P newobj 255 684 67 196617 p MBrola-NR; #N vpatcher 10 59 840 641; #P window setfont "Sans Serif" 9.; #P window linecount 15; #P comment 538 72 117 196617 _ 60 0 137 p 50 100 137 u 110 90 137 S 100 10 121 D 90 @ 70 57 114 100 102 s 70 t 50 A 100 57 121 64 121 r 40 t 50 b 110 V 140 21 117 57 100 92 100 _ 3 n 130 25 102 50 105 t 60 u 70 28 129 71 111 b 70 i 70 50 102 g 20 10 100 80 102 i 130 25 117 66 114 n 260 3 111 23 105 42 97 61 93 73 93 _ 140 92 93 100 100; #P window linecount 13; #P comment 60 60 230 196617 We developed a function that directly accepts SAMPA streams inside Max messages to provide user control to interactive speech production. The standard SAMPA notation has been modified to fit to the Max message structure. For example \, the following stream: phonemes & b 50 0 156 * a 150 100 204 # begins by initializing the synthesizer \, then produces a syllable /ba/ of 200 (50 + 150) milliseconds with a fundamental frequency increasing from 156Hz to 204Hz (two pitch points). Finally \, it flushes the phoneme buffer. More details about the syntax can be found here.; #P comment 62 235 285 196617 * Fs inlet receives a floating point number. It controls the output sampling rate. Indeed \, the original sampling rate depends on the database (16000Hz or 22050Hz). Linear interpolation is performed allowing the use of that external object with all possible sampling rates. * The inlets Time \, Pitch and Voice each receive a floating point number. These values are respectively the time ratio (deviation of the reference speed of speech) \, the pitch ratio (deviation of the reference fundamental frequency of speech) and voice ratio (compression/dilation ratio of the spectrum width). For each inlet \, 1. is the default value. The object doesn't transmit values lower than 0.01 (means "100 time lower than the default value)."; #P pop; #P newobj 255 654 63 196617 p more-info; #P window linecount 4; #P comment 103 318 100 196617 Open a phoneme file here >>>> For OS X \, choose 'colon' and 'ignore'; #P window linecount 1; #P message 857 608 144 196617 phonemes & ee 900 50 116 #; #P newex 395 501 62 196617 prepend set; #P newex 372 293 62 196617 prepend set; #P newex 292 115 48 196617 loadbang; #P message 292 138 14 196617 2; #P window linecount 3; #P message 842 539 98 196617 phonemes & t 100 59 120 e 133 66 105 #; #P window linecount 2; #P message 843 579 289 196617 phonemes & ee 900 50 116 * s2 1200 50 117 * t 80 50 115 * a 90 50 115 * ee 150 10 117 50 114 * u 120 50 120 #; #P window linecount 1; #P newex 288 501 95 196617 prepend phostream; #P comment 410 346 112 196617 pick an output type; #P comment 293 346 112 196617 pick an output style; #P button 227 325 15 0; #P newex 227 376 54 196617 opendialog; #P button 327 477 15 0; #P user umenu 410 371 100 196647 1 64 387 1; #X add ignore; #X add absolute; #X add relative; #X add boot; #X add C74; #P newex 411 404 87 196617 prepend pathtype; #P user umenu 292 371 100 196647 1 64 387 1; #X add max; #X add native; #X add colon; #X add slash; #X add native_win; #P newex 293 404 91 196617 prepend pathstyle; #P toggle 347 477 15 0; #P newex 288 449 69 196617 conformpath; #B color 5; #P newex 288 293 72 196617 prepend voice; #P button 227 117 15 0; #P newex 227 168 54 196617 opendialog; #P button 327 269 15 0; #P user umenu 410 163 100 196647 1 64 179 1; #X add ignore; #X add absolute; #X add relative; #X add boot; #X add C74; #P newex 411 196 87 196617 prepend pathtype; #P user umenu 292 163 100 196647 1 64 179 1; #X add max; #X add native; #X add colon; #X add slash; #X add native_win; #P newex 293 196 91 196617 prepend pathstyle; #P toggle 347 269 15 0; #P newex 288 241 69 196617 conformpath; #B color 5; #P message 993 318 23 196617 1.; #P message 932 317 23 196617 1.; #P message 872 317 23 196617 1.; #P message 804 317 40 196617 44100; #P user meter~ 847 468 927 481 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 993 341 35 9 0. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 932 341 35 9 0. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 872 342 35 9 0. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 812 342 51 9 0 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 635 134 369 196617 phostream Osxy:Applications:Audio:MBrola:us1:TEST:alice.pho; #P message 657 358 29 196617 stop; #P message 653 380 35 196617 pause; #P user ezdac~ 752 481 796 514 0; #P message 629 116 234 196617 voice Osxy:Applications:Audio:MBrola:us1:us1; #P newex 752 422 252 196617 MaxMBROLA~; #P window linecount 2; #P comment 821 393 39 196617 Sample rate; #P window linecount 1; #P comment 881 404 31 196617 Time; #P comment 941 402 33 196617 Pitch; #P comment 1001 401 34 196617 Voice; #P window linecount 4; #P comment 103 110 100 196617 Open the voice file here >>>> For OS X \, choose 'colon' and 'ignore'; #P window linecount 3; #P comment 20 639 100 196617 NB This is not very stable. Please save often!!!!; #P window setfont "American Typewriter" 18.; #P window linecount 1; #P comment 19 576 168 199491602 MaxMBrola Task; #P window setfont "Sans Serif" 9.; #P comment 20 603 100 196617 v 0.03; #P window linecount 6; #P comment 1046 320 170 196617 Overall controls. Play with them \, but be aware in your own patches that negative values sometimes make the patch (and Max) crash \, so you'd be advised to use minima for your number boxes...; #P window linecount 13; #P comment 519 75 94 196617 Click on the phostream message >>>>>. If there's no sound \, click on the voice message \, then the phostream message. If there's still no sound \, check the Max window for errors. If necessary \, reload the voice file.; #P user panel 1060 19 121 182; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P window linecount 8; #P comment 649 201 44 196617 Try these phoneme streams >>>>> >>> >>> >>> >>> >>>; #P window linecount 2; #P comment 923 52 100 196617 Play with these simple automations; #P comment 255 572 100 196617 Try out some of the following patches:; #P user panel 244 545 132 196; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P window setfont "Sans Serif" 12.; #P window linecount 1; #P comment 83 103 18 196620 1; #P user panel 77 96 132 79; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P user panel 77 305 132 79; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P comment 615 469 18 196620 3; #P user panel 609 462 132 49; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P user panel 511 50 114 189; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P user panel 631 175 120 131; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P user panel 1039 293 185 113; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P user panel 907 26 129 65; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P window setfont "Sans Serif" 14.; #P window linecount 4; #P comment 866 670 335 196622 NB Remember that phonemes will only work with a particular voice file. Using \, for instance \, phonemes that were designed for the voice 'us1' will not work if applied to the voice 'en1'; #P hidden fasten 102 0 104 0 38 678 14 678 14 616 25 616; #P hidden connect 105 0 102 0; #P hidden connect 106 0 103 0; #P hidden fasten 102 1 103 0 92 756 39 756; #P hidden fasten 103 0 102 1 39 780 177 780 177 736 92 736; #P connect 48 0 47 0; #P connect 58 0 57 0; #P fasten 47 0 40 0 232 222 293 222; #P fasten 42 0 40 0 298 230 293 230; #P fasten 44 0 40 0 416 230 293 230; #P connect 40 0 49 0; #P fasten 54 0 50 0 416 438 293 438; #P fasten 52 0 50 0 298 438 293 438; #P fasten 57 0 50 0 232 430 293 430; #P connect 50 0 61 0; #P connect 65 0 64 0; #P connect 64 0 43 0; #P connect 64 0 53 0; #P fasten 43 1 42 0 387 187 298 187; #P fasten 53 1 52 0 387 395 298 395; #P connect 40 1 46 0; #P connect 50 1 56 0; #P connect 40 1 41 0; #P connect 50 1 51 0; #P fasten 49 0 66 0 293 316 365 316 365 286 377 286; #P fasten 61 0 67 0 293 523 388 523 388 495 400 495; #P fasten 45 1 44 0 505 187 416 187; #P fasten 55 1 54 0 505 395 416 395; #P connect 91 0 92 0; #P connect 93 0 92 0; #P fasten 94 0 92 0 462 731 485 731; #P fasten 91 1 92 1 528 723 538 723; #P fasten 66 0 26 0 377 316 622 316 622 109 634 109; #P fasten 67 0 30 0 400 524 640 524 640 156 640 156; #P fasten 83 0 72 0 1081 180 757 180; #P fasten 80 0 73 0 1079 174 757 174; #P fasten 83 1 73 0 1094 204 1095 206 757 206; #P fasten 83 2 74 0 1108 228; #P fasten 83 3 75 0 1121 245; #P fasten 83 4 76 0 1134 271; #P fasten 83 5 77 0 1147 282; #P fasten 63 0 25 0 847 578 736 578 736 407 757 407; #P fasten 62 0 25 0 848 616 736 616 736 409 757 409; #P connect 28 0 25 0; #P connect 29 0 25 0; #P fasten 68 0 25 0 862 642 735 642 735 409 757 409; #P fasten 72 0 25 0 757 246 757 246; #P connect 73 0 25 0; #P connect 74 0 25 0; #P connect 75 0 25 0; #P connect 76 0 25 0; #P connect 77 0 25 0; #P hidden connect 79 0 25 0; #P fasten 26 0 25 0 634 335 757 335; #P fasten 30 0 25 0 640 330 757 330; #P connect 25 0 27 0; #P fasten 25 0 27 1 757 453 791 453; #P fasten 36 0 31 0 809 337 817 337; #P connect 31 0 25 1; #P fasten 36 0 25 1 809 405 817 405; #P connect 25 0 35 0; #P connect 37 0 32 0; #P connect 32 0 25 2; #P fasten 37 0 25 2 877 336 870 336 870 409 877 409; #P connect 38 0 33 0; #P connect 33 0 25 3; #P fasten 38 0 25 3 937 336 929 336 929 408 937 408; #P connect 34 0 25 4; #P fasten 39 0 25 4 998 337 990 337 990 406 997 406; #P connect 39 0 34 0; #P connect 81 0 80 0; #P connect 85 0 84 0; #P connect 84 0 82 0; #P connect 82 0 83 0; #P pop;