Simple audio reaction from a file

bonesmagazine's picture

Hi,

I'm a noob, as you'll see when i ask my question.

I'm trying to control the width of an image(billboard) using an audio file, as opposed to the audio input that I normally use. I'm sure I'm missing something that is really simple. please help.

thanks

ultra noob.

cwright's picture
Re: Simple audio reaction from a file

With built-in patches, this can't be accomplished easily. With AudioTools, there's a patch for that. (Kineme Audio File Input or something similar).

bonesmagazine's picture
Re: Simple audio reaction from a file

I've tried using the the Kineme Audio File Input but cant patch it straight into a billboard's width input. Can you explain how I would do that?

thanks

cwright's picture
Re: Simple audio reaction from a file

the output is a structure. use the mouse to hover over output ports to see what kind of data they are. Check out Structure Index Member and Structure Key Member to use structures.

bonesmagazine's picture
Re: Simple audio reaction from a file

thanks for your speedy response, i've attached the Volume Peaks output to a structure key member but there seems to be no data that comes out - orange patch cord - can you please explain how i would convert the incoming signal into a way to patch into a math module. I'm sorry for my incredible N00Bness, many thanks in advance.

cwright's picture
Re: Simple audio reaction from a file

what did you set the key to?

Audio File Input -> Structure Key Member -> Billboard (width) works for me, when key is set to "channel00" or "channel01", and when the billboard has an image (otherwise it won't render anything), and when the composition is running (viewer is open and running).

bonesmagazine's picture
Re: Simple audio reaction from a file

I still cant seem to get it to work, its definitely an oversight on my part. I've attached my file. can you please tell me where I'm going wrong. many thanks again for your time.

PreviewAttachmentSize
NOOB_audiofile_reactive.qtz3.87 MB

cwright's picture
Re: Simple audio reaction from a file

By "channel00" or "channel01", I meant, quite literally, "channel00", or "channel01".

You're using "01" as key, which is definitely not in the set of "channel00" and "channel01".

In the future, please make liberal use of mouse-over tooltips to see key/value names.

bonesmagazine's picture
Re: Simple audio reaction from a file

Many thanks mister!

gtoledo3's picture
Re: Simple audio reaction from a file

I tend to use index and just the #. Not that one is more correct than the other...