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

Microtones #180

Open
Guseyn opened this issue May 29, 2023 · 1 comment
Open

Microtones #180

Guseyn opened this issue May 29, 2023 · 1 comment

Comments

@Guseyn
Copy link

Guseyn commented May 29, 2023

As far as I know MIDI does not support microtones by default, but are there any examples on how I can achieve microtones by using PitchBend let's say?

@sytzez
Copy link

sytzez commented Jun 14, 2023

Hi Guseyn, I've achieved microtonality with this library using the following formula:

const MAXIMUM_BEND_VALUE = 8192
const MAXIMUM_BEND_IN_CENTS = 200

const deltaCents = /* The amount of cents you want the track to be offset */

const pitchBend = (deltaCents * MAXIMUM_BEND_VALUE) / MAXIMUM_BEND_IN_CENTS

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

2 participants