[futurebasic] Re: [FB] MIDI music key change

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2002 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Mon, 29 Apr 2002 20:39:09 -0400
>Does anyone have a routine which would take a QuickTime/MIDI file and change
>the key to raise or lower the pitch without changing the tempo? Preferably
>this would be on the fly when the QuickTime movie is loaded into memory.
>Thanks, George Wood

If you are talking about a midi file, then you can just transpose the thing
I am sure, though you may have to get into the instrument parameters?

Specifies a transposition for pitches. The value is the
number of semitones to transpose; a positive value raises
the pitch anda negative value lowers it. The value can be a
real number; the fractional part of the value alters the pitch
by an additional fraction of a semitone. For example, to
raise the pitch of every note played on the instrument by an
octave, set the transpose knob to 12.0.

But this looks like the Ticket:


The TuneSetPartTranspose function modifies the pitch and volume of every note
of a tune.

You will need a tuneplayer identifier.

May also want to play with


Inside Mac: Quicktime Music Architecture has all the details.