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

support for expert sleepers disting ex #88

Merged
merged 3 commits into from
Jul 31, 2020

Conversation

scanner-darkly
Copy link
Member

added disting ex as a supported follower device.
since it has 4 modes, i had to shift the top right section for mode selection left by 1 button.


static void ii_tr_disting_ex(i2c_follower_t* follower, uint8_t track, uint8_t state) {
uint8_t d[4] = { 0 };
s16 note = calculate_note(dac_get_value(track), follower->oct);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reminds me that sending the current dac_get_value is potentially out of tune if the user has a custom tuning table saved to correct for the module's DAC offsets. The JF trigger function does the same thing. I think it's not a huge deal right now but we should maybe have another issue to buffer the requested semitone value for each track -- this would also let you skip the reverse pitch -> note calculation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i think it would be useful if we stored the note id in addition to pitch. additionally, i think we should also store the DAC value without the calibration offsets applied, if we decide to support microtonal scales at some point.

@scanner-darkly
Copy link
Member Author

@csboling @tehn are we okay to merge this one?

Copy link
Member

@tehn tehn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! time for a release?

@scanner-darkly
Copy link
Member Author

i think a couple of things remaining on @csboling's list?

@csboling
Copy link
Contributor

Yeah, I'm waiting on some user feedback for #23 and JF 4.0 has some issues with the note tying change. These have both been outstanding quite a long time, would be nice to get them in. I think a number of Teletype changes are still in the works, if we want to synchronize releases.

@scanner-darkly scanner-darkly merged commit 4b76d45 into monome:main Jul 31, 2020
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

Successfully merging this pull request may close these issues.

3 participants