Giter VIP home page Giter VIP logo

Comments (6)

tttapa avatar tttapa commented on May 23, 2024

Hi, you can just use CCButtonLatched if you use the latest version.

https://github.com/tttapa/Control-Surface/blob/5d93be40e93df53a441135d9bc0c068a78310394/src/MIDI_Outputs/CCButtonLatched.hpp

from control-surface.

pandeagus avatar pandeagus commented on May 23, 2024

thanks for the answer.
only suggestions might be added in the future to motorize faders along with MIDI INPUT . thank you
Best Regards.
you are the best.

from control-surface.

pandeagus avatar pandeagus commented on May 23, 2024

Hi pieter its me again..
Make it possible if this library can use eeprom to store midi cc or midi note setting
Maybe setting can store in ic at24c02 or else..
Im sorry i annoying again..
Once question again..
Can midi and usb midi run together using pro micro atmega32u4 ?
Thanks..
Best Regard

from control-surface.

tttapa avatar tttapa commented on May 23, 2024

Make it possible if this library can use eeprom to store midi cc or midi note setting

Could you elaborate? Please post your full code, and clearly indicate what you want to save.

Maybe setting can store in ic at24c02 or else..

Why? Almost all Arduinos have EEPROM built-in, there's no need for external memory.

Can midi and usb midi run together using pro micro atmega32u4 ?

Yes, but the Control Surface class can't receive from two MIDI inputs simultaneously.

from control-surface.

pandeagus avatar pandeagus commented on May 23, 2024

hi pieter I mean it's like meloaudio midicomander where
every pushbutton can we set the midi cc number as needed and save it on eeprom.

Sorry, I haven't shown the code because the LCD and other materials have not arrived from the shipment, so I can't try it yet.

maybe this is the midi comannder riveiw link
https://youtu.be/LPVNMxxGk0U

thanks pieter..
im sorry for the trouble i made

from control-surface.

tttapa avatar tttapa commented on May 23, 2024

You can already set the CC numbers by just uploading a new sketch. If you want to be able to change them at runtime, you certainly could, but you would have to write a lot of supporting code for the display, the menus, the interface, the buttons to control it, etc.
The library cannot help you with that part.

That being said, the library does supports assigning multiple addresses to one MIDI element, and then allows you to select which of these addresses to use.
Have a look at the ManyAddresses namespace: https://tttapa.github.io/Control-Surface/Doc/Doxygen/d6/d79/namespaceManyAddresses.html
It's just a proof of concept at the moment, but adding CCButtons and NoteButtons etc. is trivial, and I'll be adding them when I find the time.

I'll also add getters and setters for the addresses to the MIDI elements classes, so you can change the addresses at run time. This does come with some caveats though: You have to make sure that you don't change the addresses when the pushbutton is pressed, as that would result in notes that keep on playing for eternity.

Note that you can get and set the settings of the selectors, so you can save them to EEPROM if you want.

from control-surface.

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.