@override Future<int> getOctave() async { try { return await _methodChannel.invokeMethod('getOctave'); } on PlatformException catch (e) { throw Exception("Error Retrieving Octave: ${e.message}"); } }