Juantelway / symbiosis-au-vst

Automatically exported from code.google.com/p/symbiosis-au-vst
0 stars 0 forks source link

Wrapped vsti's don't receive midi events in AULAB #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

Is there anything specific to do for vsti's to receive midi events ?
Mine stays desperately silent in AULab :( 

Original issue reported on code.google.com by Patrice....@gmail.com on 30 Oct 2010 at 4:38

GoogleCodeExporter commented 8 years ago
BTW, I have the same problem with the microtonic demo, so it could be a global 
issue with Symbiosis.

Original comment by Patrice....@gmail.com on 30 Oct 2010 at 6:35

GoogleCodeExporter commented 8 years ago
Yeah, I know. This is an odd one. AU Lab doesn't invoke our 
kMusicDeviceMIDIEventSelect handler. Perhaps there is a secondary way of 
passing MIDI to plug-ins and AU Lab is the only host using it (afaik). This 
usually seems to be the case when something is broken with a particular host. I 
have spent an hour or so trying to figure this one out, but it is still a total 
mystery. AU is such a dark tangle of loose ends.

Does anyone know of any other host that Symbiosis doesn't receive MIDI from?

Original comment by malstro...@gmail.com on 2 Nov 2010 at 5:37

GoogleCodeExporter commented 8 years ago
Yes, Garageband has the same issue.

Original comment by Patrice....@gmail.com on 2 Nov 2010 at 6:09

GoogleCodeExporter commented 8 years ago
Could it be because Symbiosis doesn't implement the fastDispatch methods ?

Original comment by Patrice....@gmail.com on 2 Nov 2010 at 6:14

GoogleCodeExporter commented 8 years ago
Are you sure about Garageband? I have just tested 5.1 and both MicroTonic and 
Synplant receives MIDI. (All earlier versions of GB that we have tested have 
worked too.)

You could be right about the FastDispatch property, but then I would claim that 
AU Lab is wrong. FastDispatch should be optional. Btw, I find the entire 
concept amusing. The cpu required for a switch statement is irrelevant today 
and considering instruction caching etc, function calls through pointers may 
actually be just as slow as a switch block.

Haha, I just possibly found a third way to send MIDI notes. Something called 
"kMusicDeviceStartNoteSelect". Hurray for freedom of choice! <- sarcasm

Original comment by malstro...@gmail.com on 2 Nov 2010 at 7:45

GoogleCodeExporter commented 8 years ago
I haven't tried Microtonic and Synplant, but my symbiosis-wrapped Zen didn't 
get midi in Garageband either...

Original comment by Patrice....@gmail.com on 2 Nov 2010 at 8:04

GoogleCodeExporter commented 8 years ago
Oh. I found it at last. It was a mega-stoopid copy / paste bug in Symbiosis. 
The net effect was that it didn't register render notification callbacks 
properly, and AU Lab used these callbacks to supply the AU with MIDI data.

Fixed in 1.3b.

Original comment by malstro...@gmail.com on 31 Aug 2011 at 12:28