Comments (4)
I should have elaborated more: is it possible to determine how close it is from the next note, as in "how far is this note between an A and an Ab?"
from tuningfork.
Hmm interesting idea...you can't currently, at least not directly. I could add it in explicitly or publicly expose the frequency table which would allow users to discover that info. I'll look into this over the weekend, it should be an easy addition.
from tuningfork.
Okay great! If you don't get a chance to look into it, I'll try hacking something together using the frequency table. I imagine it would involve finding the difference between two adjacent values, and finding how it relates to the actual frequency.
from tuningfork.
Yup, exactly. What I was thinking of doing was maybe returning an immutable Note
object which was really a node in a linked list that would have methods like Note.adjacent
or Note.step
or something like that so you could basically traverse the frequency table (which is now actually a linked list) given any note; I may or may not actually do that, but it's an idea...the benefit would be you could do O(1)
adjacent look-ups for any note.
from tuningfork.
Related Issues (14)
- Not running under 10.11.1 HOT 8
- Jumping values HOT 10
- Migrate to Swift 3.0 HOT 5
- Fix Travis-CI build
- Chronos-Swift Dependency Analysis Error
- App is constantly at 100% and over CPU usage HOT 3
- Not working on XCode 9 ios11 HOT 2
- Update for swift 4. HOT 1
- Not getting Stable Frequency from Tuner
- Problem running the first time HOT 3
- tvOS support for cocoapods HOT 1
- Is it possible to detect the instrument with this library? HOT 1
- Jumping values HOT 1
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 tuningfork.