You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 line
570B

  1. #include <Audio.h>
  2. #include <Wire.h>
  3. #include <SPI.h>
  4. #include <SD.h>
  5. #include <SerialFlash.h>
  6. // GUItool: begin automatically generated code
  7. AudioSynthWaveform waveform1; //xy=110,75
  8. AudioOutputPT8211 pt8211_1; //xy=303,78
  9. AudioConnection patchCord1(waveform1, 0, pt8211_1, 0);
  10. AudioConnection patchCord2(waveform1, 0, pt8211_1, 1);
  11. // GUItool: end automatically generated code
  12. void setup() {
  13. AudioMemory(15);
  14. waveform1.begin(WAVEFORM_SINE);
  15. waveform1.frequency(440);
  16. waveform1.amplitude(0.99);
  17. }
  18. void loop() {
  19. }