Fix noise-profile example
[EVA-2020-02-2.git] / examples / noise-profile.py
index 964deadb06e969833e23ef7a5924ade1aa7edbe2..1afdff5b6ea0ad57be178ae104521196ae2a20de 100755 (executable)
@@ -26,7 +26,7 @@ draw = ImageDraw.Draw(img)
 
 
 while True:
-    low, mid, high, amp = noise.measure()
+    low, mid, high, amp = noise.get_noise_profile()
     low *= 128
     mid *= 128
     high *= 128