I want to transplant the sound part of Shadertoy

Hello everyone.
I’d like to port this shadertoy code to openframeworks, but what about the part of iChannel0?


ofTexture channel0
shader.setUniformTexture(“iChannel0”, channel0, 1);

How can I pass sound information in ofTexture?
I want to know how to convert the information of loaded mp3.

Take a look this