Class: SHARCInstrument

Environment: Siren
Superclass: Object
Category: MusicApps-SHARC
Instance variables: name directory range samples
Class variables: SHARCOrchestra

initialize-release

initialize

accessing

directory
Answer the receiver's 'directory'.

directory: anObject
Set the receiver's instance variable 'directory' to be anObject.

name
Answer the receiver's 'name'.

name: anObject
Set the receiver's instance variable 'name' to be anObject.

range
Answer the receiver's 'range'.

range: anObject
Set the receiver's instance variable 'range' to be anObject.

sampleNamed: n
Answer the receiver's sample by the given name.

samples
Answer the receiver's 'samples'.

samples: anObject
Set the receiver's instance variable 'samples' to be anObject.

sampleWithKey: k
Answer the receiver's sample by the given name.

converting

asSpectrum

MetaClass: SHARCInstrument class

class constants

loadOrchDir: dir
SHARCInstrument loadOrchDir: 'sharc'

orchestra
SHARCInstrument orchestra inspect

instance creation

fromDir: dirName
Answer a SHARC instrument group read from the CONTENTS file in the
given directory. The contents file describes a number of samples, each
of which has a description file with its overtones.