18 lines
570 B
Python
Executable File
18 lines
570 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from dataclasses import dataclass, field
|
|
import sys, re, os, enum, itertools
|
|
from functools import partial, partialmethod
|
|
from time import sleep
|
|
from subprocess import Popen, PIPE, DEVNULL
|
|
from operator import itemgetter
|
|
from defl import log, cl, Path, Undefined, Null, Assert, Time, Obj, Dunder, IterableType, isIterableType, Run, checkType
|
|
from defl import CLIError
|
|
from defl._typing_ import *
|
|
import defl
|
|
|
|
midi = defl.Midi().add('a-').add('C#').add('B').play()
|
|
print(midi.notes)
|
|
midi = defl.Midi().add('a-', 'C#', 'B').play()
|
|
print(midi.notes)
|