Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Bring pitch and degree matrix determination functions together #17

Open
js-jslog opened this issue May 24, 2020 · 1 comment
Open

Bring pitch and degree matrix determination functions together #17

js-jslog opened this issue May 24, 2020 · 1 comment

Comments

@js-jslog
Copy link
Owner

They essentially have identical logic.

I think making them utilise a higher order function might be over the top, but they should probably be next to one another and produced at the same time with duel inputs.

Another part of this work will be to have the degreematrix determined by a source degree, like the pitchmatrix, rather than from a root offset as it is at the moment. There should then be a layer of fact building which determines the starting degree from the input pozition.

This fact building layer will probably be a useful abstraction for eventually allowing getHarpStrata to potentially accept root pitch rather than harp key.

@js-jslog
Copy link
Owner Author

Also look in to this comment #14 (comment)

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

No branches or pull requests

1 participant