So the Piano I just integrated with decent graphics. At the moment its just a single octave, but looks pretty good.
Has option for Dynamic or Fixed Length play (mouse down, until release for Note off, or set length single trigger).
Anything more specific for a keyboard widget you are looking for that I can add? You said possibly one that lit up in response as well, I will look into that.
MIDI splitter is actually quite easy to do, I believe I have one in a few patches.
Just take your script above and add the Tparameters for the additional output ports you want, and in the INIT section as well.
Just set their lengths for all before the loop, and add each one within the loop to set the output...... like
SetMidiArrayValue(midiOut,i,RcvdMidi), SetMidiArrayValue(midiOut2,i,RcvdMidi), etc...
Finally at the end of the loop make sure to set each length of the ports to zero to complete the message, and prepare for the next.
Then you should have an easy scripted splitter. However since HollyHock is a modular system you don't necessarily need a splitter as you can always wire to multiple nodes. If you want multiple channels, you could easily use a transform module within a subpatch and change the channel through that. That is probably the intention as to why there is no specific splitter module.
If you are saying you want to split to separate channels that is fairly easy to do as well within a script.
The channel message resides in the Tmidi like your var RcvdMidi : TMidi you declared.
You would just reference like RcvMidi.channel = 12 to set the channel to 12, and when you output it will set the channel byte to 12.
-S
Hi sephult.
I get the point about being able to wire up modules to achieve almost anything really. I think the manual says sometimes this can get inefficient, but we have scripting to fix that.
Where can I find your single octave keyboard module ?
My requirements for a perfect graphical keyboard module would include:
1. Have a midi input and be able to display the midi input key presses graphically (selectable colour for note down). Probably one selectable channel for input, but imagine being able to display different key channels in different colours !
2. Have a midi output with selectable midi channel, that can be played using mouse or touch screen (different selectable colour for note down)
3. Be able to indicate key presses and incoming midi at the same time, also a midi thru that can merge played notes into the midi stream.
3. Some way of indicating several possibly overlapping key zones, graphically overlayed on the keyboard, that accurately indicate the start and end keys, even if they are black notes. Key zones to be set from an incoming data bus (so you can have start of zone and end of zone faders), and set or modified by a mouse or touch screen by dragging the ends of the zones.
I can't think of anything else for now. I know its a lot of features !
Simon.Statistics: Posted by sm_jamieson — 02 Feb 2015, 12:20
]]>