Benvenuto, Visitatore. Per favore, effettua il login o registrati.

  Hai perso la tua email di attivazione?

Main Home Help Ricerca Login Registrati

+  Virtual Sound - FORUM
|-+  Linguaggi per Computer Music, Video e Grafica
| |-+  Max/MSP
| | |-+  Poly~ e messaggio midinote
« precedente successivo »
Pagine: [1] Stampa
Autore Topic: Poly~ e messaggio midinote  (Letto 435 volte)
Batti
Full Member
***
Posts: 129



Guarda Profilo
« il: Maggio 28, 2010, 17:18:26 »

ciao
non riesco ad utilizzare il messaggio midinote per l'oggetto poly~. in pratica dovrebbe comportarsi come l'oggetto poly, ma non da segni di vita. posto le due patch che ho utilizzato per fare i test.


#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 140 156 65 9109513 poly~ _poly 6;
#P button 157 88 15 0;
#P newex 157 108 76 9109513 pack midinote i i;
#P newex 190 68 77 9109513 notein;
#P button 468 301 15 0;
#P number 377 302 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 468 279 106 9109513 receive 6PolyNextNote;
#P newex 377 280 87 9109513 receive 6PolyPitch;
#P button 468 259 15 0;
#P number 377 260 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 468 217 15 0;
#P number 377 218 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 468 237 106 9109513 receive 5PolyNextNote;
#P newex 377 238 87 9109513 receive 5PolyPitch;
#P newex 468 196 106 9109513 receive 4PolyNextNote;
#P newex 377 197 87 9109513 receive 4PolyPitch;
#P button 468 176 15 0;
#P number 377 177 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 468 154 106 9109513 receive 3PolyNextNote;
#P newex 377 155 87 9109513 receive 3PolyPitch;
#P button 468 134 15 0;
#P number 377 135 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 468 92 15 0;
#P number 377 93 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 468 112 106 9109513 receive 2PolyNextNote;
#P newex 377 113 87 9109513 receive 2PolyPitch;
#P newex 468 71 106 9109513 receive 1PolyNextNote;
#P newex 377 72 87 9109513 receive 1PolyPitch;
#P toggle 140 110 15 0;
#P newex 140 133 27 9109513 gate;
#N comlet midiIN ON/OFF;
#P inlet 328 110 15 0;
#P connect 2 0 1 0;
#P fasten 0 0 1 0 333 130 145 130;
#P connect 1 0 30 0;
#P connect 27 0 29 0;
#P connect 29 0 28 0;
#P connect 28 0 1 1;
#P connect 27 0 28 1;
#P connect 27 1 28 2;
#P connect 3 0 7 0;
#P connect 5 0 9 0;
#P connect 11 0 13 0;
#P connect 15 0 19 0;
#P connect 17 0 21 0;
#P connect 23 0 25 0;
#P connect 4 0 8 0;
#P connect 6 0 10 0;
#P connect 12 0 14 0;
#P connect 16 0 20 0;
#P connect 18 0 22 0;
#P connect 24 0 26 0;
#P window clipboard copycount 31;


~~~~~~~~~~~~~~~~~~~~~~~~
_poly
~~~~~~~~~~~~~~~~~~~~~~~~

#P button 225 114 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 191 114 28 9109513 mtof;
#P newex 191 92 44 9109513 stripnote;
#P newex 42 101 27 9109513 t i i;
#P newex 42 293 502 9109513 gate 6;
#P newex 42 241 410 9109513 gate 6;
#P newex 531 315 95 9109513 send 6PolyNextNote;
#P newex 433 315 95 9109513 send 5PolyNextNote;
#P newex 335 315 95 9109513 send 4PolyNextNote;
#P newex 238 314 95 9109513 send 3PolyNextNote;
#P newex 139 315 95 9109513 send 2PolyNextNote;
#P newex 42 315 95 9109513 send 1PolyNextNote;
#P newex 442 266 76 9109513 send 6PolyPitch;
#P newex 362 266 76 9109513 send 5PolyPitch;
#P newex 282 266 76 9109513 send 4PolyPitch;
#P newex 202 266 76 9109513 send 3PolyPitch;
#P newex 122 266 76 9109513 send 2PolyPitch;
#P newex 42 266 76 9109513 send 1PolyPitch;
#N in 1;
#P newobj 191 69 23 9109513 in 1;
#P newex 42 80 46 9109513 thispoly~;
#P newex 42 58 45 9109513 loadbang;
#P fasten 20 0 16 1 230 139 539 139;
#P connect 16 5 14 0;
#P connect 15 5 8 0;
#P fasten 19 0 15 1 196 153 447 153;
#P connect 16 4 13 0;
#P connect 15 4 7 0;
#P connect 16 3 12 0;
#P connect 15 3 6 0;
#P connect 16 2 11 0;
#P connect 18 1 20 0;
#P connect 15 2 5 0;
#P connect 18 0 19 0;
#P connect 2 0 18 0;
#P connect 16 1 10 0;
#P connect 15 1 4 0;
#P connect 16 0 9 0;
#P fasten 17 1 16 0 64 224 47 224;
#P connect 15 0 3 0;
#P connect 17 0 15 0;
#P connect 1 0 17 0;
#P connect 0 0 1 0;
#P window clipboard copycount 21;


ciao
matteo
Loggato
Galileo
Full Member
***
Posts: 151


Guarda Profilo
« Risposta #1 il: Maggio 28, 2010, 23:46:29 »

non capisco la domanda.. io ho provato e il pitch e il bang arrivano al receive 1polypitch e receive 1polynextnote.... devo ammettere che non ho capito la cosa ti serve però, perchè sei send e 6 istanze poly~? se mi spieghi provo a darti una mano anche se il poly~ lo dovrei rinfrescare un pò ma un ripassino mi farebbe benissimo!!

galileo
Loggato
Batti
Full Member
***
Posts: 129



Guarda Profilo
« Risposta #2 il: Maggio 29, 2010, 11:14:36 »

la patch non ha una vera e propria utilità, volevo solo testare il messaggio [midinote] per l'oggetto poly~, in teoria (http://cycling74.com/docs/max5/refpages/msp-ref/poly~.html) dovrebbe gestire la polifonia, quindi mandare il primo noteon all'istanza 1, il secondo all'istanza 2 e così via.... ma non sembra funzionare.
Loggato
Maurizio Giri
Amministratore
Hero Member
*****
Posts: 760


Guarda Profilo WWW
« Risposta #3 il: Maggio 30, 2010, 18:53:00 »

il messaggio midinote gestisce la polifonia, ma le voci le devi occupare e liberare tu.
Ecco una versione di _poly che lo fa:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 89 119 27 196617 > 0;
#P newex 198 54 40 196617 unpack;
#P newex 49 117 31 196617 t b 0;
#P button 232 121 15 0;
#P newex 198 121 28 196617 mtof;
#P newex 198 99 58 196617 stripnote;
#P newex 49 178 27 196617 t i i;
#P newex 49 300 502 196617 gate 6;
#P newex 49 248 410 196617 gate 6;
#P newex 538 322 95 196617 send 6PolyNextNote;
#P newex 440 322 95 196617 send 5PolyNextNote;
#P newex 342 322 95 196617 send 4PolyNextNote;
#P newex 245 321 95 196617 send 3PolyNextNote;
#P newex 146 322 95 196617 send 2PolyNextNote;
#P newex 49 322 95 196617 send 1PolyNextNote;
#P newex 449 273 90 196617 send 6PolyPitch;
#P newex 369 273 90 196617 send 5PolyPitch;
#P newex 289 273 90 196617 send 4PolyPitch;
#P newex 209 273 90 196617 send 3PolyPitch;
#P newex 129 273 90 196617 send 2PolyPitch;
#P newex 49 273 90 196617 send 1PolyPitch;
#N in 1;
#P newobj 198 27 23 196617 in 1;
#P newex 49 157 60 196617 thispoly~;
#P newex 49 91 45 196617 loadbang;
#P connect 22 1 23 0;
#P connect 22 1 18 1;
#P connect 0 0 21 0;
#P connect 23 0 1 0;
#P connect 21 1 1 0;
#P connect 21 0 1 0;
#P connect 1 0 17 0;
#P connect 17 0 15 0;
#P connect 15 0 3 0;
#P fasten 17 1 16 0 71 231 54 231;
#P connect 16 0 9 0;
#P connect 15 1 4 0;
#P connect 16 1 10 0;
#P connect 2 0 22 0;
#P connect 22 0 18 0;
#P connect 18 0 19 0;
#P connect 15 2 5 0;
#P connect 18 1 20 0;
#P connect 16 2 11 0;
#P connect 15 3 6 0;
#P connect 16 3 12 0;
#P connect 15 4 7 0;
#P connect 16 4 13 0;
#P fasten 19 0 15 1 203 160 454 160;
#P connect 15 5 8 0;
#P connect 16 5 14 0;
#P fasten 20 0 16 1 237 146 546 146;
#P window clipboard copycount 24;
Loggato

Batti
Full Member
***
Posts: 129



Guarda Profilo
« Risposta #4 il: Maggio 30, 2010, 19:22:46 »

molte grazie,
dalla documentazione non avevo proprio capito come fare, adesso è molto chiaro.


Loggato
Pagine: [1] Stampa 
« precedente successivo »
Salta a:  


Login con username, password e lunghezza della sessione

Powered by MySQL Powered by PHP © Copyright 1996 - 2008 - ConTempoNet Edizioni Musicali ® - P.IVA: 05174251008
Tutti i diritti riservati - Tutti i marchi sono registrati -
È vietata la riproduzione, anche parziale, dei testi e delle immagini.
Powered by SMF 1.1.15 | SMF © 2006-2008, Simple Machines
Traduzione Italiana a cura di SMItalia
XHTML 1.0 Valido! CSS Valido!