Forums > MaxMSP

Seq midiout and MIDI metaevents

March 24, 2006 | 2:11 am

I don’t seem to be able to record MIDI meta events correctly with seq or
even send them through midiout to Digital Performer’s conductor track.

I am iterating a list like this

255 88 4 4 2 24 8

Which is a valid sequence for a meter change to 4/4.

Midiout seems to ignore these messages and seq records them incorrectly as

255 88 0
255 4 0
255 4 0
Etc.

Cheers,
Gary Lee Nelson
TIMARA Department
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


March 24, 2006 | 1:04 pm

More on the subject and an illustration…

I am working on a sound track for a new film by my wife, Christine. The
title is "Hope" and it deals in an abstract and evocative way with breast
cancer survivorship. Many of the animated images are based on her iris
painting. Prints of one of the painting with be sold by the American Cancer
Society along with a DVD of the film to benefit breast cancer research.

The soundtrack will be a fairly conventional composition for chamber
orchestra initially realized with GPO but I want to make a score with
Sibelius in preparation for a performance by a student ensemble.

I described the problem above in an earlier message. My test patch is at
the end. Neither seq nor midiout interprets metaevents correctly.

This seems to be a bug. The problems I’ve had earlier with detonate suggest
that C74 might want to have another look at MIDI. A multitrack (file type
1) version of seq is long overdue.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 321 256 27 196617 + 2;
#P newex 188 231 27 196617 t i b;
#P newex 85 413 43 196617 midiout;
#P newex 405 341 25 196617 iter;
#P message 205 258 20 196617 60;
#P newex 205 303 48 196617 pack 0 0;
#P newex 205 327 92 196617 midiformat;
#P newex 205 278 88 196617 makenote 96 125;
#P newex 406 368 43 196617 midiout;
#P newex 404 288 27 196617 t b i;
#P newex 404 316 117 196617 pack 255 88 4 0 2 24 8;
#P user umenu 209 415 100 196647 1 64 431 1;
#X add stop;
#X add start;
#X add record;
#X add read;
#X add write;
#X add delay 0;
#P newex 314 414 27 196617 seq;
#P newex 85 384 92 196617 midiformat;
#P newex 85 363 48 196617 pack 0 0;
#P newex 350 150 32 196617 sel 1;
#P toggle 321 92 15 0;
#P newex 85 315 31 196617 + 60;
#P number 321 302 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 321 233 52 196617 random 8;
#P newex 321 209 32 196617 sel 1;
#P number 392 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 85 342 88 196617 makenote 96 500;
#N counter 1 3;
#X flags 0 0;
#P newobj 321 182 66 196617 counter 1 3;
#P newex 321 119 58 196617 metro 500;
#P window linecount 2;
#P comment 259 169 52 196617 beat counter;
#P window linecount 4;
#P comment 390 214 57 196617 random time signatures 2/4 to 5/4;
#P window linecount 2;
#P comment 443 337 58 196617 metaevent for meter;
#P window linecount 4;
#P comment 457 370 85 196617 < - connected to Digital Performer conductor
channel vis IAC;
#P window linecount 3;
#P comment 232 230 62 196617 "tap" signal to Digital Performer;
#P window linecount 4;
#P comment -3 344 71 196617 chromatic scale that simply counts beats
audibly;
#P window linecount 2;
#P comment 67 434 100 196617 IAC to track 1 in Digital Performer;
#P fasten 30 0 14 0 193 281 90 281;
#P connect 14 0 9 0;
#P connect 9 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 29 0;
#P connect 9 1 17 1;
#P fasten 8 0 30 0 326 204 193 204;
#P connect 30 1 27 0;
#P connect 27 0 24 0;
#P connect 24 0 26 0;
#P connect 26 0 25 0;
#P connect 24 1 26 1;
#P fasten 18 0 19 0 90 405 319 405;
#P fasten 28 0 19 0 410 365 319 365;
#P connect 20 1 19 0;
#P connect 15 0 7 0;
#P connect 7 0 8 0;
#P connect 8 0 11 0;
#P connect 11 0 12 0;
#P connect 12 0 31 0;
#P connect 31 0 13 0;
#P connect 16 0 8 2;
#P connect 15 0 16 0;
#P fasten 31 0 8 4 326 282 469 282 469 174 382 174;
#P connect 8 0 10 0;
#P fasten 31 0 22 0 326 285 409 285;
#P connect 22 0 21 0;
#P connect 21 0 28 0;
#P connect 28 0 23 0;
#P fasten 25 0 23 0 210 359 411 359;
#P connect 22 1 21 3;
#P window clipboard copycount 32;

Cheers,
Gary Lee Nelson
TIMARA Department
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


Viewing 2 posts - 1 through 2 (of 2 total)