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

🔎 Discover remaining Track properties #91

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

🔎 Discover remaining Track properties #91

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

Comments

@demberto
Copy link
Owner

PyFLP/pyflp/arrangement.py

Lines 125 to 143 in 5034910

class TrackEvent(StructEventBase):
STRUCT = c.Struct(
"index" / c.Optional(c.Int32ul), # 4
"color" / c.Optional(c.Int32ul), # 8
"icon" / c.Optional(c.Int32ul), # 12
"enabled" / c.Optional(c.Flag), # 13
"height" / c.Optional(c.Float32l), # 17
"locked_height" / c.Optional(c.Float32l), # 21
"content_locked" / c.Optional(c.Flag), # 22
"motion" / c.Optional(StdEnum[TrackMotion](c.Int32ul)), # 26
"press" / c.Optional(StdEnum[TrackPress](c.Int32ul)), # 30
"trigger_sync" / c.Optional(StdEnum[TrackSync](c.Int32ul)), # 34
"queued" / c.Optional(FourByteBool), # 38
"tolerant" / c.Optional(FourByteBool), # 42
"position_sync" / c.Optional(StdEnum[TrackSync](c.Int32ul)), # 46
"grouped" / c.Optional(c.Flag), # 47
"locked" / c.Optional(c.Flag), # 48
"_u1" / c.Optional(c.GreedyBytes), # * 66 as of 20.9.1
).compile()

18 bytes worth of data is yet undiscovered. My guess is that it's probably related to the relatively recent Track mode

image

Not setting any milestone on this, as atleast the last 4 bytes have been introduced in FL Studio 20.9.1.

@demberto demberto added arrangement-track unknown Undiscovered, new or unused fields in structs labels Oct 26, 2022
@demberto demberto self-assigned this Oct 26, 2022
@demberto demberto added this to the 2.2.0 milestone May 12, 2023
@demberto demberto removed this from the 2.2.0 milestone Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrangement-track unknown Undiscovered, new or unused fields in structs
Projects
None yet
Development

No branches or pull requests

1 participant