Constructor
(private) new FrequencyPitchMapper(seriesInfo)
Create a Frequency Pitch Mapper
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
seriesInfo |
Array.<Object> | minimum and maximums for each series
Properties
|
- Source:
Extends
Methods
map(series, datum) → {number}
Given a datum value, compute the corresponding frequency
Parameters:
Name | Type | Description |
---|---|---|
series |
number | map on which series? |
datum |
number | the datum to be mapped |
- Overrides:
- Source:
Returns:
frequency for this datum
- Type
- number