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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃攷 Discover remaining Keyboard properties #92

Closed
demberto opened this issue Oct 26, 2022 · 0 comments
Closed

馃攷 Discover remaining Keyboard properties #92

demberto opened this issue Oct 26, 2022 · 0 comments
Assignees
Labels
channel-sampler unknown Undiscovered, new or unused fields in structs
Milestone

Comments

@demberto
Copy link
Owner

PyFLP/pyflp/channel.py

Lines 1027 to 1051 in 5034910

class Keyboard(EventModel, ModelReprMixin):
"""Used by :class:`Sampler` and :class:`Instrument`.
![](https://bit.ly/3qwIK8r)
*New in FL Studio v1.3.56*.
"""
fine_tune = EventProp[int](ChannelID.FineTune)
"""-100 to +100 cents."""
# TODO Return this as a note name, like `Note.key`
root_note = EventProp[int](ChannelID.RootNote, default=60)
"""Min - 0 (C0), Max - 131 (B10)."""
# main_pitch_enabled = StructProp[bool](ChannelID.Parameters)
# """Whether triggered note is affected by changes to `project.main_pitch`."""
# added_to_key = StructProp[bool](ChannelID.Parameters)
# """Whether root note should be added to triggered note instead of pitch.
#
# *New in FL Studio v3.4.0*.
# """
# note_range: tuple[int] - Should be a 2-short or 2-byte tuple

@demberto demberto added channel-sampler unknown Undiscovered, new or unused fields in structs labels Oct 26, 2022
@demberto demberto added this to the PyFLP 2.0.0 milestone Oct 26, 2022
@demberto demberto self-assigned this Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
channel-sampler unknown Undiscovered, new or unused fields in structs
Projects
None yet
Development

No branches or pull requests

1 participant