Audio input and drawing lines project. How to fix deprecation?

Hi, I found a nice source code about how to draw line starting from input source, but this code uses a couple of deprecated functions. I’ve found the updated ones, but I couldn’t find a way to implement them. Anyone interested in this basic challenge ? :slight_smile:
This basic project is about drawing lines through an audio input source.
Here source code of the project: audioInput and DrawLine.zip (3.1 KB)

Hi Marco,

have you had a look at the examples/sound/audioInputExample ? it uses ofsoundstream in a similar way and may do what you want right out of the box?