Class AP_Instrument
Defined in: Instrument.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AP_Instrument(sample, form, config)
Instrument
|
Method Attributes | Method Name and Description |
---|---|
get(freq, index)
Mix the oscillators and the wave form
|
|
vol(index)
Generate volume values
|
Class Detail
AP_Instrument(sample, form, config)
Instrument
- Parameters:
- {Number} sample
- {Number} form
- {Object} config
Method Detail
{Number}
get(freq, index)
Mix the oscillators and the wave form
- Parameters:
- {Number} freq
- {Number} index
- Returns:
- {Number}
{Number}
vol(index)
Generate volume values
- Parameters:
- {Number} index
- Returns:
- {Number}