From dcc536d860a129324afcffb70ecaa34a24a31535 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 23 Jan 2023 18:19:18 +0000 Subject: audio with laser --- audioin/src/ofApp.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'audioin/src/ofApp.cpp') diff --git a/audioin/src/ofApp.cpp b/audioin/src/ofApp.cpp index 8d5fe8c..1f037d5 100644 --- a/audioin/src/ofApp.cpp +++ b/audioin/src/ofApp.cpp @@ -21,6 +21,8 @@ void ofApp::setup(){ hScale=8.0f; lineWidth=2.0f; + + laser.set_pts(45000); } void ofApp::update(){ @@ -42,8 +44,7 @@ void ofApp::draw(){ ofScale(1.0f,ofGetHeight()*vScale); - ofPolyline line; - + colourPolyline line; line.addVertex(0,buffer[0]); -- cgit v1.2.3