Comments (1)
0 - tolerance: Error tolerance (HZ)
1 - frequency: Detected frequency (HZ)
2 - note: Detected note (String)
3 - target: Target note (HZ. Frequency of the note that is closest to this note in the target tuning. If there's no target tuning, this frequency will be the one that's closest to the note detected)
4 - distance: Absolute distance between detected and target note (HZ)
5 - octave: Detected note's octave (Integer)
6 - nearestNote: Note that is the closest to the current detected note (String)
7 - nearestTarget: Frequency of the note that is the closest to the current detected note (HZ. It seems that this will only differ from the original target if there's no current tuning target)
8 - nearestDistance: Absolute distance between detected note and the nearest note (HZ)
9 - nearestOctave: Octave of the note that is the closest to the current detected note (Integer)
10 - isOnPitch: Whether it is considered on pitch (Boolean. If the current detected frequency is within tolerance of the nearest target note's frequency)
You can find them being referenced as return values starting in the line 67 of this file: https://github.com/Slins-23/flutter-fft/blob/master/android/src/main/java/com/slins/flutterfft/PitchModel.java
Note that I haven't touched this code in a while and I just went through it for about half an hour to figure this out, so it's likely that I might be wrong somewhere, but that's the general picture.
from flutter-fft.
Related Issues (11)
- App throws an exception and crashes HOT 4
- More points in pub.dev HOT 1
- Does not support in the iOS HOT 4
- Recorder never starts HOT 3
- ios Support ios now HOT 1
- How to make piano tuner
- An error occurred
- help: there are exceptions HOT 5
- IOS support HOT 5
- Can I adjust the volume of a specific frequency band using this library? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-fft.