Yahoo Groups archive

Disklavier

Index last updated: 2026-04-28 23:20 UTC

Message

Re: WIDI-XU question

2008-04-02 by Spencer_Lists

Greetings uhhmmmmmmmmmm et al,

I have a utility that I wrote that sends sysex to the WIDI from the command line so you could wrap it in a batch file and add it to startup. 

Here is the way it works. There are two programs posted at the following locations: widi_send is the program that sends the sysex to the WIDI-XU and the other is a tool for listing your MIDI out devices. The exact URL is critical as it is case sensitive but I think it doesn't matter in the command line. Of course, you can change the names of the exe files to anything you want in order to run them with 8/3 names for example.

http://www.spencerserolls.com/WIDI_send.zip
http://www.spencerserolls.com/Show_MIDI_out_devs.zip

The program works from the dos command line (run from XP or maybe even Vista?) You run widi_send with two parameters which are: 1 the device, either as the device number as listed in your MIDI devices list (Use the Show_MIDI_out_devs utility that will list them all out along with their names) or you can just enter a unique text identifier as the first parameter such as USB. If the only device that has USB in the name is the WIDI (USB audio device) then this would work. You can enter the full name if there is any ambiguity such as having both USB audio device and USB audio device 2. 2 the second parameter is the channel you want to set the WIDI to or other options. You can use any number from 1-64 for channel. Autosearch use AF autoselect use AS Enable RF use ER Disable RF use DR. Not really sure what the difference is between autosearch and autoselect but they listed them in the manual along with the required sysex so I just use what they give. 

In summary a command line would be C:\miditemp\widi_send USB 64 which would select channel 64. I have not tried making a batch file and running it at startup so I would be interested in hearing from anyone as to whether they can get this to work. Will try it if I ever have time. I spent 3 days writing this utility for someone who wanted it so it would be great if others could make use of it to justify the time I wasted. 

Tuesday, April 1, 2008, 8:49:02 PM, you wrote:
> Hi Spencer,

> I just installed my WIDI-XU and WIDI-X8 pair.  They work but I have 
> to manually execute the "Auto Search" command from the WIDI-Control 
> program that CME has as a download.  The WIDI-XU is supposed to 
> automatically scan for an available WIDI device and establish 
> communication, but mine doesn't seem to do this (the LED on the WIDI-
> XU just stays red).

> When I was using 2 WIDI-X8 boxes (one on the piano and one on the 
> pc), they would auto connect each time.

> Does your WIDI-XU auto connect?  I'm really disappointed with this 
> shortcoming.  I suppose I can workaround this by sending a sysex 
> command "f0 00 20 63 00 07 02 02 10 50 f7" to the device.  Do you 
> know how I can do that from a batch file?  I could call this each 
> time my computer boots up.  Otherwise, I'll have to manually start 
> the WIDI-Control and click on "Auto Search". :(

> Thanks for any help you can provide.

> --Ron


-- 
Best regards,
Spencer_Lists Chase        mailto:lists@...
67550 Bell Springs Rd.
Garberville,  CA 95542    Postal service only.
Laytonville, CA 95454    UPS only.
Spencer@...
http://www.spencerserolls.com
http://www.spencerserolls.com/MidiValve.htm
(707) 984-8356

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.