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

Sdílet
Vložit
  • čas přidán 20. 08. 2024

Komentáře • 21

  • @blueangel333333
    @blueangel333333 Před 11 měsíci +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  Před 11 měsíci +2

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

  • @londondirt1217
    @londondirt1217 Před 11 měsíci

    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  Před 11 měsíci

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

    • @londondirt1217
      @londondirt1217 Před 10 měsíci

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

  • @Lugubrisimo
    @Lugubrisimo Před 8 měsíci

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

  • @prahadeesh_mk
    @prahadeesh_mk Před 11 měsíci +1

    use schmitter trigger ic for greater result in debouncing

    • @NerdMusician
      @NerdMusician  Před 11 měsíci

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

  • @krzysztofczarnota623
    @krzysztofczarnota623 Před 6 měsíci

    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?

  • @OHomemQueSonha
    @OHomemQueSonha Před 10 měsíci

    Great!

  • @11219tt
    @11219tt Před 2 měsíci

    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 Před 2 měsíci

      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??

  • @ronaldcgi8891
    @ronaldcgi8891 Před 11 měsíci +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

  • @HugoDaSilva7
    @HugoDaSilva7 Před 9 měsíci

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

  • @Funkotronimus
    @Funkotronimus Před 10 měsíci

    ❤🎉

  • @tenissonsilvatranzillo7430
    @tenissonsilvatranzillo7430 Před 11 měsíci +1

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

    • @NerdMusician
      @NerdMusician  Před 11 měsíci +3

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