Back

Comments 14

  • Play Polyphonic Tones! 9 months ago

    You can and sometimes you can't; I had to change the format of RTTL because it wouldn't allow for customizability. For instance, I couldn't shift the entire song down/up an octave.

    Other than that, you can copy and paste and RTTL, but you just have to watch out for times when the octave changes, for instance, 4b6 is quarter note played at the 6th octave. So you need to make the following changes...At the beginning of the song if ":o=5:" then the quarter note needs to convert to 4b1, if o=3, then it will be 4b-2.

    Also, the period might be at the wrong place, it was originally after the letter, but in my version, it's before it. I like to organize by the following

    1. duration (optional)

    2.period (optional)

    3.letter (required)

    4.sharp/flat (optional)

    5.octave (optional)

    6."," or "+" (required)

  • Play Polyphonic Tones! 9 months ago

    Unfortunately, it was difficult to understand Mozzi, so I just made my own synth with Dzlon's help. https://github.com/dzlonline/the_synth

    The amplifier is not included, so you have to connect the audio signal to a speaker that has a built-in op-amp; a basic stand-alone speaker or computer speakers will work just fine.

    c1 can be electrolytic, but c2 is ceramic. It's basically a low-pass filter.

    The best part about this upgrade is that you don't have to use multiple pins for polyphony, so all the different voices come from one pin. :)

  • Play Polyphonic Tones! 9 months ago

    Yes, I have updated the library a month ago.

    https://github.com/nathanRamaNoodles/MusicWithoutDelay-LIbrary

  • PWM Sound Synthesis 10 months ago

    Your libraries look better than mine, but I might as well share mine: https://github.com/nathanRamaNoodles/MusicWithoutDelay-LIbrary

  • Generating Audio with an Arduino and a Resistor Ladder DAC 10 months ago

    Nice project. In fact, I'd say it's a little similar to something I've made. I used wavetable synthesis to play multiple Notes on one GPIO pin. You can try it here: https://github.com/nathanRamaNoodles/MusicWithoutDelay-LIbrary

  • SmartPostBox 11 months ago
  • SmartPostBox 11 months ago

    How long will this last in the mail box? Are you using any thing to reduce battery power when the device is not in use?

  • Play Polyphonic Tones! 12 months ago

    Are other libraries working? Also, you don't have to use buttons, instead you can replace them with serial commands. So, if you type something in serial monitor, you can play the song. I've never heard a library that can't be included properly. The library should be included automatically to your libraries folder.

  • Play Polyphonic Tones! about 1 year ago

    Sounds like your not using a board with the atMega328 chip. Unfortunately, every board has a different timer setup and ISR code. I'm getting a way around this, but in the meantime use the Arduino uno, nano, mega, or similar.

  • Pathfinder about 1 year ago

    How is this different from a regular obstacle avoidance robot? They are doing the same thing. I don't see any AI algorithm in the code either.

  • Play Polyphonic Tones! about 1 year ago

    Hi Alice, yes I believe it should work with the light sensor. I assume you want the song to play whenever light is nearby, and then pause otherwise. Right? In that case, check the examples folder for my library, and choose "piano". It is similar to what you want.

    I don't think you can switch it with the button, because the button simply toggles between pause /play.

    So you will need to use the isPaused() boolean function to determine if the song is already paused.

    So use the following:
    if(lightSensor>threshold && isPaused()) {digitalWrite(led, HIGH); buzzer.pause();}//resume
    else if(lightSensor<=threshold && !isPaused()){digitalWrite(led, LOW);buzzer.pause();} //pause

    Show me a video of it working 😉

  • Play Polyphonic Tones! about 1 year ago

    Yup, it works with all atMega328 board. Basically, the compatibility depends on the tone library. My library is simply the "brains" and the tone library is the "mouth"

  • Play Polyphonic Tones! about 1 year ago

    I'm going to make an update to the library very soon. Currently, the library allows only 2 voices to play at the same time. I have decided to use the popular Mozzi library, thus allowing infinite voices. You'll also be able to change the pitch of the instrument too!

  • Wirelessly Programmable Multitasking "Final Countdown" Timer about 2 years ago

    hello

Add projectSign up / Login