diff options
| author | Tim Redfern <tim@getdrop.com> | 2023-01-23 18:19:18 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2023-01-23 18:19:18 +0000 |
| commit | dcc536d860a129324afcffb70ecaa34a24a31535 (patch) | |
| tree | c6a132f0d979ea86a027c16275ab5edefd96d8f4 /audioin | |
| parent | e9e9d076406bcea1a0a7461a9db4d43b8f280d49 (diff) | |
audio with laser
Diffstat (limited to 'audioin')
| -rw-r--r-- | audioin/src/ofApp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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]); |
