My Weekend Project: Musical Note Detector Using An Arduino

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

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

  • @alvaro16m
    @alvaro16m 3 года назад +1

    I just saw the project on fritzing, I'm not even interested in music but I watched the full video because of the clear explanation. Nice Job

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

    Really happy I found this video and hope you make another one soon. You're probably familiar with the ability of some opera singers to shatter a wine glass by singing a particular note. I thought it would be fun to do something similar, but I would play a particular note on my clarinet and and a hammer would come down and smash the glass. After watching this video, I think I now have the tools to do this, so thanks!

  • @Mr.Engine993
    @Mr.Engine993 3 года назад +2

    This is a very interesting concept! If I were you, I would add an RGB LED that changes color according to the notes that you play!

  • @colinly3433
    @colinly3433 2 года назад

    Dr Clyde, your content is awesome, I hope you keep making more videos. Subscribed.

  • @sharrum
    @sharrum 3 года назад +1

    Great video Dr. L! Thank you

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

    I think it would be very helpful to make the program take a sound sample during the countdown to determine the ambient noise level, set a volume threshold based on this, and then when cued have it iterate repeatedly through the available sampling memory for even half of a second, sensing for when a sample’s amplitude exceeds the threshold.

  • @unrealminigolf4015
    @unrealminigolf4015 8 месяцев назад

    Awesome work man.

  • @ChronoGXay
    @ChronoGXay 8 месяцев назад

    In order to make the program display how close the played note was to the closest match in the storedNoteFreq array, I added the following in the section you titled "Find the closest note":
    noteLocation = i;
    cents = 1200 * log(storedNoteFreq[i]/signalFrequencyGuess)/log(2);
    if (cents < 0) {
    flatSharp = "flat";
    cents = -cents;
    } else if (cents > 0) {
    flatSharp = "sharp";
    } else if (cents = 0) {
    flatSharp = "";
    }
    I then had this display in the printed output as...
    Serial.println(octaveRange);
    if (cents == 0) {
    Serial.println("You nailed it!")
    } else if (cents 0) {
    Serial.print("You were ");
    Serial.print(cents);
    Serial.print(" cents ");
    Serial.print(flatSharp);
    Serial.println(".");
    }
    What do you think?
    (NOTE: Don't forget to add "int cents = 0;" and String flatSharp = "";" to the variables at the very beginning.)

  • @microfix6035
    @microfix6035 4 года назад +1

    Great to see you brother

  • @eranfeit
    @eranfeit 4 года назад +1

    nice project

  • @justincook3859
    @justincook3859 4 года назад +2

    Hey Dr.! I have a project at my job i really need help with. Is there a way we can get on a call to help me better understand how to execute it. I would really appreciate it!

    • @CALettsomePhDPE
      @CALettsomePhDPE  4 года назад +1

      Hi Justin,
      Thank you for asking. I charge for that type of help. Would your job willing to hire me as a consultant?

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

    sir i want to ask something
    i tried your project for my science experiment and i faced some problems because i change arduino UNO to ESP32
    which part of your code should i change into make it works?

  • @mtrltoolman
    @mtrltoolman 3 года назад +1

    Hi Doctor Clyde,
    I measured the current of a mobile charger with a multimeter and i put a 1 ohm 3 watt resistor in series with the probes and the output of the charger and the output voltage and current is exactly the same as what written on charger.
    I tried with other chargers and the results are exactly like what it should be.
    Did i measure the current wrong?

    • @CALettsomePhDPE
      @CALettsomePhDPE  3 года назад +1

      Hi Toolman,
      It sounds like you did but do note the crrent showing on your multi meter will also be dependent on the resistor (load) you put in series also.
      Good Luck!
      Like, Share, and Subscribe.

    • @mtrltoolman
      @mtrltoolman 3 года назад

      Thanks for answering my questions.
      I use 1 ohm resistor to avoid exceeding the maximum current the chargers can give.
      Are there any other way to test the chargers output current with multimeters ?

  • @sarenazhang7211
    @sarenazhang7211 4 года назад +1

    Hi, would you be able to explain your code more in depth? I'm working on a school project that is very similar to what you've done here, and I'd love to get a better understanding of your code!

    • @CALettsomePhDPE
      @CALettsomePhDPE  4 года назад +1

      Hi Sarena. Thanks for asking. On my website I give a bit more information. I am adding more information as questions are asked. Please go to clydelettsome.com/blog/2020/06/07/my-weekend-project-musical-note-detector-using-an-arduino/ to see the additional information posted thus far.

    • @albertcalderon72
      @albertcalderon72 2 года назад

      Hi Sarena I was wondering if you had the code and could share it

  • @ItziarCarpi
    @ItziarCarpi 4 года назад

    Hello. Thanks for the project. I dont know why doesnt works... Would be possible to use MAX 4466 instead of DEVMO? Thanks

    • @CALettsomePhDPE
      @CALettsomePhDPE  4 года назад

      I am not familiar with the Max 4466. I know it worked with the parts I used. Try the DEVMO. See my website for where you can purchase the DEVMO. clydelettsome.com/blog/2020/06/07/my-weekend-project-musical-note-detector-using-an-arduino/
      Please like, share, and subscribe.

  • @muppetpaster
    @muppetpaster 3 года назад

    I'd change the text "calabration" into "Calibration" in the sketch....The way it is correctly spelled....Seems a bit sloppy this way...

  • @albertcalderon72
    @albertcalderon72 2 года назад

    does anyone know how to download the Arduino off his website ?

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

    Dr. Clyde, I want to know where to get the free code. I try looking for it but didn't find it

  • @yourajbadgujar7837
    @yourajbadgujar7837 3 года назад

    this is useful for approx 1khz frequency detection from mp3 songs?

    • @CALettsomePhDPE
      @CALettsomePhDPE  3 года назад

      Hi Youraj,
      Thank you for asking. It should be. You may have to amplify the sound coming from your mp3 player. When I tested it, I needed to add PC speakers containing an amplify to boost the volume.
      Try it. Good luck!
      Please like, share and subscribe.

    • @yourajbadgujar7837
      @yourajbadgujar7837 3 года назад

      @@CALettsomePhDPE thanks

  • @errrick
    @errrick 4 года назад

    dude what's with the "Add to cart" $0.00 whole thing to download the code ? couldn't you just put it on github ?????

    • @CALettsomePhDPE
      @CALettsomePhDPE  4 года назад

      It is on Github also

    • @errrick
      @errrick 4 года назад

      Clyde Lettsome, PhD, PE there is no link anywhere