Code Monkey home page Code Monkey logo

Comments (6)

hdavid avatar hdavid commented on July 23, 2024

user mode 1 and 2 are a relic of the original launchpad. LP95 does not support the new custom modes introduced with the last generation of Launchpads.

from launchpad95.

darkmarthur avatar darkmarthur commented on July 23, 2024

Oh! That explains it.

I am going to make a new branch trying to implement the new generation keyboard layout.

PS: awesome project!!!!!! love it

from launchpad95.

hdavid avatar hdavid commented on July 23, 2024

from launchpad95.

dbanshee avatar dbanshee commented on July 23, 2024

Hello @hdavid any progress with this?

I have managed to change to the original user modes.
Adding the following code to MainSelectorComponent.py on def _setup_sub_mode(self, mode): method:

elif mode == "user 1":
    self._control_surface.show_message("USER 1 MODE" )
    self._setup_session(not as_active, not as_enabled)
    self._setup_step_sequencer(not as_active)
    self._setup_step_sequencer2(not as_active)
    self._setup_mixer(not as_active)
    self._setup_device_controller(not as_active)
    self._setup_instrument_controller(not as_active)
    self._setup_user_mode(True, True, False, True)
    self._update_control_channels()
    self._mode_index = 1
    self._osd.clear()
    self._osd.mode = "User 1"

    sys.stderr.write('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> User 1')
    self._launchpad._send_midi(STD_MSG_HEADER + (LP_MINI_MK3_ID, STANDALONE_MODE, 6, SYSEX_END))

    self._osd.update()

In particular sending de syxex message to enter mode (similar in user modes 2 and 3)

self._launchpad._send_midi(STD_MSG_HEADER + (LP_MINI_MK3_ID, STANDALONE_MODE, 6, SYSEX_END))

Aditional code to reference _send_midi from MainSelectorComponent is required but I don't have time to make it prettier

But to return to programmer mode again by clicking on the mode buttons, I have not been able to detect the event. The controller does not emit any MIDI messages, but looking at the code of the original LaunchPads I think that from the Live libraries through the object BackgroundComponent it is possible to do so. Although I haven't been able to get it to work at the moment. Maybe it will neccesary save and restore the context of Launchpad95.

from launchpad95.

hdavid avatar hdavid commented on July 23, 2024

honestly, i dont use the user modes at all. so i am not really looking into this one. especially because it would be launchpad model specific. (old launchpad dont need this programmer mode).

also, i do not remember how all this sysex stuff works. i hacked that years ago...

feel free to have a go at it, but i wont be able to support you on that one.

from launchpad95.

dbanshee avatar dbanshee commented on July 23, 2024

Sorry @hdavid , really my question was directed to @darkmarthur

from launchpad95.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.