react-native-simple-note-pitch-detector 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,7 +46,7 @@ extension ReactNativeSimpleNotePitchDetectorModule: PitchEngineDelegate {
46
46
  return
47
47
  }
48
48
 
49
- self.sendEvent("onChangePitch", ["note" : pitch.note.string, "soundPressure" : pitch.wave.wavelength])
49
+ self.sendEvent("onChangePitch", ["note" : pitch.note.string, "soundPressure" : pitchEngine.signalLevel])
50
50
  }
51
51
 
52
52
  public func pitchEngine(_ pitchEngine: PitchEngine, didReceiveError error: Error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-simple-note-pitch-detector",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "a simple react native library to detect the pitch of the input recording",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",