MethodChannelFlutterPitchDetection class
- Inheritance
-
- Object
- PlatformInterface
- FlutterPitchDetectionPlatform
- MethodChannelFlutterPitchDetection
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onPitchDetected
→ Stream<
Map< String, dynamic> > -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getA4Reference(
) → Future< double> -
override
-
getAccuracy(
double toleranceCents) → Future< int> -
override
-
getBufferSize(
) → Future< int> -
override
-
getFrequency(
) → Future< double> -
override
-
getMidiNote(
) → Future< int> -
override
-
getMinPrecision(
) → Future< double> -
override
-
getNote(
) → Future< String> -
override
-
getOctave(
) → Future< int> -
override
-
getPitchDeviation(
) → Future< double> -
override
-
getRawDataFromStream(
) → Future< List< double> > -
override
-
getRawPcmDataFromStream(
) → Future< Uint8List> -
override
-
getSampleRate(
) → Future< int> -
override
-
getToleranceCents(
) → Future< double> -
override
-
getVolume(
) → Future< double> -
override
-
getVolumeFromDbFS(
) → Future< double> -
override
-
isOnPitch(
double toleranceCents, double minPrecision) → Future< bool> -
override
-
isRecording(
) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printNoteOctave(
) → Future< String> -
override
-
setA4Reference(
double a4Reference) → Future< void> -
override
-
setBufferSize(
int bufferSize) → Future< void> -
override
-
setMinPrecision(
double minPrecision) → Future< void> -
override
-
setParameters(
{int? sampleRate, int? bufferSize, double? toleranceCents, double? minPrecision, double? a4Reference}) → Future< void> -
override
-
setSampleRate(
int sampleRate) → Future< void> -
override
-
setToleranceCents(
double toleranceCents) → Future< void> -
override
-
startDetection(
{int? sampleRate, int? bufferSize, int? overlap}) → Future< void> -
override
-
stopDetection(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited