I made a mistake in my last post about quarter-notes : to have
them, pitchbend must be set to 48 or 80, not 32 or 96. Here is the
code again :
if (strcmp(p, "koron") == 0) {
event_specific("MIDI", "pitchbend 0 48");
done = 1;
};
if (strcmp(p, "sori") == 0) {
event_specific("MIDI", "pitchbend 0 80");
done = 1;
};
if (strcmp(p, "normal") == 0) {
event_specific("MIDI", "pitchbend 0 64");
done = 1;
};
if (strcmp(p, "b") == 0) {
event_specific("MIDI", "pitchbend 0 48");
done = 1;
};
if (strcmp(p, "#") == 0) {
event_specific("MIDI", "pitchbend 0 80");
done = 1;
};
if (strcmp(p, "=") == 0) {
event_specific("MIDI", "pitchbend 0 64");
done = 1;
};
And some examples to use them (If I'm not wrong) :
X:1
T:Dastg�h-Shur (moderne)
M:4/4
L:1/8
Q:1/4=90
K:C
%%MIDI program 111
G !b!A!=! _B c d !b! e !=! f g |
X:2
T:Dastg�h-Seg�h
M:4/4
L:1/8
Q:1/4=90
K:C
%%MIDI program 111
!b!A!=! _B c !b!d !=! _e f g !b! a !=! |
(or maybe
X:2
T:Dastg�h-Seg�h
M:4/4
L:1/8
Q:1/4=90
K:C
%%MIDI program 111
!b!A!=! _B c !b!d _e !=! f g !b! a !=! |
I don't have enough knowledge in it yet)
The problem of the "set pitchbend to the normal" still remains,
but I noticed also that the tone of a pitchbended note was
different from the tone of a normal note (for example a B
pitchebended a half step up and a "c" sound different. "^B" and
"c" not.)
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html