Midi sequencer to reflect data in max msp

JAVIER ROJAS's icon

Hi everyone, I have this sequencer: https://polyend.com/seq-midi-sequencer/
and was wondering if somehow I can acces to the state of the matrix. Because is a midi sequencer I only obtain the note and velocity of the step the sequencer is in. I want to replicate the data of the sequencer (if possible) in real time in a matrix on Max. I don't know how to do this possible. I would like to have the ID and state of every step in track instead (and also) having which note and velocity is playing.

Ernest's icon

HI Javier, I dont think this is a question for this forum. I think you have to ask the product designer how you could access the data in their sequencer.

JAVIER ROJAS's icon

Hi Ernest, thx for the reply.
I know, and I did it but they say is not possible to access to it. Still, I think should be a way. I'm trying to give each step a different note in order to be able to recognise the step. But this will steal a lot of features the seq has. I'm hopefully still looking for a way out of the box to do it.

JAVIER ROJAS's icon

I've found something, I'm not sure if is the way bc I'm nota into Java, but seems that javax.sound.midi can help here?

Interface Sequencer

  • All Superinterfaces:AutoCloseable, MidiDevice
    public interface Sequencer extends MidiDevice
    A hardware or software device that plays back a MIDI sequence is known as a sequencer. A MIDI sequence contains lists of time-stamped MIDI data, such as might be read from a standard MIDI file. Most sequencers also provide functions for creating and editing sequences.The Sequencer interface includes methods for the following basic MIDI sequencer operations:

  • obtaining a sequence from MIDI file data

  • starting and stopping playback

  • moving to an arbitrary position in the sequence

  • changing the tempo (speed) of playback

  • synchronizing playback to an internal clock or to received MIDI messages

  • controlling the timing of another device

  • In addition, the following operations are supported, either directly, or indirectly through objects that the Sequencer has access to:

  • editing the data by adding or deleting individual MIDI events or entire tracks

  • muting or soloing individual tracks in the sequence

  • notifying listener objects about any meta-events or control-change events encountered while playing back the sequence.

https://docs.oracle.com/javase/7/docs/api/javax/sound/midi/Sequencer.html