I'm getting the following error stating there's no matching function call:
no matching function for call to 'Chord::Chord(const char [5], Note* [3], int, int)'
I'm fairly new to C++ so I could be making an elementary mistake. But what I am trying to do is put notes on the heap, pass them to a constructor and have those notes copied to a private property within the Chord class.
I can't seem to pinpoint why this is happening.
Inside main ...
Note *notes[] = {
    new Note(0, "C", "B#"),
    new Note(5, "E", "Fb"),
    new Note(8, "G", "G")
};
Chord chord = new Chord("CMaj", notes, 127, 1);
Chord.h
/*
 * Chord.h - Library for generating and playing chords
 * Created by James Jeffery <jameslovescode@gmail.com>, March 11, 2017.
 */
#ifndef Chord_h
#define Chord_h
#include "Arduino.h"
#include "Note.h"
class Chord
{
  public:
    Chord(String chord_name, Note notes[], int octave, int velocity);
    String getChordName();
    void play();
    void stop();
  private:
    Note notes[];
    String chord_name;
    int octave;
    int velocity;
};
#endif
 
    