Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: allow to query multiple notes at once (to reduce IPC overhead) #18

Open
ofsjoerdk opened this issue Jul 23, 2024 · 0 comments

Comments

@ofsjoerdk
Copy link

Would it be possible to add an alternative version of NoteToFrequency that takes in a range of notes?
Something like

void MTS_NotesToFrequencies(MTSClient *client, char* midinotes, char* midichannels, double* output_freqs, int count);

I think this may be useful to reduce IPC overhead. For example, a plugin can then query the entire range of notes that it expects to use within a single synth voice, using 1 IPC call, instead of potentially up to 128. Of course there should be something similar for note-retuning-ratio, note-returning-semis and a couple other ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant