Compilation error: 'NOTE_C1' was not declared in this scope

your compiler is right.
Where is setup()?

furthermore, press CTRL-T to format your sketch. You will see the errors in your }