Constructor
new Speaker(params, Calibrator)
Takes the url of the current site and a target element where html elements will be
appended.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
initParameters | see type definition for initParameters |
Calibrator |
AudioCalibrator | An instance of the AudioCalibrator class, should not use AudioCalibrator directly, instead use an extended class available in /tasks/ |
- Source:
Extends
Members
displayUpdate
Helper method to display information to DOM element
- Overrides:
- Source:
downloadData
Debug method for downloading the recorded audio
- Source:
parseURLSearchParams
Helper method that converts url paramters to an object
- Overrides:
- Source:
queryStringFromObject
Helper method that converts an object to a query string
- Overrides:
- Source:
startCalibration
Async factory method that creates the Speaker object, and returns a promise that
resolves to the result of the calibration.
- Source: