Create NoiseDetector

This commit is contained in:
Bartłomiej Pluta
2019-06-30 22:43:15 +02:00
parent d0b3a8b3da
commit 13e977ceea
2 changed files with 60 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import random
import Synth
import time
from Error import RuntimeException
from NoiseDetector import waitForSound
types = {
int: 'integer',
@@ -160,6 +161,7 @@ def createEnvironment():
'transposeTo': transposeTo,
'sleep': sleep,
'random': rand,
'wait': waitForSound,
'exit': exit
}