TuneInsTemplate

Applies the specified tuning to an instrument template.

Synopsis

Err TuneInsTemplate( Item InsTemplate, Item Tuning )

Description

This function applies the specified tuning to the specified instrument template. When an instrument is created using the template, the tuning is applied to the new instrument. When notes are played on the instrument, they play using the specified tuning system.

The tuning is created using CreateTuning().

Arguments

InsTemplate
The item number of the template.
Tuning
The item number of the tuning.

Return Value

The function returns 0 if successful or an error code (a negative value) if an error occurs.

Implementation

SWI implemented in Audio folio V20.

Associated Files

audio.h

See Also

CreateTuning(), TuneInstrument(), DeleteTuning()