Forums > MaxMSP

MIDI – possible to read/write a MIDI track to buffer in real time?

April 26, 2010 | 11:59 am

Hello Forum

Title says it all really, I would like to alter MIDI info in cubase and have this written to a buffer~ in max which would then get the time via the sequencer and hopefully everything would be as tight as a tiger.

Basically I want to be able to sequence MIDI with the same precision as I do audio in Cubase.

Also, I guess I’d need a matrix for chords and things. I’m starting to realise this may not be the best idea way of going about it. Alas cycling built an object almost exactly like the one I wanted (a piano roll) but without any of the features I desired (move notes around freely/different note lengths).

Any thoughts appreciated


April 26, 2010 | 12:14 pm

Do you actually want to send MIDI to hardware synths etc?

MIDI sequencing in Cubase (with virtual instruments) is sample-accurate. That is better than what you get with message rate triggering of a softsynth in Max. There is no way to play a vsti sample-accurately in Max.

Sequencing a hardware MIDI synth from Max will probably be similar timing-wise to Cubase and depends largely on the quality of you MIDI interface.

oli


April 26, 2010 | 2:14 pm

Thanks Oli,

No, there is no external hardware, its all in the box.


April 27, 2010 | 8:45 pm

"MIDI sequencing in Cubase (with virtual instruments) is sample-accurate."

exactly.

another question is how fast an instrument really starts its envelopes when
it receives a C major chord in or from no matter what system.

there is no way in midi (or with a computer) to send 2 notes at a time, that
is only possible with voltage -or with many computers, (but how would you
assure the synchronisation? :D)


May 2, 2010 | 3:35 pm

My problem is syncing and losing notes with larger vector sizes, perhaps the latter is patch design, but I can’t see anything wrong with my poly~ usage. The syncing is annoying, if I’m working on an average project and I make the buffer size smaller in Cubase and the vector sizes smaller in max, I get crackles.

‘there is no way in midi (or with a computer) to send 2 notes at a time, that
is only possible with voltage -or with many computers, (but how would you
assure the synchronisation? :D)’

Outstanding point, although when you’re actually working on a project a much more pressing question is ‘why isn’t my MIDI in time?’


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