tonal
lefthook
Our great sponsors
tonal | lefthook | |
---|---|---|
11 | 12 | |
3,688 | 3,931 | |
26.0% | 5.3% | |
7.3 | 8.9 | |
4 days ago | 12 days ago | |
TypeScript | Go | |
- | 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
lefthook
-
I switch from Eslint to Biome
Reading Biome doc I also switched from husky to lefthook.
-
Launch NextJS App 🚀 (Template)
Lefthook - super powerfull git hook manager written in Go. In case of problems in CI you can cet CI=true env variable to disable it. Installs via prepare script in package.json on local npm install.
-
What is your must have npm package on any given project?
lefthook is great for git hooks - much prefer it to husky and lint-staged combo.
-
Automated Frontend Workflow
Lefthook is a fast and powerful Git hooks manager for Node.js and any other type of project written in Go.
- Lefthook: Fast, powerful Git hooks manager for any prooject
-
How to prevent bad commits and test code with lefthook and integrate with Flutter
Lefthook repo
-
My Laravel specific git hooks for post-checkout and post-merge
If you want a way to define & manage your hooks in your repo that others can replicate in theirs easily, check out https://github.com/evilmartians/lefthook - you could pretty much commit a lefthook.yml file referencing these Laravel post-checkout and post-merge hooks, then all your devs need to do is lefthook install to start using them
-
Stop arguing about code style in pull requests!
As documentation says, lefthook is a “fast and powerful Git hooks manager for Node.js, Ruby or any other type of projects”. What does it mean? This means that you can set up some commands to be executed when you do, for example, git commit or git push.
- Dum: An NPM scripts runner written in Rust
-
Rails application boilerplate for fast MVP development
add lefthook
What are some alternatives?
remeda - A utility library for JavaScript and TypeScript.
husky - git hooks made easy
html-midi-player - 🎹 Play and display MIDI files on the web
husky - Git hooks made easy 🐶 woof!
octave-compass - A tool for exploring musical scales and chords
Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications
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.
Pronto - Quick automated code review of your changes
minimoon - Cross platform music player.
bullet - help to kill N+1 queries and unused eager loading
iter-ops-extras - Custom operators for iter-ops
rails_best_practices - a code metric tool for rails projects