Jump to content

CHOPs/VEX?: animated gradient texture using audio file input


Recommended Posts

How would one make an amimated texture using an audio file input via CHOPs and, I'm guessing, VEX?

 

I'm trying to make a 2D representation of acoustical waves radiating through space from a source.

 

My thought is to take an audio input file, slow it, bias it so the zero crossing is at approx 50% grey (for normal air pressure) and the gradient varies from 25% grey to 75% grey showing the comrpession/rarification of air pressure transmitting the sound.

 

I'm just not up to speed on VEX or shader writing to put the remaining pieces together.

 

(I always seem to pick these very ambitious tasks as a vehicle for learning Houdini!)

 

Thanks for your assisntance and guidance!

Best,

John

Link to comment
Share on other sites

just load the .wav file in chops and export it as a attribute, perhaps using a channel sop node. With that in sop u have all u need to animate using the music...

Link to comment
Share on other sites

Thanks for the resplone Gui!

I did already understand that much about CHOPs.

My question is more about VEX and shaders and how to make a radial texture like this from that CHOPs data.

The greyscale value at a given radius would proportionate to the audio level at a given time, with the appropriate biasing and scaling.

The texture would animate frame to frame, the pattern moving (radiating) outward, following the audio waveform.
AudioWave-to-Texture.png

Edited by John Pilgrim
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...