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

KNOB_1_HIGH cannot be resolved or is not a field #15

Open
tracerstar opened this issue Jun 23, 2023 · 3 comments
Open

KNOB_1_HIGH cannot be resolved or is not a field #15

tracerstar opened this issue Jun 23, 2023 · 3 comments

Comments

@tracerstar
Copy link

Hi there.

I'm running through the examples, and both the demos Vertices and SuperShape2D through the error:

KNOB_1_HIGH cannot be resolved or is not a field

Are the KNOB_1_HIGH etc. variables supposed to be changed to something in the example, or is there an issue with the library not defining these?

I'm on Windows 10, Processing 4.2, using a Launch Control. I installed the library from the contributed libraries tool in the IDE.

Thanks,
Ben.

@haschdl
Copy link
Owner

haschdl commented Jun 24, 2023 via email

@lemutsch
Copy link

Hey,

I'm experiencing the same issue running aforementionend sample sketches on macOS Ventura 13.6.7, Processing 4.2 with a LaunchControlXL.

Any news on the investigation of this issue? Would love to get the controller running with a direct variable assignment to individual knobs/pads/faders.

Thanks in advance.

Best,
Thomas

@haschdl
Copy link
Owner

haschdl commented Aug 24, 2024

hello @lemutsch @tracerstar

Launch Control XL

@lemutsch Please run the example "LaunchControlXLDemo" and see if it works - if you identify a new bug feel free to raise it. Note that the Vertices.pde is meant only for the Launch Control device (16 knobs, 8 pads, no sliders)

Vertices.pde

This example applies only to the simplest LaunchControl - it does not work with LaunchControl Mini or the XL.

the code in Vertices.pde is wrong - it did not take into account some changes I made to make the library support LaunchControl, LaunchControlXL and LaunchControl Mini.

The main thing is that for the LaunchControl only:

  • PADS are now named PADS_1 to PADS_8
  • Knobs are now name KNOBS_01and so on.
  • Events are now void LaunchControlKnobChanged(KNOBS knob) and void LaunchControlPadChanged(PADS pad)

To verify this please check this gist with the correct code for Vertices.pde https://gist.github.com/haschdl/326a53f1a84275c686c0a5071cfa31ac

haschdl pushed a commit that referenced this issue Aug 24, 2024
…PADS and KNOBS) as well event handler names. See issue #15
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

No branches or pull requests

3 participants