Methods
createArrayBuffer(audioBuffer) → {ArrayBuffer}
Create an instance of ArrayBuffer from AudioBuffer object.
Parameters:
Name |
Type |
Description |
audioBuffer |
AudioBuffer
|
|
- Source:
Returns:
-
Type
-
ArrayBuffer
createArrayBuffer(conf) → {ArrayBuffer}
Create an instance of ArrayBuffer from specified configuration.
Parameters:
Name |
Type |
Description |
conf |
Object
|
Configuration object for initialization of ArrayBuffer.
Properties
Name |
Type |
Description |
length |
String
|
AudioBuffer.length property. see |
numberOfChannels |
String
|
AudioBuffer.numberOfChannels property. see |
sampleRate |
String
|
AudioBuffer.sampleRate property. see |
|
- Source:
Returns:
-
Type
-
ArrayBuffer