Few questions about setting up the development environment #328
Replies: 2 comments 2 replies
-
|
Hi! Not very tonal specific, but some hints here:
So I don't have an answer. Maybe if you explain specifically what are you trying to achieve that requires tonal modification, I could help a little bit further |
Beta Was this translation helpful? Give feedback.
-
|
Ah, that's great. Unfortunately tonal is not well suited for non-well-tempered tuning or scales, basically because it uses note names (or intervals, all in wester conception of the term) as source of truth. As a lover of music from all around the world, I've been thinking for a while to create something that supports other tunings or scales, but can't find time or motivation enough 🤷 Anyway, you can add new scales using https://github.com/tonaljs/tonal/tree/main/packages/scale-type#addintervals-string-name-string-aliases-string--scaletype |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm new to typescript and am trying to add some functionality to some packages in this repo. I tried to to create a node/typescript package and add
tonaljsas a dependency and develop my package while modifying thetonaljs. To achieve this, I tried to rely onnodemonso that whenever I make any change on the dependency (@tonaljs), they are automatically propagated to my package.What I did was:
tonaljsusingyarn installfollowed byyarn build:allnpm linkon each folder intonal/packages/(I also tried this step on all built files intonal/node_modules/@tonaljsnpm link <name>to add each package from previous step to my own packagenodemonon the maintonaljsfolder (NOT the one in my package'snode_modulefolder) to monitor changes (tried this on thetonal/packagesfolder as well as a specific folder liketonal/packages/intervals).The problem is that
nodemondetects changes, but the output of API doesn't change in my package.Few questions:
mainfile frompackage.jsonexist before the build?tonalfolder, or do I have to create another project and add this as a dependency?Thank you,
Beta Was this translation helpful? Give feedback.
All reactions