Jump to content

creating a noise spectrum VOP


Recommended Posts

The variables inside the For loop are prefixed with an underscore (to differentiate from the values outside the loop), you need to use the underscores in your inline VOP.

$noise = $_amplitude * noise($_frequency * $_P);

Also, not fatal, but the inputs to the Inline VOP and the For loop seemed to have gone out of sync (the extra _next variable), so I rewired the Inline VOP

As an extra tip, I'd recommend using parameters instead of constants for the amplitude and frequency to make them easier to adjust outside the VOPSOP.

On the same note, I'd make a new parameter called something like "octaves" and connect it to the "end" input of the For loop.

eetu.

creating_noise_function_v04.hipnc

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...