Creates a tuning item.
Item CreateTuning( ufrac16 *Frequencies, int32 NumNotes,int32 NotesPerOctave, int32 BaseNote )
This function creates a tuning item that can be used to tune an instrument.
NotesPerOctave is set to 12 for a standard western tuning system. For every octave's number of notes up or down, the frequency will be doubled or halved. You can thus specify 12 notes of a 12-tone scale, then extrapolate up or down for the other octaves. You should specify the entire range of pitches if the tuning does not repeat itself every octave. For more information, see the Music Programmer's Guide.
When you are finished with the tuning item, you should call DeleteTuning()
to deallocate the resources.
The function returns the item number for the tuning or an error code (a negative value) if an error occurs.
Folio call implemented in Audio folio V20.
audio.h
DeleteTuning
(), TuneInsTemplate(), TuneInstrument()