• Home
  • Reviews
  • Articles
  • News
  • Tools
  • GamingHeaven
  • Forums
  • Network
 

Go Back   DriverHeaven.net > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > SoundFonts and MIDI

Notices

Reply
 
LinkBack Thread Tools
Old Apr 29, 2008, 10:19 AM   #1
DriverHeaven Junior Member
 
Join Date: Jan 2006
Posts: 23
zaboomafoo is on a distinguished road

MIDI out from kx effects - is it possible?

Hello,

Is it possible to have MIDI output from a KX effect? Does KX SDK provide functions for MIDI out?

I would like to make a peak FX that sends MIDI messages instead of the GUI display. For example note on + velocity. That would allow for an external MIDI based meter bridge.

If this was already discussed somewhere, please provide a link to the discussion (I was not able to find it).

Regards,
Frank
zaboomafoo is offline   Reply With Quote
Old Apr 29, 2008, 01:10 PM   #2
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,715
Maddogg6 will become famous soon enough

WinAPI has functions for MIDI OUT (and can be used independent of kX SDK)
MidiOutOpen - to open a desired midi port
MidiOutDevCaps - to query the name of the midi ports (useful to select a midi port with a 'friendly' name- but a device# 0 will use the Windows default midi out port)
MidiOutShortMessage can send the typical 3-4 byte midi message (Midi channel/type, Byte 1, Byte2 - like CC#30 with a value of 112 - as a for instance)

Getting the midi device was the hardest part from this noobs point of view - but sending the message was a little tricky too because of byte and nibble orders - as I recall, seemed backwards to the way that I think of how a midi message is sent. Tho, that could just be me... ?? or maybe it was from how PureBasic works..?? its been a while since I did my one project/task
Hope that helps...
Maddogg6 is offline   Reply With Quote
Old Apr 29, 2008, 01:45 PM   #3
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 4,101
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Right, kX functions need only be used to read/write the values from/to the DSP, what you do with those values is up to you (i.e. update a GUI or send MIDI data using Windows functions, etc).

Quote:
Originally Posted by Maddogg6 View Post
but sending the message was a little tricky too because of byte and nibble orders - as I recall, seemed backwards to the way that I think of how a midi message is sent.
Hehe, it (it is a processor thing) is due to little-endian memory addressing, which basically stores data in memory in reverse (depending on how you look at it) order (least significant byte first).

Last edited by Russ; Apr 29, 2008 at 03:37 PM.
Russ is offline   Reply With Quote
Old Apr 29, 2008, 03:07 PM   #4
DriverHeaven Junior Member
 
Join Date: Jan 2006
Posts: 23
zaboomafoo is on a distinguished road

Thanks for the replies. That is what I was hoping to hear.

My crazy idea is to make a midi control surface which will control DSP through kxcontrol. Basically something similar to the digital mixers (lets say yamaha 01v). That is already supported in kxdriver. For the midi messages going out off the kxdriver I will have to do the coding myself. That way I can implement meter bridge for the control surface.

Regards,
Frank
zaboomafoo is offline   Reply With Quote
Old May 1, 2008, 02:35 AM   #5
DriverHeaven Lover
 
Join Date: Jan 2008
Location: germany, sb0090
Posts: 106
stylus02 is on a distinguished road

building a digital mixer is a possible idea. next problem, beside the meters, is to have a lot of a/d inputs. there are 4 analog mono in's (2 stereo) on the audigy. additionally the card provides spdif's which have to be connected with (selfmade) a/d converters. the user "travel.rec" (i think it was his name..) did it successfully.

why you want control the meters via midi ? the mixer in's and out's are analog. why not using analog display circuits?
the soundcard does only the low- noise digital mixing & effects (in one box).

stylus

Last edited by stylus02; May 1, 2008 at 05:24 AM.
stylus02 is offline   Reply With Quote
Old May 1, 2008, 11:53 AM   #6
DriverHeaven Junior Member
 
Join Date: Jan 2006
Posts: 23
zaboomafoo is on a distinguished road

My plan is to stuff 3 audigy cards (or 2 audigy and one live card) into the computer. that gives me 12 inputs. There will be one master card and two slaves which will send their inputs (over spdif) to the master. since audigy (SB0090) has only 3 spdif inputs, that would give me max of 10 separate mono inputs, which will be ok.
There is a thread somewhere here that shows how to connect 3 cards together.

This would give me (all in one):

* 10 ASIO inputs for recording - so I can use this computer as a HD recorder. That would be done by running REAPER and recording 10 ASIO inputs

* a nice 10 input digital (DSP based) mixer, with many outputs (since there are 3 cards). I would control the mixer with some kind of MIDI control surface (working on that now, based on midibox.org project).

* standalone DSP effect box

My goal is to have a standalone HD recorder and mixer in one box. No mouse, no keyboard, no screen. All in and out communication would be done through MIDI. That is why I am looking at the MIDI based meter. It will be easy to build a simple midi device with LCD screen mounted to the computer case which will show the meters and some other information.

Edit: having a DSP / MIDI based meter bridge makes it very flexible: I can switch it between input, post compressor, most EQ, post fader, you name it. Building something like that in analog is way beyond my knowledge .

I think I have all the pieces, basically merging three great projects: kx driver, REAPER and midibox.org into one.

Regards,
Frank

Last edited by zaboomafoo; May 1, 2008 at 12:00 PM.
zaboomafoo is offline   Reply With Quote
Old May 3, 2008, 07:44 AM   #7
DriverHeaven Lover
 
Join Date: Jan 2008
Location: germany, sb0090
Posts: 106
stylus02 is on a distinguished road

mm.. the "midibox" is a very impressive midicontroller- project with microchip 18f452 pic. additionally there are daughterboards like lcd- display, synthesizer ic's (sid, opl), merger, processors, usb-, com connectors, pic- burner..
this could interest a lot of people. www.uCApps.de
stylus02 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools


Similar Threads for: MIDI out from kx effects - is it possible?
Thread Thread Starter Forum Replies Last Post
How do i assign effects on selected MIDI channels? seskanda Effects and the DSP 1 Mar 1, 2008 10:58 AM
How to add effects for midi playback only? Russ Effects and the DSP 2 Jan 18, 2005 07:53 AM
Incoming MIDI sync to DSP effects? jimsey Effects and the DSP 4 Sep 27, 2004 07:10 AM
Assigning per midi channel controller effects its_bagman Effects and the DSP 1 Jul 11, 2004 07:14 PM
Can I switch DSP effects via MIDI Foot Controller ? tonynash General Discussion 0 Jan 6, 2004 05:16 AM




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 02:09 PM. Copyright ©2008 HeavenMedia.net