Skip to content

🔎 Discover remaining Keyboard properties #92

@demberto

Description

@demberto

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

Metadata

Metadata

Assignees

Labels

channel-samplerunknownUndiscovered, new or unused fields in structs

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions