Add new functions: 'concat', 'range' and 'Map' constructor
This commit is contained in:
@@ -47,6 +47,7 @@ class Type(Enum):
|
||||
@staticmethod
|
||||
def note(value):
|
||||
return Value(Type.NOTE, value, {
|
||||
"pitch": Type.string(str(value.note)),
|
||||
"octave": Type.integer(value.octave),
|
||||
"duration": Type.integer(value.duration),
|
||||
"dot": Type.string('.' if value.dot else '')
|
||||
|
||||
Reference in New Issue
Block a user