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

✨ MixerParamsEvent channel_data "type" field or similar #193

Open
1 task done
ashduino101 opened this issue May 12, 2024 · 0 comments
Open
1 task done

✨ MixerParamsEvent channel_data "type" field or similar #193

ashduino101 opened this issue May 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ashduino101
Copy link

Describe the feature

From my observations, the MixerParamsEvent.channel_data property stores a type field. This is the scope of the of parameter target, where 0 is a channel param, 1 is a mixer param, and 2 is a global project param. I've only worked with encoding them, so the function to encode is as follows (you'll have to adapt it for decoding):

(((insertId & 0x7f) << 6) | (slotId & 0x3f) | (type << 13))

I used this for my OnlineSequencer.net to FLP converter, which I can provide if you want it (it also has encoders for several plugins, but it's written in JS as to integrate as a userscript).

What version of PyFLP are you using?

Latest source (v2.2.1+)

Screenshots, Additional info

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ashduino101 ashduino101 added the enhancement New feature or request label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant