This question is about swell shutters on a real pipe organ.
The instrument was originally controlled by a paper roll player and I am using MIDIIO128 to control the notes and stops, that’s all fine, it plays and changes rank.
But it would be really good if everything could be controlled via MIDI.
The shutter is a six step affair, so there are six stages to get a get a fully open shutter.
My idea is to use Channel Volume, B0 07 xx, to open and close the shutters. So what I would like to do is to have six pins on the DOUT respond to say:
B0 07 02
B0 07 08
B0 07 0F
B0 07 20
B0 07 40
B0 07 7F
And only these values, these are just example values and if at all possible, they could be changed via the MIDIIO128.ini file just as the other pins are.
From what I can tell, the B0 xx function only responds to either 00 or 7F.
There is information on how to specially modify the core syx file to allow the use of up to 8x (I think) analogue inputs.
Your question may be just asking if you can use six digital ins to give your required signals. I think this is possible, but the analogue custom addition may also be of interest to you.
Thanks for the reply. I think you may have misunderstood. I am using a real pipe organ, its a MIDIO128 but only using the DOUTs! There are no DINs or AINs, only a MIDI In and 128 DOUTs.
What I am after is for the commands above to activate the relevent DOUT pin.
it appears that your problem is that you are activating the DOUT pins on discrete volume levels from midi.
the problem is that the volume signal probably will use other values in the volume messages. therefore you need to configure your system to activate the appropriate pin on its range of volume levels. i believe hand coding which DOUT to activate for each of the 128 volume levels can be done. (if there is an easier way, can someone who knows midio128 better than myself explain it)
btw the signal levels you are providing for each DOUT appear to be on a logarithmic scale, it might be a good idea to check the pot attached to your expression pedal and make sure it is a linear pot and not a logarithmic pot. (i don’t know how to tell the difference, but it should be available with a google search)
of course this assumes that your minimum and maximum volume signals from your hardware are 0 and 0x7F(127) respectively.
now once you get the system working, there is no reason not to adjust the values for reasons of comfort, ascetics or placing the transition points at the same places as the orignal organ. just take care not to have any overlaps (which would power more than one of the DOUT) or gaps (which would have none of the DOUTs powered).