# DetachEnvelope

Detaches an envelope from an instrument.

### Synopsis

`Err DetachEnvelope (Item Attachment)`

### Description

This function deletes the specified Attachment between an Envelope and an Instrument created by `AttachEnvelope()`. The Envelope and Instrument are not deleted by this function.

### Arguments

Attachment
  Item number of the Attachment to delete.

### Return Value

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

### Implementation

Folio call implemented in Audio folio V20.

### Associated Files

audio.h

### See Also

``DeleteEnvelope`(), AttachEnvelope()`