dzlonline / the_synth

A simple to use 4 polyphonic wavetable synthesizer library for Arduino.
328 stars 68 forks source link

Thank you #15

Open nathanRamaNoodles opened 5 years ago

nathanRamaNoodles commented 5 years ago

I played around with your awesome library and created my own. Just thought I'd share it with you: https://github.com/nathanRamaNoodles/MusicWithoutDelay-LIbrary

13um45 commented 5 years ago

@nathanRamaNoodles Were you able to get it to work with a mega2560? Super interested in this!

nathanRamaNoodles commented 5 years ago

Yup, after a couple of months, I figured it out. It was quite the challenge because pin 11 on Mega was broken since 2011 after Arduino updated their IDE. So after trial and error, and a little help from PaulStoffregen, I figured out the solution. It was a simple analogWrite( ) along with the 16-bit pre-scaler. and it sounds beautiful. I even got carried away and increased polyphony to infinity(well there are limitations). If you want to use the synth engine you can simply extract the synth.h and synth.cpp files and create a library out of that. I simply used this synth "engine" in order to play music without delay.

I wish more people would find my library, but oh well.

13um45 commented 5 years ago

Amazing! I've been stuck on a musical cellular automaton project for a while. This completely unblocks that, thanks you!