Audionodes icon indicating copy to clipboard operation
Audionodes copied to clipboard

Visualizing and Outputting wave value for animation

Open enzyme69 opened this issue 6 years ago • 6 comments

Hi, I managed to install Audio Nodes version 1.0, so far spending hours of joy making noise, one thing I wonder is there a possibility to see or visualize the value of the wave, perhaps so that I can use it for animation?

Wondering if @zeffii can help with this?

Cheers!

enzyme69 avatar Jul 23 '18 09:07 enzyme69

sadly no.

zeffii avatar Jul 23 '18 14:07 zeffii

screen shot 2018-07-24 at 11 51 12 am

So far I am using SV nodes that remote control the Audio Nodes "frequency" value. Maybe I am doing the right thing.

Would nice is Audio Nodes simply provide Input and Output node which can be sourced in realtime? @nomelif @ollpu

enzyme69 avatar Jul 24 '18 01:07 enzyme69

We've been thinking about displaying an oscilloscope-ish visualizer behind the nodes like with compositing nodes. That has proven to be quite infeasible with just Blender's Python API, so it would have to happen in a separate window/process. An external audio-oscilloscope program can be used for now.

The Sverchock integration is one thing, but you should also be able to control our nodes by simply applying an animation on the properties, have you tried that? (haven't tried that myself lately, hopefully it works) A math node set to Add, for example, works fine as an input node this way.

As for output, I have thought of a "multimeter" node. It would pull in the value of its input into a property at a reasonable frequency, which could then be read by the user or fetched into Sverchock or any other script. Could that be useful?

ollpu avatar Jul 24 '18 12:07 ollpu

@enzyme69 one way here https://github.com/nomelif/Audionodes/issues/14 backward to oscilograph will be good to have... yes, i asked for several streams in output and also osci-multimeter will be great. if there will be veriable, we will handle this. but cache this wave is other aim maybe. There will be great to have all three - streams, multimeter and cache. cache in temp file or to memory. working with memory in python for me is dark metter, maybe there is simple approach librery...

nortikin avatar Jul 27 '18 19:07 nortikin

@nortikin Could you elaborate on what you mean by cache? Recording audio into a file or memory, or something else?

ollpu avatar Aug 01 '18 09:08 ollpu

Hello :) I just found you work and it looks awesome! I'm trying to create a realtime MIDI / Audio artistic visualizer in Blender as well, using a script (PyAudio + PyGame for MIDI), capable of handling 4 audio channels. The problem is: scripts are blocking for Blender. I've tried using a modalOperator template but my script is refreshed only when I move the mouse so I was considering the nodes, and I have a few questions about it if that does not bother you: -Why c++ rather than python? I know c++ as well but I find Python much quicker. -Are the nodes updated constantly? -How did you learn programming nodes and what would be the best way for me to get into?

Have a nice day :)

ZodiacFRA avatar Dec 10 '18 10:12 ZodiacFRA