From ee3b2c60342246e92fa0de42343ff525c703be4f Mon Sep 17 00:00:00 2001 From: Kristin Galvin Date: Sun, 19 Jan 2020 18:31:42 -0800 Subject: [PATCH] audio test --- apps.json | 2 +- apps/stetho/stetho.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps.json b/apps.json index ebd276121..1dc8a4a7e 100644 --- a/apps.json +++ b/apps.json @@ -267,7 +267,7 @@ { "id": "stetho", "name": "Stethoscope", "icon": "stetho.png", - "version":"0.017", + "version":"0.018", "description": "Hear your heart rate", "tags": "health", "storage": [ diff --git a/apps/stetho/stetho.js b/apps/stetho/stetho.js index 376e98f1c..580b3eab3 100644 --- a/apps/stetho/stetho.js +++ b/apps/stetho/stetho.js @@ -25,8 +25,8 @@ function readHRM() { g.clearRect(0,100,239,239); g.moveTo(-100,0); } - freq(parseFloat(a*960*4)); - + freq(parseFloat(y+1.0)*1000); + g.setColor(1,1,1); g.lineTo(x,y); if ((max-min)>0.005) {