getWaveChartData

fun getWaveChartData(duration: Double, sampleRate: Double, frequency: Double): List<Point>

Return the sample bar chart data

Parameters

duration

: Duration of the wave in seconds

sampleRate

: Number of samples per second

frequency

: Frequency of the wave in Hz