Or, this patch can help you (actually, i don't know what you are looking for ;) ++
Jack Le lundi 14 septembre 2009 à 17:17 +0200, Jack a écrit : > For the 2nd point. > ++ > > Jack > > > Le lundi 14 septembre 2009 à 12:36 +0100, James Dunn a écrit : > > Hi all, > > > > I'm hoping someone might be able to help out with a patch I'm working > > on (attached to this mail). Basically the patch is designed to trigger > > samples when a specific key is pressed on the computer keyboard. Also > > I want to have scrolling text in gem which advances with each key > > press. > > > > My problems are: > > > > 1) Using keyname, the number keys don't work with route - why is this? > > Character keys and the Function keys work fine, but I would like to > > use the number keys as well. > > > > 2) Textfile only reads up to the comma - how can I print commas to the > > gem window AND specify how much of the text file should be read at a > > time? > > > > 3) I just tried running the gem window and triggering the sample at > > the same time and the audio was stuttering constantly! Any ideas for a > > solution? > > > > many thanks for any advice > > > > James > > _______________________________________________ > > Pd-list@iem.at mailing list > > UNSUBSCRIBE and account-management -> > > http://lists.puredata.info/listinfo/pd-list > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list
#N canvas 563 49 647 658 10; #X obj 15 21 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 3 1 5 0; #X connect 3 1 6 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 20 60 pd gemwin; #X msg 20 41 destroy; #X text 16 20 Create window:; #X obj 239 364 gemhead; #X msg 314 449 text \$1; #X obj 452 476 loadbang; #X msg 452 501 7; #X text 506 581 Jack/RYBN 2009; #X msg 24 433 font \$1; #X obj 24 414 openpanel; #X obj 24 387 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 38 471 loadbang; #X msg 38 491 justify right base; #X obj 239 384 translateXYZ 3.8 0 0; #X obj 239 524 text3d enter your text with keyboard; #X text 44 385 <- it is better to use; #X text 64 395 a typewriter style font; #X obj 9 107 cnv 15 200 250 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 54 139 gemkeyname; #X obj 105 250 t a; #X obj 21 219 spigot; #X obj 21 250 list prepend; #X obj 21 317 list2symbol; #X msg 84 296 symbol; #X obj 84 276 loadbang; #X text 124 139 <- use keyboard; #X text 142 149 in GEM window; #X text 234 179 OR; #X text 234 199 I; #X text 234 219 DON'T; #X text 234 239 KNOW; #X text 234 259 WHAT; #X text 234 279 YOU; #X text 234 299 NEED :); #X obj 304 13 cnv 15 300 430 empty empty empty 20 12 0 14 -233017 -66577 0; #X msg 454 102 rewind; #X obj 435 196 textfile; #X msg 435 129 bang; #X msg 474 74 read monTexte.txt; #X obj 314 269 list-dripslow; #X obj 435 50 t b b b; #X obj 435 19 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 451 18 <- 1; #X obj 314 110 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 314 203 f; #X floatatom 329 181 5 0 0 0 - - -; #X obj 314 231 until; #X text 362 181 <- 2; #X text 330 109 <- 3; #X obj 314 313 list prepend; #X obj 404 313 t a; #X obj 314 419 list2symbol; #X obj 435 252 symbol2list; #X obj 435 220 list2symbol; #X msg 522 235 symbol; #X obj 522 210 loadbang; #X msg 403 402 symbol; #X obj 403 377 loadbang; #X connect 1 0 2 0; #X connect 2 0 1 0; #X connect 4 0 14 0; #X connect 5 0 15 0; #X connect 6 0 7 0; #X connect 7 0 15 1; #X connect 9 0 15 0; #X connect 10 0 9 0; #X connect 11 0 10 0; #X connect 12 0 13 0; #X connect 13 0 15 0; #X connect 14 0 15 0; #X connect 19 0 21 1; #X connect 19 1 21 0; #X connect 20 0 22 1; #X connect 21 0 22 0; #X connect 22 0 20 0; #X connect 22 0 23 0; #X connect 23 0 5 0; #X connect 24 0 23 1; #X connect 25 0 24 0; #X connect 36 0 37 0; #X connect 37 0 54 0; #X connect 38 0 37 0; #X connect 39 0 37 0; #X connect 40 0 50 0; #X connect 40 1 50 1; #X connect 41 0 38 0; #X connect 41 1 36 0; #X connect 41 2 39 0; #X connect 42 0 41 0; #X connect 44 0 45 0; #X connect 45 0 47 0; #X connect 46 0 45 1; #X connect 47 0 40 0; #X connect 50 0 51 0; #X connect 50 0 52 0; #X connect 51 0 50 1; #X connect 52 0 5 0; #X connect 53 0 40 1; #X connect 54 0 53 0; #X connect 55 0 53 1; #X connect 56 0 55 0; #X connect 57 0 52 1; #X connect 58 0 57 0;
Ceci est un texte\, ecrit sous 'editeur de texte'\, qui doit etre affiche sous GEM. Il faut\, egalement\, afficher quelques mots de ce texte.
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list