Jump to content
sschoellhammer

creating sound from animated curves

Recommended Posts

Hello,

I have an experiment where I want to create sounds from a set of deforming curves, like the strings of an instrument.

For that I'm driving the pitch control of an oscillator.

 

image.png.edf74032b173a2da11d3eceddf75b28b.png

It works just fine for one curve, and also with several if I set them up one by one.

However, in the end I'd like to have a lot of curves and I wanted to get them all in via one geometry node in my chop network.  

Using the point name attribute in the geometry node I have all my channels coming in correctly. i.e prim_0_pitch1, prim_0_pitch2, prim_n_pitch1 etc.

I couldn't figure out how to make use of the channel groups iteration method of the foreach node and ended up iterating over the whole set "over numbers" and deleting all channels I don't want.

Sadly I can't feedback like in a sop foreach to get all the channels back again..

I'm stuck and I'd be glad for some hints, or maybe there is a better approach? 

Thanks in advance!

seb

 

 soundstrings_test.hipnc

 

PS: Another strange thing - whenever I connect the foreach loop to the out null, the filesize increases to 30mb (from 400kb) and the only

way to fix that is deleting the foreach node - in any case, to hear the sound please connect it after opening!

  • Like 1

Share this post


Link to post
Share on other sites

That's interesting, do you know of anyway to render the audio output?

Share this post


Link to post
Share on other sites
2 hours ago, Atom said:

That's interesting, do you know of anyway to render the audio output?

 

Like image or ?

 

untitled.wav

01.jpg

Edited by srletak
  • Like 2

Share this post


Link to post
Share on other sites

Not an image, like a .WAV file.

I tried the menu shown, it worked.

Thanks, I didn't realize Houdini could do that.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×