Old 04-24-2008, 01:51 PM   #1
spacelabstudio
Human being with feelings
 
spacelabstudio's Avatar
 
Join Date: Apr 2008
Location: Durham, NC
Posts: 66
Default Virtual midi device in windows

This might be a little off topic since it is not specifically Reaper related, but I figure people here might know. I have an idea for an application that uses MIDI to talk to other running applications (such as Reaper, for instance). I figured there must be some easy way to create a virtual midi device in Windows that could be used to pipe midi back and forth between applications. My search isn't really bearing much fruit, though. I honestly thought the Windows Media API must allow this, but it appears I was wrong about that.

Does anyone know of a good, free api out there that will let me do this?

There is ReWire, but Propellerhead won't tell me the protocol unless I officially create a company. Which might happen, but hasn't yet as any kind of legally defined entity.

There are a few little utility apps out there that do this, but they're not free and I'd rather not use a third app as a go between.

So, short of writing my own WDM kernel mode driver, or getting my hands on some Rewire code, what are my options?

Chris
spacelabstudio is offline   Reply With Quote
Old 04-24-2008, 05:37 PM   #2
robg
Human being with feelings
 
Join Date: Sep 2007
Location: Atascadero, CA
Posts: 305
Default

Chris -

I've looked into this as well.

I've not yet been able to find anything. I talked to one of the dev's at Microsoft, and he wasn't aware of any solution other than writing a WDM driver, either
robg is offline   Reply With Quote
Old 04-24-2008, 05:39 PM   #3
robg
Human being with feelings
 
Join Date: Sep 2007
Location: Atascadero, CA
Posts: 305
Default

Thanks for the heads-up on Re-Wire, though.

Maybe we can pool our info.

Last edited by robg; 04-24-2008 at 06:18 PM.
robg is offline   Reply With Quote
Old 04-25-2008, 12:30 AM   #4
bear
Human being with feelings
 
Join Date: Sep 2007
Posts: 61
Default

Maybe I am misunderstanding - isn't MidiYoke exactly what you are talkng about?

Or there is one other one... ummm Hubis Midi Loopback device.

Both of these can be used to pipe midi around between applications in windows.
bear is offline   Reply With Quote
Old 04-25-2008, 05:16 AM   #5
spacelabstudio
Human being with feelings
 
spacelabstudio's Avatar
 
Join Date: Apr 2008
Location: Durham, NC
Posts: 66
Default

Quote:
Originally Posted by bear View Post
Maybe I am misunderstanding - isn't MidiYoke exactly what you are talkng about?

Or there is one other one... ummm Hubis Midi Loopback device.

Both of these can be used to pipe midi around between applications in windows.
Yeah, that's what I want. I guess I was hoping for a cool API level way to do it rather than making folks install something else, but that will do the trick. I did poke around in the WDK (Windows Driver Kit) yesterday some, but this is likely more sensible than trying to roll my own.

Maybe at some point I can get my hands on the ReWire spec and be able to do true app to app without a kernel driver intermediary, but this will do for now. Especially if I don't have to write it.

chris
spacelabstudio is offline   Reply With Quote
Old 04-25-2008, 10:06 AM   #6
robg
Human being with feelings
 
Join Date: Sep 2007
Location: Atascadero, CA
Posts: 305
Default

Quote:
Originally Posted by bear View Post
Maybe I am misunderstanding - isn't MidiYoke exactly what you are talkng about?

Or there is one other one... ummm Hubis Midi Loopback device.

Both of these can be used to pipe midi around between applications in windows.
That won't work for my particular needs. I need to programatically send MIDI.

Might work for spacelabstudio, though.
robg is offline   Reply With Quote
Old 04-25-2008, 04:13 PM   #7
robg
Human being with feelings
 
Join Date: Sep 2007
Location: Atascadero, CA
Posts: 305
Default

I haven't time to look right now, but I rediscovered an old page that might have what we're looking for.

http://www.codeproject.com/KB/audio-video/

There's a number of promising looking articles here.

I'll re-post if I see exactly what we need.
robg is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.