Fix noise-profile example
authorPhil Howard <phil@gadgetoid.com>
Wed, 16 Oct 2019 09:42:21 +0000 (10:42 +0100)
committerPhil Howard <phil@gadgetoid.com>
Wed, 16 Oct 2019 09:42:21 +0000 (10:42 +0100)
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