Dmaxer
09-30-2005, 10:06 PM
Im writing a script to emulate an audio Vu meter. the thing is I need to read a wave file
I know how to add an audio float controller to control the height or what ever of a box.
but I don’t know how to just read the value from a audio float controller without it being assigned to an object
I need to compare the value in the audio float controller to a value in an array like this
if audio >= lowgain[q] then ( run code )
where audio is the value I need to represent the value from a audio float controller
I was thinking maybe I could add a audio float controller to control the height of a box then hide the box
And read the height and make the value audio = the height of the box but this seems a bit messy and I’m not sure
How I would get the height of the box anyway
I hope someone can help
Thanks for reading
I know how to add an audio float controller to control the height or what ever of a box.
but I don’t know how to just read the value from a audio float controller without it being assigned to an object
I need to compare the value in the audio float controller to a value in an array like this
if audio >= lowgain[q] then ( run code )
where audio is the value I need to represent the value from a audio float controller
I was thinking maybe I could add a audio float controller to control the height of a box then hide the box
And read the height and make the value audio = the height of the box but this seems a bit messy and I’m not sure
How I would get the height of the box anyway
I hope someone can help
Thanks for reading
