TunePlayer - compatibility matrix

This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.

TunePlayer

Version: 1.3.0
More details

Compatibility matrix

Board Claims compatibility Inclusion
simple
jukebox
midiSynth
midiSynthDualChannel
arduino:avr:uno
1.8.4
Yes PASS PASS PASS PASS PASS
arduino:mbed_nano:nanorp2040connect
2.7.2
Yes ⚠️ FAIL FAIL FAIL FAIL FAIL
arduino:megaavr:nona4809
1.8.7
Yes ⚠️ FAIL FAIL FAIL FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
Yes ⚠️ FAIL FAIL FAIL FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
Yes ⚠️ FAIL FAIL FAIL FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: PASS

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

examples/jukebox

Result: PASS

Sketch uses 7402 bytes (22%) of program storage space. Maximum is 32256 bytes.
Global variables use 326 bytes (15%) of dynamic memory, leaving 1722 bytes for local variables. Maximum is 2048 bytes.

examples/midiSynth

Result: PASS

Sketch uses 3786 bytes (11%) of program storage space. Maximum is 32256 bytes.
Global variables use 241 bytes (11%) of dynamic memory, leaving 1807 bytes for local variables. Maximum is 2048 bytes.

examples/midiSynthDualChannel

Result: PASS

Sketch uses 4078 bytes (12%) of program storage space. Maximum is 32256 bytes.
Global variables use 279 bytes (13%) of dynamic memory, leaving 1769 bytes for local variables. Maximum is 2048 bytes.

examples/simple

Result: PASS

