I'm developing a webapp for audio calibration using google polymer 3. Some process are running well untill I realized the audio channel data result is different to the expectation. I reference my expectation result to the octave software.
I created the sample repo for the experiment on https://github.com/mahdiridho/decodeAudioData
The client app result like so :
0: 0.738193154335022
1: 0.17993010580539703
2: 0.143886536359787
3: -0.49501433968544006
4: -0.581611156463623
5: -0.07922420650720596
6: 0.25858914852142334
7: 0.42484045028686523
8: 0.12840349972248077
9: -0.15169838070869446
10: -0.27878567576408386
11: -0.13389098644256592
12: 0.07916242629289627
13: 0.18276247382164001
14: 0.11339849978685379
15: -0.03214486315846443
16: -0.11864637583494186
17: -0.08897825330495834
18: 0.006309896241873503
19: 0.07485105097293854
while, the octave reference is like so :
1.000000
-0.059232
0.408143
-0.503169
-0.554996
-0.336158
0.122070
0.389484
0.336810
0.057144
-0.204190
-0.268489
-0.131052
0.069502
0.179210
0.140048
0.010775
-0.098861
-0.115960
-0.047979
We can see both are different nor identical nor scaled right?
My logic code should work with the result that same or identical to octave reference. What's the exactly problem here? How do you will fix this differences?
Best