Specifying frequency instead of midi note #110
AaronDavidNewman
started this conversation in
Ideas
Replies: 1 comment
-
|
Ah, now I see there is a 'detune' parameter that can be used for microtones. It is little inconvenient for alternate tuning systems, but it is workable. You'd have to pass in the detune relative to the equally-tempered frequency. But, that's not so much worse than passing in the frequency to begin with... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I have a typescript music notation project Smoosic. The playback I have is not so great, so I am thinking of using this project instead. It looks perfect, so thanks for that! I got it working with no fuss.
How would people feel about optionally accepting 'frequency' instead of 'note' for the
SampleStart? In Smoosic, I calculate the frequencies, and that allows me to 1) microtones, e.g. quarter-step, Persian ornaments, etc, and 2) support just tuning systems and other alternates (2 is theoretical at this time, but it would be pretty easy to add).First of all, is there a need for this? It looks like 'tuning' is a global parameter for the player, it can't be specified per-note. But I just started looking, maybe there's something I'm missing.
Second, what is the best way to do this? We could do it like I just mentioned, where a frequency parameter is passed in. Since there is already a required note parameter, I guess it would be ignored in this case, or maybe some special code. A different way might be to specify a player-specific parameter, where the number note is treated like a frequency and not a midi note. This would preserve the original interface, and by default the current behavior would also be unchanged.
Thanks for listening, I'm looking forward to working with you guys. Also if you are accepting pull requests, I could submit one for this feature, based on how we decide to do it.
Beta Was this translation helpful? Give feedback.
All reactions