Sketch uses 6678 bytes (20%) of program storage space. Maximum is 32256 bytes.
Global variables use 325 bytes (15%) of dynamic memory, leaving 1723 bytes for local variables. Maximum is 2048 bytes.

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /tmp/arduino-testlib4095365026/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: note: suggested alternative: 'DIR'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
             DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /tmp/arduino-testlib4095365026/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'I2C_1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             I2C_1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/jukebox

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: note: suggested alternative: 'DIR'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
             DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'I2C_1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             I2C_1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:33:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/IPAddress.h:24,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/ArduinoAPI.h:30,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:27,
                 from /tmp/arduino-sketch-90651A8E29C5DAE71545BA55E917117F/sketch/jukebox.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino: In function 'void changeTune(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/deprecated-avr-comp/avr/pgmspace.h:103:30: error: invalid conversion from 'short unsigned int' to 'uint16_t* {aka short unsigned int*}' [-fpermissive]
 #define pgm_read_word(addr) (*(const unsigned short *)(addr))
                             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:64:25: note: in expansion of macro 'pgm_read_word'
     flashLoader.setTune(pgm_read_word(&(tunes[newTune])));
                         ^~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:13:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TuneLoaders.h:36:14: note:   initializing argument 1 of 'void FlashTuneLoader::setTune(uint16_t*)'
         void setTune(uint16_t *tune) {
              ^~~~~~~

examples/midiSynth

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynth/midiSynth.ino:19:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: note: suggested alternative: 'DIR'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
             DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynth/midiSynth.ino:19:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'I2C_1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             I2C_1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/midiSynthDualChannel

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynthDualChannel/midiSynthDualChannel.ino:20:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: note: suggested alternative: 'DIR'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
             DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynthDualChannel/midiSynthDualChannel.ino:20:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'I2C_1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             I2C_1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/simple

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: note: suggested alternative: 'DIR'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
             DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'I2C_1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             I2C_1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:33:53: error: invalid conversion from 'const uint16_t* {aka const short unsigned int*}' to 'uint16_t* {aka short unsigned int*}' [-fpermissive]
     flashLoader.setTune(FucikEntryoftheGladiatorsPNO);
                                                     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:13:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TuneLoaders.h:36:14: note:   initializing argument 1 of 'void FlashTuneLoader::setTune(uint16_t*)'
         void setTune(uint16_t *tune) {
              ^~~~~~~

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /tmp/arduino-testlib4095365026/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCB1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCB1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /tmp/arduino-testlib4095365026/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'TCB1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCB1'
             TCCR1A = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCB1'
             TCCR1B = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/jukebox

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCB1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCB1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'TCB1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCB1'
             TCCR1A = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCB1'
             TCCR1B = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/midiSynth

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynth/midiSynth.ino:19:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCB1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCB1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynth/midiSynth.ino:19:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'TCB1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCB1'
             TCCR1A = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCB1'
             TCCR1B = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/midiSynthDualChannel

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynthDualChannel/midiSynthDualChannel.ino:20:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCB1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCB1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynthDualChannel/midiSynthDualChannel.ino:20:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'TCB1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCB1'
             TCCR1A = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCB1'
             TCCR1B = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/simple

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCB1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCB1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'B111'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          B111
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'TCB1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCB1'
             TCCR1A = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCB1'
             TCCR1B = 0;
             ^~~~~~
             TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /tmp/arduino-testlib3711891535/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCC1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCC1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'SS1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          SS1
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /tmp/arduino-testlib3711891535/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'SCK1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             SCK1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCC1'
             TCCR1A = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCC1'
             TCCR1B = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: note: suggested alternative: 'PORTC'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
             PORTC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/jukebox

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCC1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCC1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'SS1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          SS1
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'SCK1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             SCK1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCC1'
             TCCR1A = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCC1'
             TCCR1B = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: note: suggested alternative: 'PORTC'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
             PORTC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/String.h:33:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/IPAddress.h:24,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/ArduinoAPI.h:30,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:23,
                 from /tmp/arduino-sketch-90651A8E29C5DAE71545BA55E917117F/sketch/jukebox.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino: In function 'void changeTune(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/deprecated-avr-comp/avr/pgmspace.h:103:30: error: invalid conversion from 'short unsigned int' to 'uint16_t* {aka short unsigned int*}' [-fpermissive]
 #define pgm_read_word(addr) (*(const unsigned short *)(addr))
                             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:64:25: note: in expansion of macro 'pgm_read_word'
     flashLoader.setTune(pgm_read_word(&(tunes[newTune])));
                         ^~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:13:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TuneLoaders.h:36:14: note:   initializing argument 1 of 'void FlashTuneLoader::setTune(uint16_t*)'
         void setTune(uint16_t *tune) {
              ^~~~~~~

examples/midiSynth

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynth/midiSynth.ino:19:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCC1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCC1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'SS1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          SS1
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynth/midiSynth.ino:19:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'SCK1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             SCK1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCC1'
             TCCR1A = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCC1'
             TCCR1B = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: note: suggested alternative: 'PORTC'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
             PORTC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/midiSynthDualChannel

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynthDualChannel/midiSynthDualChannel.ino:20:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCC1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCC1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'SS1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          SS1
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynthDualChannel/midiSynthDualChannel.ino:20:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'SCK1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             SCK1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCC1'
             TCCR1A = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCC1'
             TCCR1B = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: note: suggested alternative: 'PORTC'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
             PORTC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1

examples/simple

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: note: suggested alternative: 'B1'
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^~~
                           B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: note: suggested alternative: 'TCC1'
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: note: suggested alternative: 'TCC1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: note: suggested alternative: 'SS1'
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^~~~
                                                          SS1
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: note: suggested alternative: 'SCK1'
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^~~~
             SCK1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: note: suggested alternative: 'TCC1'
             TCCR1A = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: note: suggested alternative: 'TCC1'
             TCCR1B = 0;
             ^~~~~~
             TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: note: suggested alternative: 'PORTC'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^~~~~
             PORTC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: note: suggested alternative: 'B1'
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^~~
                             B1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:33:53: error: invalid conversion from 'const uint16_t* {aka const short unsigned int*}' to 'uint16_t* {aka short unsigned int*}' [-fpermissive]
     flashLoader.setTune(FucikEntryoftheGladiatorsPNO);
                                                     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:13:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TuneLoaders.h:36:14: note:   initializing argument 1 of 'void FlashTuneLoader::setTune(uint16_t*)'
         void setTune(uint16_t *tune) {
              ^~~~~~~

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /tmp/arduino-testlib2344243305/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:52:48: error: 'tone' was not declared in this scope
                 tone(m_pin, freq, playTime/1000);
                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:55:33: error: 'tone' was not declared in this scope
                 tone(m_pin, freq);
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:61:25: error: 'noTone' was not declared in this scope
             noTone(m_pin);
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /tmp/arduino-testlib2344243305/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^

examples/jukebox

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:52:48: error: 'tone' was not declared in this scope
                 tone(m_pin, freq, playTime/1000);
                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:55:33: error: 'tone' was not declared in this scope
                 tone(m_pin, freq);
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:61:25: error: 'noTone' was not declared in this scope
             noTone(m_pin);
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/WString.h:29:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:146,
                 from /tmp/arduino-sketch-90651A8E29C5DAE71545BA55E917117F/sketch/jukebox.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino: In function 'void changeTune(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/pgmspace.h:41:35: error: invalid conversion from 'short unsigned int' to 'uint16_t* {aka short unsigned int*}' [-fpermissive]
   *(const unsigned short *)(_addr); \
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:64:25: note: in expansion of macro 'pgm_read_word'
     flashLoader.setTune(pgm_read_word(&(tunes[newTune])));
                         ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:13:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/jukebox/jukebox.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TuneLoaders.h:36:14: note:   initializing argument 1 of 'void FlashTuneLoader::setTune(uint16_t*)'
         void setTune(uint16_t *tune) {
              ^

examples/midiSynth

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynth/midiSynth.ino:19:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:52:48: error: 'tone' was not declared in this scope
                 tone(m_pin, freq, playTime/1000);
                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:55:33: error: 'tone' was not declared in this scope
                 tone(m_pin, freq);
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:61:25: error: 'noTone' was not declared in this scope
             noTone(m_pin);
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynth/midiSynth.ino:19:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^

examples/midiSynthDualChannel

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynthDualChannel/midiSynthDualChannel.ino:20:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:52:48: error: 'tone' was not declared in this scope
                 tone(m_pin, freq, playTime/1000);
                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:55:33: error: 'tone' was not declared in this scope
                 tone(m_pin, freq);
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:61:25: error: 'noTone' was not declared in this scope
             noTone(m_pin);
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/midiSynthDualChannel/midiSynthDualChannel.ino:20:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^

examples/simple

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:52:48: error: 'tone' was not declared in this scope
                 tone(m_pin, freq, playTime/1000);
                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:55:33: error: 'tone' was not declared in this scope
                 tone(m_pin, freq);
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void ToneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:61:25: error: 'noTone' was not declared in this scope
             noTone(m_pin);
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::begin()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:13: error: 'DDRB' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:98:27: error: 'PB1' was not declared in this scope
             DDRB |= (1 << PB1); // Set PB1 to be an output (Pin9 Arduino UNO)
                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::playNote(uint8_t, uint8_t, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:28: error: 'COM1A1' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:104:44: error: 'WGM11' was not declared in this scope
             TCCR1A = (1 << COM1A1) | (1 << WGM11);
                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:28: error: 'WGM12' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:43: error: 'WGM13' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:105:58: error: 'CS11' was not declared in this scope
             TCCR1B = (1 << WGM12) | (1 << WGM13) | (1 << CS11); // With prescalar 8 (with a clock frequency of 16MHz, can get all notes required)
                                                          ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:12:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:106:13: error: 'ICR1' was not declared in this scope
             ICR1 = m_counterTop(note, octave); // Maximum to count to
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:107:13: error: 'OCR1A' was not declared in this scope
             OCR1A = m_compareValue(ICR1); // Duty cycle
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h: In member function 'virtual void TimerOneSound::stopSound()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:113:13: error: 'TCCR1A' was not declared in this scope
             TCCR1A = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:114:13: error: 'TCCR1B' was not declared in this scope
             TCCR1B = 0;
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:13: error: 'PORTD' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/SoundGenerators.h:115:29: error: 'PB1' was not declared in this scope
             PORTD &= ~(1 << PB1); // Set pin low just in case it is left high (not sure if needed)
                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:33:53: error: invalid conversion from 'const uint16_t* {aka const short unsigned int*}' to 'uint16_t* {aka short unsigned int*}' [-fpermissive]
     flashLoader.setTune(FucikEntryoftheGladiatorsPNO);
                                                     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TunePlayer.h:13:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/examples/simple/simple.ino:7:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TunePlayer/src/TuneLoaders.h:36:14: note:   initializing argument 1 of 'void FlashTuneLoader::setTune(uint16_t*)'
         void setTune(uint16_t *tune) {
              ^