3# How to Code Buttons (Complete Guide) - MIDI Programming for the Arduino

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 22

  • @blueangel333333
    @blueangel333333 Год назад +2

    Wonderfull !!
    I love the way you explain all that !
    Hope you will talk one day about a midi controlleur with force sensitive button (commercial or diy) for sending differents velocities in real time

    • @NerdMusician
      @NerdMusician  Год назад +2

      That’s a great a idea! I’ll do it eventually, for sure.

  • @krzysztofczarnota623
    @krzysztofczarnota623 9 месяцев назад

    Oi Gustavo! I find your YT channel very interesting and inspiring - thanks for the tutorials!
    I’m considering building 8 octave midi keyboard for GarageBand using Arduino Leonardo and 6 multiplexers.
    Could You be so kind to prepare tutorial on multiplexers in your MIDI Program for the Arduino series?

  • @Lugubrisimo
    @Lugubrisimo 11 месяцев назад

    The process can be performed to make it recognized by Reaper DAW for control by the Arduino MIDI project with buttons.

  • @HugoDaSilva7
    @HugoDaSilva7 Год назад

    Ola, Gostaria saber se esta em Portugal e se vende alguns destes artigos ,obgdo

  • @londondirt1217
    @londondirt1217 Год назад

    May I suggest an idea for a video..? You could take an existing device like a Volca Drum, Mother 32, or any other well documented device that has midi-in, and show the process of mapping a DIY controller to a spec given by the manufacturer. I think this would be so super valuable to your community (and yes I ask selfishly as I am trying to do this currently and having issues lol). Just a thought, keep up the great work ;)

    • @NerdMusician
      @NerdMusician  Год назад

      I'd be more than happy to do it, I just need someone to give me a Mother 32. :D

    • @londondirt1217
      @londondirt1217 Год назад

      @@NerdMusician haha I wish I could help you there mate 😅

  • @prahadeesh_mk
    @prahadeesh_mk Год назад +1

    use schmitter trigger ic for greater result in debouncing

    • @NerdMusician
      @NerdMusician  Год назад

      It's really not necessary, only with code debouncing you can can get zero bouncing.

  • @11219tt
    @11219tt 6 месяцев назад

    I noticed something in your example Serial testing display 31:43 The first time we click a new button, it doesn't register the "on" but it does register the first "off" signal. Then after the first time a button is pressed, both "on" and "off" register. My tests have the same behavior.
    EDIT: I tested with pin 13 led and initial button press doesn't turn on the LED. I set the debounceDelay = 0 and the error went away. I'll work on a solution and post here when done.

    • @11219tt
      @11219tt 6 месяцев назад

      OK the solution I came up with (with chatgpt help) is to add a bool so first press is always true and bypasses the debounce delay restriction. I did this by
      // First, I adding
      // Track if it's the first press
      bool *firstPress;
      //Next, under the void setup I added
      // Make firstPress recognize all buttons
      firstPress = new bool[N_BUTTONS];
      for (int i = 0; i < N_BUTTONS; i++) {
      firstPress[i] = true;
      }
      // Finally, at the end of the void loop I added
      // Set first press to false after the first press
      firstPress[i] = false;
      Thoughts??

    • @giovanne_gtr
      @giovanne_gtr 3 месяца назад

      Actually I think it's a bug not related to the deboucing parameter but to the fact that he initialize buttonState and buttonPState both with 0. The way he set things up, the first time you press the buttons, the condition buttonState != buttonPState will always be false, hence the code is skipped.

  • @ronaldcgi8891
    @ronaldcgi8891 Год назад +1

    É uma pena que nos vídeos você não precise traduzir para o espanhol, compre o curso e não tenha a opção.......
    It is a pity that in the videos you do not have to translate into Spanish, buy the course and you do not have the option

  • @OHomemQueSonha
    @OHomemQueSonha Год назад

    Great!

  • @Funkotronimus
    @Funkotronimus Год назад

    ❤🎉

  • @tenissonsilvatranzillo7430
    @tenissonsilvatranzillo7430 Год назад +1

    afinal é uma aula para brasileiros ou norte-americanos??????

    • @NerdMusician
      @NerdMusician  Год назад +3

      Pra qualquer um que consiga ler legenda! Só clicar em CC e escolher Português.