Class AP_Oscillator
Defined in: Oscillator.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AP_Oscillator(sample)
Wave form generators
|
Method Attributes | Method Name and Description |
---|---|
get(freq, index, type)
Get oscillator value by index
|
|
rnd()
Random noise value
|
Method Detail
{Number}
get(freq, index, type)
Get oscillator value by index
- Parameters:
- {Number} freq
- {Number} index
- {String} type
- Returns:
- {Number}
{Number}
rnd()
Random noise value
- Returns:
- {Number}