Hi - forgive me if this has already been addressed/isnt the right spot to post...I haven't looked through the entire thread.
I can't compile my arduino sketches that are generated by audio system design tool. here is an example of a sketch after I'd added the void setup() and void loop() functions
________________________
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
// GUItool: begin automatically generated code
AudioInputAnalog adc1; //xy=474.36365127563477,232.54545211791992
AudioOutputAnalog dac1; //xy=686,252.63637161254883
AudioConnection patchCord1(adc1, dac1);
// GUItool: end automatically generated code
void setup(){
}
void loop(){
}
________________________
I've downloaded the audio library (version 1.0 stable) and have it in
/Applications/Arduino.app/Contents/Resources/Java/libraries
I am getting this message
In file included from sketch_oct05a.ino:1:0:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Audio/Audio.h:31:2: error: #error "Teensyduino version 1.20 or later is required to compile the Audio library."
/Applications/Arduino.app/Contents/Resources/Java/libraries/Audio/Audio.h:37:24: fatal error: DMAChannel.h: No such file or directory
compilation terminated.
I realized I had the earlier version of teensyduino, and so I installed teensyduino 2.0 from
https://www.pjrc.com/teensy/td_download.html
(which was slightly confusing where is was located on the page- maybe label the link explicitly 'teensyduino2.0' instead of 'A release candidate for next version ')
however after install, this didnt take the message away from the compilation error of the arduino sketch. i still get
/Applications/Arduino.app/Contents/Resources/Java/libraries/Audio/Audio.h:31:2: error: #error "Teensyduino version 1.20 or later is required to compile the Audio library."
i cant seem to finder 'teensyduino' on my computer - is it a package or it simply downloads a bunch of .h and .ino files to your arduino libraries folder?
And I can't find DMAchannel.h anywhere on my computer - (its #included in audio.h which is #included in my sketch). actually - there are a few libraries that im not able to track down to their source. audiostream.h for example - it is included in audio.h but i don't see it anywhere in the libraries folder.
any ideas?
I'm really excited to get started using this library once I get it all figured out! just got three more teenys in the mail to start trying things out
thanks
Zach