pub fn new_midi(
        time_in_frames: i64,
        midi_uri: lv2_raw::LV2Urid,
        data: &[u8],
    ) -> Result<LV2AtomEventBuilder<MAX_SIZE>, EventError> {
        LV2AtomEventBuilder::<MAX_SIZE>::new(time_in_frames, midi_uri, data)
    }
/// Create a new midi event.
///
/// This is equivalent to `new` but exists to make it more obvious how to
/// build midi events.
///
/// # Errors
/// Returns an error if data cannot fit within `MAX_SIZE`.
Create a new midi event.
This is equivalent to `new` but exists to make it more obvious how to
build midi events.
Create a new midi event . This is equivalent to ` new ` but exists to make it more obvious how to build midi events .
pub fn new_midi(
        time_in_frames: i64,
        midi_uri: lv2_raw::LV2Urid,
        data: &[u8],
    ) -> Result<LV2AtomEventBuilder<MAX_SIZE>, EventError> {
        LV2AtomEventBuilder::<MAX_SIZE>::new(time_in_frames, midi_uri, data)
    }
pub fn new_midi ( time_in_frames : i64 , midi_uri : lv2_raw :: LV2Urid , data : & [ u8 ] , ) -> Result < LV2AtomEventBuilder < MAX_SIZE > , EventError > { LV2AtomEventBuilder :: < MAX_SIZE > :: new ( time_in_frames , midi_uri , data ) }
Create a new midi event.
Create a new midi event .
time_in_frames
i64
midi_uri
lv2_raw::LV2Urid
data
&[u8]
time_in_frames
i64
midi_uri
lv2_raw::LV2Urid
data
&[u8]
errors
Returns an error if data cannot fit within `MAX_SIZE`.
Returns an error if data cannot fit within ` MAX_SIZE ` .