I don’t really understand what you want: MIDI messages have only one status per message, that’s the limitation of the
protocol. If you want 3 different message types, you need to send out 3 different messages (you can’t
bunch three messages into one). This is not limited by Csound, but by the protocol.
If you need to have three different messages, you can use 3 instances of midiout in an instrument,
or 3 instances of an instrument with one midiout in it.
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952
> On 24 Nov 2017, at 17:09, Santiago Bogacz <[log in to unmask]> wrote:
> Dear Csounders,
> As I said in a previous mail, I am using midiout for piece in an organ that can be controlled via midi messages.
> Asides from the notes, one can choose the register and different combinations of them, control its pitch via the air flow, etc.
> Midiout gives you the chance to select up to 1 kstatus per message, which seems to be a problem in this case. This is why.
> Let's say that in a certain moment I want, for example, a C4 to be played with a combination of octaves in just on register, something simple. Now, I would think this as one whole event. Doing an analogy, an oscili with a certain frequency and its own table to choose the harmonics.
> Now, as in this case C4 would be the "noteon", Main register would be "program change" and the octaves would be the "control change" (this is specified in the organ's manual), that would imply 3 different kstatus, thus 3 different messages for just one event. This would be no problem if one would like set just one type of timbre for the whole piece. But if one wants to quickly change from one register and combination to another, and the same with notes, for each event one would need to send 3 messages.
> Of course, from a technical and perceptual point of view, there's no problem. But in terms of design and concept, it is hugely streaky! It would be as if one had and oscili and had to send one event for frequency, another one for amplitude, etc etc.
> So my question is, though I have already searched, is there a midiout opcode that let's one choose more than one kstatus per event? If not, does somebody have a good idea how to manage this in another way? As I said in a previous email, I'm totally new with midi and, plus, I definitely am not that experienced with Csound as to solve this type of problems
> Thanks very much!
> Csound mailing list [log in to unmask] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list
[log in to unmask]
Send bugs reports to
Discussions of bugs and features can be posted here