tonal
Coltrane
Our great sponsors
tonal | Coltrane | |
---|---|---|
11 | 11 | |
3,688 | 2,298 | |
26.0% | - | |
7.3 | 3.8 | |
5 days ago | about 1 year ago | |
TypeScript | Ruby | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tonal
-
Tonal.js: Functional music theory lib
They're using objects, including arrays [1], so I think they would have been more precise to say that they're using objects and arrays as simple data structures rather than using OO features like inheritance and mutation.
[1] https://github.com/tonaljs/tonal/blob/main/packages/chord/in...
-
What is this scale called?
It's not on this list, but it's a cool list to check out either way
-
What is your must have npm package on any given project?
I'm working on a music project and both tonejs and tonal are incredible projects.
-
Coltrane: A music theory library with a command-line interface
Regarding the "Music Theory library" aspect, note that the CLI tool demonstrates use of the underlying Ruby library which has documentation here:
* https://github.com/pedrozath/coltrane/wiki/Core-music-theory...
Additionally, the author wrote a post about the motivation for creating the library but it's a little difficult to find via the (now broken) link in the README, so here is a direct link to the archived page on the Wayback Machine:
* https://web.archive.org/web/20170714063625/https://medium.co...
If anyone is interested in a similar music theory library for Javascript[0] I've had some success with this:
* Tonal / Tonal.js https://github.com/tonaljs/tonal
[0] Or, in a pinch, even with a Godot 4 web export as I did for my (very incomplete) "AI and Games" Game Jam entry: https://rancidbacon.itch.io/the-conductor (For reasons far too convoluted to go into now.)
-
Scales - Practise all of them, or just a few each day?
There are many hundreds of scale types, here's a list of many of them and that's just a single key. Let's say there's 200 scales times 12 for each key, that's 2400 times up and down the piano. There are actually much more than 200 scales though!
-
I want to use this module in my code but can't figure out how.
I found a module that is perfect for what I'm trying to create, (a simple piano that you can select keys on to find out which chord it gives), and am trying to use https://github.com/tonaljs/tonal .
-
Anyone know of a music theory library for C#?
Agree with the representation, you can really bury yourself in complexity if you're not careful. Have you taken a look at any of the JS libraries like tonal or MusicTheoryJS?
- Max 4 Live, or standalone Max 8?
-
Humble beginnings of my first open source npm package: The Music Builder
Here's how tonal.js does it: https://github.com/tonaljs/tonal/tree/master/packages
-
Do you want to learn music theory?
For the music theory stuff I'm using TonalJS along with my own extensions
Coltrane
- Command line guitar theory project I started as a means to use Python to learn music theory
- When Vim users do music... *sigh*
-
Ask HN: What open source AI projects do you wish existed?
https://github.com/pedrozath/coltrane Has gotten me thinking about AI for teaching music theory, but I really don't think it is there yet, music theory is far to fuzzy for AI right now. I do think there are niches where it could be quite great, it could absolutely do well in teaching much of counterpoint and classical forms, perhaps even the basics of harmony but it is hard to disentangle harmony from the fuzzy areas and I could see AI doing more damage than good there.
-
Coltrane: A music theory library with a command-line interface
> because none of the commands work
The Readme had some outdated information. Explained better on the issue https://github.com/pedrozath/coltrane/issues/56
> The chords for guitar also are weird. It doesn't seem to be using traditional shapes, but is looking for available notes within a fret range. Which leads to difficult, basically unusable fingerings.
That's a design choice on this library. I tried to rely the least as possible on lookup tables, dictionaries, etc, leaving things to be discovered algorithmically instead. It is a difficult challenge, but for example if someone decides to use an entirely different tuning, the software will provide. The software might also find chords that you have never thought about. What has to be improved here is the sorting mechanism for guitar chords.
> The other functions would be very useful to have, if it worked
Just try running `coltrane` and test it interactively.
-
Open source reverse guitar chord/key/scale finder?
There's this https://github.com/pedrozath/coltrane
-
Has anybody here done programming for music-related projects?
Coltrane music theory library on the command line
What are some alternatives?
remeda - A utility library for JavaScript and TypeScript.
Sonic Pi - Code. Music. Live.
html-midi-player - ð¹ Play and display MIDI files on the web
Black candy - A self hosted music streaming server
octave-compass - A tool for exploring musical scales and chords
WahWah - Ruby gem for reading audio metadata
musescore-theory-plugins - A collection of MuseScore plugins that check species counterpoint, 4-part chorales, intervals, and chords and can automatically create interval and chord ID worksheets.
Lol DBA - lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
minimoon - Cross platform music player.
premailer-rails - CSS styled emails without the hassle.
iter-ops-extras - Custom operators for iter-ops
chordino