PitchModelInterface class
- Frequency와 단소의 율명을 mapping 시켜준다.
function #1
- User에게 기준음을 입력받아서 기준 입출력 frequency에다가 userAdjust를 더해서 사용할 수 있게 한다.
function #2
- userRangeFrequency를 정해서 Hit 되는 Frequency의 범위를 정할 수 있게 한다.
function #3
- 음이 해당 율명에 맞는지 검사해 주는 기능을 한다.
function #4
- 해당 율명의 frequency를 return 하는 기능을 한다.
function #5
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getFrequencyByYulmyeongNote(
YulmyeongNote outPutPitch) → double? -
getModerateAverageFrequencyByListOfPitches(
List< double> pitches) → double? -
getYulmyeongByFrequency(
double userFrequency) → YulmyeongNote? -
isCorrectPitch(
double userFrequency, YulmyeongNote detectPitch) → bool? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
settingAdjust(
double userInputFrequency) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited