I'm trying to incorporate audio into my Arduino project for the first time, and have been have a lot of issues. I originally couldn't get the Audio library to work, but after installing it through the Arduino application, I figured the Audio.h library would work fine. However, it spit out this error:
WARNING: library Audio claims to run on (sam) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s). In file included from /Documents/Arduino/libraries/Audio/src/Audio.h:16:0, from /Documents/Arduino/boxgame/boxgame.ino:1:
Then it lists plenty of syntax issues, none of which have to do with my code. I think it's giving errors from the library, but I'm not really sure what's happening. Here's an example of one of the slew of errors:
/Users/tschadius/Documents/Arduino/libraries/Audio/src/DAC.h:37:2: error: 'IRQn_Type' does not name a type IRQn_Type isrId;
Any ideas as to how I can fix this? The error message goes on for quite a while, but none of them appear to be from my code that I've written.