Author |
Topic: wav file to trigger patch change (Read 1968 times) |
|
trainhawk
New Member

 MIDI-OX Rules!
Posts: 2
|
 |
wav file to trigger patch change
« on: Jan 16th, 2005, 1:46am » |
Quote Modify
|
I would like to set up the following scenario: When a wave file plays in Media Player I would like it to trigger a midi patch change in an external device. I can do this manually with no problem, but lack the skills to take it further. Anyone got any ideas?? Thanks in advance!!
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: wav file to trigger patch change
« Reply #1 on: Jan 16th, 2005, 4:53am » |
Quote Modify
|
Do you mean when a specific wave file is played, you want a specific (i.e. matching) patch change fired? It should be possible to knock something up in VB (maybe VBScript) that "knows" which patch to fire and lets you pick the wave file for playback - then sends the MIDI event and starts the wav file playing. It could probably even be fed a list of pairs (wav file, patch number). More than that I can't offer - I'm only just starting to dabble in Windows media programming... (and I'm using java, which probably isn't the best place to start, but java's my main goal...)
|
|
IP Logged |
"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
|
|
|
trainhawk
New Member

 MIDI-OX Rules!
Posts: 2
|
 |
Re: wav file to trigger patch change
« Reply #2 on: Jan 16th, 2005, 12:42pm » |
Quote Modify
|
Yes, I want to trigger a midi patch change the is meant to match the wav file being played. More specifically; I am building a speaker testing webpage. When a speaker photo is chosen it opens a new page with different wav file options specific to the type of speaker being tested. When one of these files are chosen I want the appropriate crossover patch to be loaded in an external unit. I can trigger it manually, but this requires the user to "know what they're doing". If it is automatic, any user can run the station. I've been wrestling with VBScript, ActiveX, etc. without a whole lotta luck. (knothing a few years of schooling wouldn't fix) Thanks in advance for any help.
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: wav file to trigger patch change
« Reply #3 on: Jan 16th, 2005, 2:16pm » |
Quote Modify
|
Oh... if the hardware is correctly configured (i.e. unit plugged into both MIDI and audio ports) and Windows is correctly configured (i.e. appropriate MIDI and audio ports are set as defaults) and you're talking about controlling this from a browser, then it should be a "simple" matter of using an HTML redirect to first trigger the MIDI file then the audio file. (Might be tidier to use an IFRAME to hold the two trigger pages with the menu targetting the IFRAME.)
|
|
IP Logged |
"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
|
|
|
|