Getting Melody to Work...Name that Tune :)

I did a manual install of the Sparki software, so this action may not pertain to those of you that used the standard Sparki Installer.

In my case I had to download and save the ”pitches.h” file from: github.com/arduino/Arduino/blob … /pitches.h to the library folder that has all the other Sparki “.h” files to get the Melody sketch to work.

Pitches.h defines values for the Arduino speaker to synthesize sounds equal to a range of music notes (7 octaves, I think).

Now you should be able to run “Melody.ino” with Sparki, and make changes to its base code to create other simple tunes.

Yup, installer already takes care of this.

Yes, it took me quite a while to find pitches.h as it’s not easy to get if one does not install Sparkduino.

Personally, I think it’s quite unfair to expect everyone to use Sparkiduino instead of the standard Arduino IDE. Many of us deal with more than one project. I’ll be running Clyde soon too (another Kickstarter that should ship soon)

We could all list many arduino-based projects, even among the non developers. While Sparkduino is fine for a certain type of users, support should also be offered to those users who won’t/can’t use it.

@cleoQc: There is a certain amount of support for non-Sparkduino users. I’ve gone the Arduino IDE route for the very reasons you say. There’s instructions in the forums from Joseph.