This function creates an object of the class "vec".
vec(x, type, metadata = list())
| x | List of (un-encoded) chord symbols, each of class  | 
|---|---|
| type | (Character scalar) Identifies the symbol  | 
| metadata | (List) A (possibly-empty) list of metadata information. | 
An object of class "vec".
"vec" objects are typed vectors of chord symbols.
Their underlying representation is a list,
where every list element is of a specified type (see type).