Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

[MBS] Midi pgm changes not polled (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] CGBitmapContextMBS -- Typecast problem
Next thread: [MBS] Creating MIDI virtual destination


[MBS] Midi pgm changes not polled   -   lveillette
  Re: [MBS] Midi pgm changes not polled   -   Christian Schmitz
  Re: [MBS] Midi pgm changes not polled   -   lveillette

[MBS] Midi pgm changes not polled
Date: 02.05.06 09:18 (Tue, 02 May 2006 04:18:44 -0400)
From: lveillette
I'm trying the midi input part of the plugin and it works fin except for the
fact that it doesn't catch all my program changes.

It doesn't get those from 1 to 12 and then 15...

It works for pgm changes from 14 to 24 (but not 15). i get some a series of
code and sometimes a program change event (odd)..

That's as far as I can tell.

I'm also sure that my midi source is outputting those pgm changes.

Also I'm curious, I'm sure I could decipher the series of code, but why not
wrap all this in a pgm change event with a nice pgm number just like for the
note and controler events?

Louis Veillette

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Midi pgm changes not polled
Date: 03.05.06 20:47 (Wed, 3 May 2006 21:47:19 +0200)
From: Christian Schmitz
lveillette <<email address removed>> wrote:

> I'm trying the midi input part of the plugin and it works fin except for the
> fact that it doesn't catch all my program changes.

Does someone else use Midi?

Oh, Louis, what are you using?
The Mac OS X classes, the Windows classes or the PortAudio stuff?
On for PortAudio, which platform?

And of course is there an easy way I can test this?

Gruß
Christian

Re: [MBS] Midi pgm changes not polled
Date: 04.05.06 15:11 (Thu, 04 May 2006 10:11:28 -0400)
From: lveillette
Hello

> Oh, Louis, what are you using?
A simple DX100 connected to a USB2Midi interface, it's as bare bones as it
gets.

> The Mac OS X classes, the Windows classes or the PortAudio stuff?
> On for PortAudio, which platform?
I use the "Midi input" example from the 5.5 suite examples.

Although I'm told that I could use the PortAudio system for checking my
audio input levels at specific frequencies, altough I still I have to figure
out that one... But that's a different topic, alhtough If you have any
idea...

> And of course is there an easy way I can test this?
Sure just plugin a simple midi setup and use the Midi Input example file.

Although now that I came back to the example itself, I think that the
polling probem must be in my code, since now it sees the pgm change, except
for the pitchbend that I still can't get.

My main problem now is figuring out the pgm change number from a string such
as the one below:

240 67 0 3 0 93 31 8 3 5 13 0 1 0 0 0 64 4 6 31 4 2 5 14 99 0 0 0 0 70 10 0
31 5 4 5 13 99 0 0 0 0 66 16 5 28 30 6 6 15 0 2 0 0 0 90 4 3 2 7 35 0 0 0 0
2 6 0 12 0 0 0 0 99 1 0 0 0 0 0 0 50 0 69 108 101 99 32 71 114 97 110 100 99
99 99 50 50 50 72 247

Do you know how?

Thanx once more,

Louis

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info