Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def adjustTest(pack = None, splay=True):
if pack == None:
pack = filezart.getInfo()
else:
pack = filezart.getPack(pack)
for i in pack:
clip = musictheory.getNote(i, musictheory.listNotes(i)[len(musictheory.listNotes(i))//2])
dest = -30
if splay:
play(clip)
print("audio:",clip.max_dBFS)
print("delta:",dest-clip.max_dBFS)