RTMIDI...again

Started by wadmixfm, July 28, 2019, 22:21:02

Previous topic - Next topic

wadmixfm

hi there again

is there a way to process the timestamp on midi.out

i know there is on midi.in because its in the example code

i wonder why they dont bother doing it both ways

it would save a lot of mither

i have tried to send a midi note which works fine in to a sequencer to record it but the note when its recording keeps going when the midi example has stopped
i understand the concept

message[0] = channel
message[1] = control / note on
message[2] = velocity

but when i do the note off with 128 it does not send it

any ideas out there peeps

cheers

iWasAdam

Midi note off is NOT supported by all devices - go figure

what you need to send is midi note on with a velocity of 0

the standard is to send note off and offer the option to send note on vel=0 instead

wadmixfm

it worked a treat cheers

its a shame there is no Note length option in rtmidi for output

but for what i need the note on velocity 0 works for me :-)

lee



iWasAdam

Midi is a standard (ignoring the note off issue), thats the reason itt has remained stable for many years.

sending note on - note off, is the accepted way of doing things ;)