Crudebyte Logo
_jack_midi_event Struct Reference

A Jack MIDI event. More...

#include <midiport.h>

Detailed Description

A Jack MIDI event.

MIDI events in JACK are provided as raw standard MIDI data, along with a time stamp which indicates when this MIDI event was received by JACK within the current process slice that your application currently handles.

It is out of the scope of this documentation to describe the format of MIDI data in general. Please refer to the official MIDI protocol specification (i.e. on www.midi.org) for more details about MIDI data.

To handle MIDI data in JACK as raw MIDI data packets, was chosen intentionally, to not i.e. force a specific version of the MIDI standard, vendor specific extensions of the protocol and so on, which may have cluttered the JACK API unnecessarily. JACK was chosen to remain neutral on those aspects.

Refer to _jack_midi_event for the members of this structure.

Definition at line 94 of file midiport.h.

Public Attributes

jack_nframes_t time
size_t size
jack_midi_data_tbuffer

Member Data Documentation

jack_nframes_t _jack_midi_event::time

Sample index (within current process period) at which event is valid.

Definition at line 96 of file midiport.h.

size_t _jack_midi_event::size

Number of bytes of data in buffer.

Definition at line 97 of file midiport.h.

jack_midi_data_t* _jack_midi_event::buffer

Raw MIDI data as byte sequence.

Definition at line 98 of file midiport.h.


The documentation for this struct was generated from the following file:
DE • EN
Copyright © MMXIII Crudebyte. All rights reserved.

twitter