jsrmath / sharp11 Goto Github PK
View Code? Open in Web Editor NEWMusic theory multitool with a jazz focus
License: BSD 2-Clause "Simplified" License
Music theory multitool with a jazz focus
License: BSD 2-Clause "Simplified" License
When writing the code to convert between notes and MIDI values, I used this reference which annoyingly considers C5 to be Middle C, unlike everyone else who considers it to be C4.
Hey there!
First of all, congratulations for the awesome work you did here.
Second, I've been reading chord.js. I see ninths are either aug, m or M (lines 103-116). This way you either have #9 or b9, not both.
So, in the sharp11-client if you write C11b9#9, it'll be assumed to be a C11#9. However, if you add the note C#, the output you get is indeed C11b9#9.
Shouldn't that be solved?
I know I could easily hack the scale list, but being able to use arbitrary scale would make this even more useful. For example, the augmented scale has another version [m2 3 4 aug5 6].
It would also be quite useful to be able to deal with pitches as integers, for example a 9 note scale [0 1 3 4 5 7 8 9 11]
I'm willing to contribute, if that's useful.
Chord objects should have a way to retrieve the original chord symbol without any aliases handled.
Why shouldn't it be possible to calculate interval between for instance C# and Gb and get a P4 (perfect 4th)? what I do for the moment is that I convert Gb to F#, but I guess it should be possible.
Likely has something to do with range checking. Hard to reproduce.
Does this library have any such facility to get all the possible chords from a note set?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.