tonal

A music theory library for Javascript (by tonaljs)

Tonal Alternatives

Similar projects and alternatives to tonal

  1. TypeScript

    1,411 tonal VS TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. prettier

    479 tonal VS prettier

    Prettier is an opinionated code formatter.

  4. glicol

    152 tonal VS glicol

    Graph-oriented live coding language and music/audio DSP library written in Rust

  5. date-fns

    125 tonal VS date-fns

    ⏳ Modern JavaScript date utility library ⌛️

  6. dayjs

    108 tonal VS dayjs

    ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

  7. scheme-for-max

    Max/MSP external for scripting and live coding Max with s7 Scheme Lisp

  8. trane

    26 tonal VS trane

    An automated practice system for mastering complex skills

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. tsx

    31 tonal VS tsx

    ⚡️ TypeScript Execute | The easiest way to run TypeScript in Node.js

  11. lefthook

    Fast and powerful Git hooks manager for any type of projects.

  12. mitt

    15 tonal VS mitt

    🥊 Tiny 200 byte functional event emitter / pubsub.

  13. Coltrane

    11 tonal VS Coltrane

    🎹🎸A music theory library with a command-line interface

  14. music21

    10 tonal VS music21

    music21 is a Toolkit for Computational Musicology

  15. 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.

  16. octave-compass

    4 tonal VS octave-compass

    A tool for exploring musical scales and chords

  17. remeda

    12 tonal VS remeda

    A utility library for JavaScript and TypeScript.

  18. chords2midi

    7 tonal VS chords2midi

    Create MIDI files from numerical chord progressions!

  19. textbeat

    7 tonal VS textbeat

    🎹 plaintext music sequencer and midi shell, with vim playback and the powers of music theory 🥁

  20. vexflow

    6 tonal VS vexflow

    A JavaScript library for rendering music notation and guitar tablature.

  21. html-midi-player

    3 tonal VS html-midi-player

    🎹 Play and display MIDI files on the web

  22. change-case

    5 tonal VS change-case

    Convert strings between camelCase, PascalCase, Capital Case, snake_case and more

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better tonal alternative or higher similarity.

tonal discussion

Log in or Post with

tonal reviews and mentions

Posts with mentions or reviews of tonal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-27.
  • Ask HN: Tools or frameworks to build music theory games
    11 projects | news.ycombinator.com | 27 Nov 2024
    https://github.com/tonaljs/tonal does a bunch of theory stuff. I think there’s another JS library I’ve used too but I can’t think of the name.

    If he wants to generate audio, Tone.js can be a useful higher level abstraction for WebAudio.

  • Tonal.js: Functional music theory lib
    5 projects | news.ycombinator.com | 2 Apr 2024
    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?
    1 project | /r/musictheory | 3 May 2023
    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?
    15 projects | /r/webdev | 5 Apr 2023
    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
    10 projects | news.ycombinator.com | 10 Mar 2023
    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?
    1 project | /r/piano | 29 Jan 2023
    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.
    1 project | /r/learnjavascript | 12 Dec 2022
    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#?
    2 projects | /r/dotnet | 23 Jul 2022
    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?
    4 projects | /r/MaxMSP | 19 Jul 2022
  • Humble beginnings of my first open source npm package: The Music Builder
    1 project | /r/javascript | 20 Aug 2021
    Here's how tonal.js does it: https://github.com/tonaljs/tonal/tree/master/packages
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 22 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic tonal repo stats
12
3,927
6.3
13 days ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?