HardwareHeaven.com
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > General Discussion


Reply
 
Thread Tools
Old Sep 23, 2009, 08:53 AM   #1
HardwareHeaven Newbie
 
Join Date: Sep 2007
Location: Tasmania, Australia
Posts: 12
Rep Power: 0
hamishstevens is on a distinguished road

Automation Control

I want to control my KX Dsp via an infrared remote
Should be able to do it through automation i would of thought.
Does anyone know of a program to send MIDI controllers by a keyboard (computer keyboard) shortcut?
Using the program found at
Granucon - music software - virtual midi sliders
I have been able to control volumes which i wanted to but i need keyboard shortcuts so i can control it through an infrared remote

Any ideas?

heres the KX setup
http://i631.photobucket.com/albums/u...ohamish/KX.jpg
hamishstevens is offline   Reply With Quote


Old Sep 23, 2009, 09:49 PM   #2
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Re: Automation Control

Take a look here: Div's MIDI Utilities

Quote:

sendmidi (Windows)


This command line utility sends a single specified MIDI message. It can be used for scripting, or as a poor man's knob box.

Usage: sendmidi [ --out <port> ] ( --note-off <channel> <pitch> <velocity> | --note-on <channel> <pitch> <velocity> | --key-pressure <channel> <pitch> <amount> | --control-change <channel> <number> <value> | --program-change <channel> <number> | --channel-pressure <channel> <amount> | --pitch-wheel <channel> <amount> )
You should be able to use the above along with a program like AutoHotkey.

Last edited by Russ; Sep 23, 2009 at 10:07 PM.
Russ is offline   Reply With Quote
Old Sep 24, 2009, 01:41 AM Threadstarter Thread Starter   #3
HardwareHeaven Newbie
 
Join Date: Sep 2007
Location: Tasmania, Australia
Posts: 12
Rep Power: 0
hamishstevens is on a distinguished road

Re: Automation Control

probably just me but have you used this before if so can you give me an idea of a command line for it
ie raise/lower a volume effect on channel 1 controller 0 by amount x (prseumably max of 127 i believe)
hamishstevens is offline   Reply With Quote
Old Sep 24, 2009, 03:07 AM   #4
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Re: Automation Control

Well I have never used it before either, but I gave it a quick try, and it is pretty basic, except the channel number appears to be zero based (so channel 1 would be zero, channel 2 would be 1, etc).

Use lsmidiouts.exe to find the port number for kX Control and then use sendmidi.exe to send a message to that port.

e.g.
Using sendmidi to send a control change message to port 10, channel 1, controller 0, with a value of 64:

sendmidi --outs 10 --control-change 0 0 64
Russ is offline   Reply With Quote
Old Oct 12, 2009, 09:46 PM   #5
DriverHeaven Newbie
 
Join Date: Dec 2008
Posts: 2
Rep Power: 0
HellsAngel84 is on a distinguished road

Ответ: Re: Automation Control

Quote:
Originally Posted by hamishstevens View Post
probably just me but have you used this before if so can you give me an idea of a command line for it
ie raise/lower a volume effect on channel 1 controller 0 by amount x (prseumably max of 127 i believe)
I've solved this problem by batch-files, here is example:

bass-lower.bat:
FOR /F "Delims=" %%I In (bass-value) Do Set bass=%%~I
Set /a bass=bass - 5
If /I %bass% LEQ 0 set bass=0
echo %bass% > bass-value
sendmidi --out 1 --control-change 0 0 %bass%

bass-raise.bat:
FOR /F "Delims=" %%I In (bass-value) Do Set bass=%%~I
Set /a bass=bass + 5
If /I %bass% GEQ 127 set bass=127
echo %bass% > bass-value
sendmidi --out 1 --control-change 0 0 %bass%

It's raising/lowering value with step 5
bass-value is just text file for storing %bass% variable
HellsAngel84 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools