SyntaxBomb - Indie Coders

Languages & Coding => BlitzMax / BlitzMax NG => Topic started by: wadmixfm on July 28, 2019, 22:21:02

Title: RTMIDI...again
Post by: wadmixfm on July 28, 2019, 22:21:02
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
Title: Re: RTMIDI...again
Post by: iWasAdam on July 29, 2019, 06:28:26
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
Title: Re: RTMIDI...again
Post by: wadmixfm on July 29, 2019, 22:59:27
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


Title: Re: RTMIDI...again
Post by: iWasAdam on July 30, 2019, 05:29:48
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 ;)