| At 11:06 AM 2/10/97 -0800, Mike Berry wrote:
> Does anyone have documentation on the "hidden" MIDI functions?
Yes, please! who knows about this?? There's for example, some voice-overlap
and release-time functionality there, it seems like. If this means that an
instrument doesn't have to turn off on the midi-note-off, this would be very
usefull.
>After poking around in the MIDI parser I found that there are some
>functions to set global values, like pitch bend range, using a combination
>of controller 101 and controller 6. But there is very little in the way
>of comments as to how this is meant to be used.
I can only imagine that these globals would be intended for use by a
yet-to-be-written ugen that makes use of them.
> I want to update the MIDI interpreters to include some optional
>scaling and preset values, for, among other things, setting the pitch bend
>range in the ***midib functions. For the sake of cleanliness and speed, I
>was going to remove these hidden functions and update the documentation on
>MIDI. This shouldn't break anyone's orchestras since this aren't instr
>functions anyway. But if there is anyone who does use these hidden
>functions, please let me know.
Well, I don't use them yet, since I don't understand them yet :-). But
presumably they were put there for a reason, and someone put a bit of effort
into coding it. So I'm not sure what harm it would do to leave them in. I
don't think speed is an issue - I think that the instrument setup times, and
the audio processing, would make any improvement negligable. And, for
cleanliness?? The CSound code IMHO will always be difficult to read until it
gets rewritten to use classes, or at the very least modularized in a way
that is more clear to the casual reader. I'm assuming that very platform
that CSound is running on has a C++ compiler - if not, I'd be surprised.
Now watch someone surprise me :-)
Larry
-- Larry Troxler -- lt@westnet.com -- Patterson, NY USA --
|